Effacer les filtres
Effacer les filtres

How to get the -ve x axis on the right side of the +ve axis?

3 vues (au cours des 30 derniers jours)
Yagnaseni Roy
Yagnaseni Roy le 14 Sep 2012
Hi,
I'm able to plot graphs on MATLAB and I'm using this to plot graphs that are supposed to be used to validate against the graphs of a reference paper.
For some weird reason, the graphs from the reference paper have the -vex axis on the right side and the positive x axis on the left.
Does MATLAB allow us to do that on the graphs it plots?

Réponse acceptée

Robert Cumming
Robert Cumming le 14 Sep 2012
Modifié(e) : Robert Cumming le 14 Sep 2012
Is this what your after:
set ( gca, 'xdir', 'reverse' );
  1 commentaire
Yagnaseni Roy
Yagnaseni Roy le 14 Sep 2012
Hey thanks, that's exactly what I wanted!

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