Question regarding figures with subplot

5 次查看(过去 30 天)
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...

回答(1 个)

Image Analyst
Image Analyst 2012-4-15
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 个评论
Frank Lau
Frank Lau 2012-4-16
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 2012-4-16
Try switching renderers to something other than OpenGL

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by