Answered. One of the plots in the forth figure was using a two dimensional array rather than just one dimension of the array data.
Unknown plot data showing up in figure
4 ビュー (過去 30 日間)
古いコメントを表示
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 件)
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!