help-octave
[Top][All Lists]
Advanced

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

axes x1y2 same as default x1y1


From: Henry F. Mollet
Subject: axes x1y2 same as default x1y1
Date: Wed, 03 Aug 2005 11:18:01 -0700
User-agent: Microsoft-Entourage/11.1.0.040913

Say I want the y-scale on the right. Default with 'plot' is on the left.
With 'contour' default is on right and I want the y-axis on the left.

I've tried graw at octave prompt and *gnuplot* without luck:
octave:24> graw ("plot sin(x) axis x1y2 title 'x1y2 doesNotWork'\n")
gnuplot> plot sin(x) axes x1y2

Syntax:
       plot {<ranges>}
            {<function> | {"<datafile>" {datafile-modifiers}}}
            {axes <axes>} {<title-spec>} {with <style>}
            {, {definitions,} <function> ...}
There are four possible sets of axes available; the keyword <axes> is used
to select the axes for which a particular line should be scaled.  `x1y1`
refers to the axes on the bottom and left; `x2y2` to those on the top and
right;`x1y2` to those on the bottom and right; and `x2y1` to those on the
top and left. 

I've also looked at using plot (x,y,fmt) in Octave in combination with axis
(note different spelling). The closest info is:
     axis ("labely", "tic");
     turns tic marks on for all axes and tic mark labels on for the
     y-axis only.
Nothing about changing default x-scale and y-scale. I've tried the following
with any luck;
octave:12> axis ("labely", "tic", "x1y2");
warning: in /usr/local/share/octave/2.1.71/m/plot/axis.m near line 235,
column 7:
warning: unknown axis option 'x1y2'

Henry






-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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