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

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

[Octave-bug-tracker] [bug #39393] plotyy log scale results in linear tic


From: Rik
Subject: [Octave-bug-tracker] [bug #39393] plotyy log scale results in linear ticks
Date: Tue, 02 Jul 2013 23:19:14 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0

Update of bug #39393 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

I think there may be some confusion about the difference between logarithmic
scaling and a logarithmic axis.  Setting the 'Xscale' to log results in
logarithmic spacing for the existing 'Xtick' values.

A logarithmic axis is really a collection of options which together produce
what one thinks of as a log axis.  These include:


Xscale = log
Xtick = logarithmic values such as [1 10 100]
Xminortick = on
Xtickmode = auto


'help plotyy' gives an example of using a linear y-axis and a logarithmic
y-axis together in plotyy.  You can get a logarithmic x-axis with


[ax, h1, h2]=plotyy(1:100,1:100,1:100,(1:100)/2, @semilogx, @semilogx)


Or you can set all of the properties I mentioned on each of the axes.

This, anyways, is how Octave treats Xscale.  If you have access to Matlab you
might verify that setting Xscale to 'log' only scales the axis but does not
produce the other changes such as the Xminorticks that are associated with a
logarithmic axis.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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