Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Something simple with formatting axes

5 Ansichten (letzte 30 Tage)
Truman Cassady
Truman Cassady am 17 Nov. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 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.

Antworten (1)

Walter Roberson
Walter Roberson am 17 Nov. 2017
Bearbeitet: Walter Roberson am 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.

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by