Plotting ellipses around plotted points

4 ビュー (過去 30 日間)
Jo
Jo 2011 年 1 月 20 日
I am trying to plot ellipses (defined by 4 points: 2 in the x direction & 2 in the y direction) around several plotted points. How do I plot these ellipses?
For example:
Point = (-103.618, 19.502);
Ellipse = x=(-103.618+0.0273) and (-103.618-0.0273);
y=(19.502+0.0127) and (19.502-0.0127).
The plot consists of several points all of which I would like to plot ellipses around but they are all in the same format.
  1 件のコメント
Anish
Anish 2011 年 1 月 20 日
Should each ellipse pass through the 4 points (2 in X direction and 2 in Y direction)?

サインインしてコメントする。

採用された回答

Ashish Uthama
Ashish Uthama 2011 年 1 月 20 日
You could try using the rectangle function. Take care to offset the 'Position' by the width and height to ensure that the center coincides with your center point. Set the 'Curvature' property to [1 1] as mentioned in the document to obtain an ellipse.
  1 件のコメント
Jo
Jo 2011 年 1 月 20 日
Great! Thank you Anish

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by