help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reversing the x Axis When Plotting


From: John W. Eaton
Subject: Reversing the x Axis When Plotting
Date: Sat, 29 Oct 2011 12:05:33 -0400

On 29-Oct-2011, John G. wrote:

| 
| I am familiar with the axis("ij") command used to reverse the y axis in octave
| gnu plots.  Is there a corresponding command to reverse the x axis?  I need 
the
| positive range of the x axis on the left side of the plot and the negative
| values on the right side of the plot.

Try

  set (gca (), "xdir", "reverse")

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]