octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45167] Spy with gnuplot: wrong axis orientati


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #45167] Spy with gnuplot: wrong axis orientation (upside down) with gnuplot 5
Date: Sat, 23 May 2015 06:21:00 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #2, bug #45167 (project octave):

>From the gnuplot help:


 The `reverse` option reverses the direction of an autoscaled axis. For
example,
 if the data values range from 10 to 100, it will autoscale to the equivalent
of
 set xrange [100:10].  The `reverse` flag has no effect if the axis is not
 autoscaled. NB: This is a change introduced in version 4.7.


The new syntax is to simply place the limits in opposite order.  So I
replaced


set xrange [0.000000000000000e+00:4.000000000000000e+00] noreverse;
set yrange [0.000000000000000e+00:4.000000000000000e+00] reverse;


with


set xrange [0.000000000000000e+00:4.000000000000000e+00];
set yrange [4.000000000000000e+00:0.000000000000000e+00];


and obtained the proper plot.

I set about fixing this then discovered I already made a changeset, attached
here:

https://savannah.gnu.org/bugs/?38914

BTW, just curious if you think the axes would look better for this plot if the
x-axis were at the top of the plot rather than at the bottom.  If I were to
illustrate the indices of a matrix, I think that's how I would do it:


  1  2  3  4  5  6 ...
1

2

3

4

...


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45167>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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