Stairs not appearing on the plot
2 views (last 30 days)
Show older comments
I am trying to plot a simple stairs function, but when the figure appears, there is just white space meaning no plot (I do not see any lines of the stairs function) (title and anything else is ok)
I tried this for example with the easy command
stairs(1:10)
without success. If I use something like
bar(1:10)
I get the expected picture. The weird thing now is, that if I use the brushtool and go over my white space of the figure, the expected lines are appearing. Moreover if I save the plot in a .jpg file I also see the lines. So it simply seems to be a problem of a setting or something like that, which leads to a white plot. But I don't get how to solve this (perhaps) trivial problem. Thanks in advance for any help.
0 Comments
Accepted Answer
Image Analyst
on 20 Mar 2015
Sounds like some kind of memory or video adapter problem. Sometimes I have the same problem in Windows - nothing related to MATLAB. For me, rebooting solves the problem. Are you using Windows? If so, type control-shift-Escape and look at the Performance tab.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!