How to plot the five ellipses in the same figure?
古いコメントを表示
Here is my code, where when xi_a takes a new value from xi for each iteration, the semi-axes of my ellipse changes.
Now my question is how to plot all the 5 ellipses in the same figure, as it will be easy for me to find by how much they differ from each other.
The two important lines in the coding is made bold ie., xi_a and figure(4)plot
採用された回答
その他の回答 (1 件)
Image Analyst
2014 年 6 月 19 日
0 投票
Just don't call figure() all those times. In fact, don't call it at all. It will automatically create a figure with one axes, and all plots after you call "hold on" will be added onto the same axes control.
5 件のコメント
Image Analyst
2014 年 6 月 19 日
After figure #4 is generated, you only call plot() once. So why do you expect there to be 5 ellipses on figure #4? Change the ellipse parameters and call plot() 4 more times.
Image Analyst
2014 年 6 月 20 日
Like xRadius, yCenter, etc.
Priya
2014 年 6 月 22 日
カテゴリ
ヘルプ センター および File Exchange で Graphics Performance についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!