In Matlab 2011a I am plotting a line, and I use the parameter ("LineSmoothing", 1) to make the line look prettier, but it causes the Y and X axis to disappear.

Does someone know what is causing this, and more importantly, how it can be fixed?
I tried the opengl('OpenGLLineSmoothingBug',1) but it didn’t change anything.
Thanks in advance!
The undocumented
LineSmoothingproperty causes the figure to automatically switch to using the OpenGL renderer. And the bug you’ve shown in fact affects all OpenGL-rendererd figures (regardless of this property use).Example: (tested on R2012a in WinXP)
note how the top and right borders of the box disappear once you execute the second line.
There are some suggested workarounds.