Flip an Array Over 45 degree Axis

9 ビュー (過去 30 日間)
Dan Kenney
Dan Kenney 2014 年 7 月 11 日
回答済み: Image Analyst 2014 年 7 月 12 日
I need to flip this plot(only the blue line) over a 45 degree axis so that the part of the parabola touching the x axis will be then plotted on the y axis, and the parabola edge touching the y axis will be on the x axis. I have no idea what is going wrong I have been trying everything from rotating to flipping to plotting y vs x instead. Any suggestions would be greatly appreciated.
  1 件のコメント
José-Luis
José-Luis 2014 年 7 月 12 日
Which plot?

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

回答 (1 件)

Image Analyst
Image Analyst 2014 年 7 月 12 日
How about instead of
plot(x,y);
do
plot(y, x);

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by