Question regarding figures with subplot

조회 수: 5 (최근 30일)
Frank Lau
Frank Lau 2012년 4월 15일
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