flipping the plot, keeping axis same

3 vues (au cours des 30 derniers jours)
Mayank Lakhani
Mayank Lakhani le 5 Août 2015
Commenté : Mayank Lakhani le 5 Août 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.

Réponse acceptée

Christiaan
Christiaan le 5 Août 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
  1 commentaire
Mayank Lakhani
Mayank Lakhani le 5 Août 2015
Wow. Perfect :D

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by