Question regarding figures with subplot

4 views (last 30 days)
Frank Lau
Frank Lau on 15 Apr 2012
I have a question about the figure with subplot.
I plot the figure with subplots and every subplot has red line at y = 0.
However, I discover that when there are a lot of graph in the figure with subplots, the red line disappear appear if it appeared at the bottom at y = 0 will disappear. In fact, red line is included on the plot.
When I delete graph as many as possible, I can see the red line at the bottom or at the top. Why is it the case? And is it the bug of MATLAB?
But when I copy and paste the figure in the word document, I can see the red line.
See the link for http://i.imgur.com/WlWqB.png. The left one is the original figure while the right one is the figure in which I delete graph as much as possible.
Thanks for your kind attention...

Answers (1)

Image Analyst
Image Analyst on 15 Apr 2012
When data is plotted along the axes, I've seen things appear and disappear depending on the size of the plots. Try resizing the figure window and see if the lines appear or disappear depending on what size your figure window is. Another thing to try would be to make the red line thicker using the 'LineWidth' option:
plot(x,y, 'LineWidth', 5);
See if that makes any difference.
  2 Comments
Frank Lau
Frank Lau on 16 Apr 2012
I tried this before, but I want to know that whether the red line can be shown normally without adjusting the Line Width, and if so, how can I do that by using commands?
Walter Roberson
Walter Roberson on 16 Apr 2012
Try switching renderers to something other than OpenGL

Sign in to comment.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!