[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
setting ranges on plot with multiple axis
From: |
John W. Eaton |
Subject: |
setting ranges on plot with multiple axis |
Date: |
Thu, 11 Mar 1999 19:25:50 -0600 (CST) |
On 11-Mar-1999, David Larom <address@hidden> wrote:
| I tried the following from a 14-Apr-1998 posting Steven Harp entitled "plot
| with multiple axis" and it works fine:
|
| gset ytics nomirror
| gset y2tics
| gplot x, x*x axis x1y2
|
| Now I modified the above for control of both axes and it works great in
| gnuplot:
| set ytics nomirror
| set y2tics
| plot [:][-15:15][:][-10:110] x, x*x axes x1y2
|
| but not in octave:
| gset ytics nomirror
| gset y2tics
| gplot [:][-15:15][:][-10:110] x, x*x axes x1y2
|
| generates the message
|
| parse error:
| >>> gplot [:][-15:15][:][-10:110] x, x*x axes x1y2
|
| Can this be fixed?
Probably, but I really don't have any plans to add more cruft to
Octave's parsing of a gnuplot-like command line.
You can work around the problem by using
gset x2range [:]
gset y2range [-10:110]
jwe