flipping the plot, keeping axis same

19 Ansichten (letzte 30 Tage)
Mayank Lakhani
Mayank Lakhani am 5 Aug. 2015
Kommentiert: Mayank Lakhani am 5 Aug. 2015
hi there, I want to flip my plot, however x axes shoud be the same. That means high fluctuations in frequency spectrum should be at 70GHz.

Akzeptierte Antwort

Christiaan
Christiaan am 5 Aug. 2015
Dear Lakhani,
What you could do (as an example) try is the following:
x=1:10;
y = x.^2;
plot(x,y);hold on;
plot(flip(x),y);hold off
Kind regards, Christiaan

Weitere Antworten (0)

Kategorien

Mehr zu Specifying Target for Graphics Output 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