flipping the plot, keeping axis same

21 views (last 30 days)
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.

Accepted Answer

Christiaan
Christiaan on 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

More Answers (0)

Categories

Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!