flipping the plot, keeping axis same

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.

 Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by