Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Something simple with formatting axes

4 visualizzazioni (ultimi 30 giorni)
Truman Cassady
Truman Cassady il 17 Nov 2017
Chiuso: MATLAB Answer Bot il 20 Ago 2021
If I was needing to plot a two dimensional graph. The horizontal axis is a positively oriented from 0 to infinity, but the vertical axis is oriented from 0 to negative infinity. The axes converge at zero. What I can't figure out is how to reverse just the vertical axis to have increasing negative values as the x axis increases.

Risposte (1)

Walter Roberson
Walter Roberson il 17 Nov 2017
Modificato: Walter Roberson il 17 Nov 2017
set(gca, 'Ydir', 'reverse')
The vertical axes is the Y axes, and I followed your horizontal/vertical question, not your request to have increasing negative values as the x axis increases.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by