help-octave
[Top][All Lists]
Advanced

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

logscale


From: John W. Eaton
Subject: logscale
Date: Fri, 21 Apr 2000 03:26:32 -0500 (CDT)

On 21-Apr-2000, BERTRAND =?iso-8859-1?Q?Jo=EBl?= <address@hidden> wrote:

| 
|     I try to use octave to plot Bode's diagrammes. The frequency
| (x) are in logarithm scale. I know how make logscale in
| Gnuplot, but with octave...
| 
|     I made :
| octave:6> gset logscale y
| ...
| octave:10> gshow logscale
| 
|         no logscaling
| ... !?!!
| octave:13> gset logscale x
| octave:14> gshow logscale
| 
|         logscaling x (base 10) only
| 
| octave:15> plot(y)
| 
| but the figure is plotted without logscale ! Where is the problem ?

The plot function turns off log scales.

Use semilogy instead of plot.

jwe



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

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



reply via email to

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