Unknown plot data showing up in figure

조회 수: 4 (최근 30일)
James
James 2013년 3월 5일
Hi all,
I am using the figure command to plot 5 figures. Each figure has 2 or 3 plots using loglog, semilogx, etc.
The first two figures only have two plots whereas the third and fourth figures have three plots on them.
The problem is that the third figure is showing an extra plot that I didn't specifiy which also overwrites one of the three legends specified for this plot. If I remove the third figure the problem is transferred to the fourth figure (now third).
Any ideas would be much appreciated?
kind regards James
  댓글 수: 1
James
James 2013년 3월 5일
Answered. One of the plots in the forth figure was using a two dimensional array rather than just one dimension of the array data.

댓글을 달려면 로그인하십시오.

채택된 답변

James
James 2013년 3월 5일
Apologies. Answered. One of the plots in the forth figure was using a two dimensional array rather than just one dimension of the array data.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2013년 3월 5일
My speculation is that you need to parent your plotting activity. See my comments in http://www.mathworks.co.uk/matlabcentral/answers/22208-show-figure

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by