Flip an Array Over 45 degree Axis

15 Ansichten (letzte 30 Tage)
Dan Kenney
Dan Kenney am 11 Jul. 2014
Beantwortet: Image Analyst am 12 Jul. 2014
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.

Antworten (1)

Image Analyst
Image Analyst am 12 Jul. 2014
How about instead of
plot(x,y);
do
plot(y, x);

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by