Jeremy Conlin wrote:
> First question:
> I know I can do pylab.loglog() to get a log-log plot.  I would like to 
> create a log-linear plot.  How can I do this?

semilogx or semilogy:


 
  semilogy 
<http://matplotlib.sourceforge.net/matplotlib.pyplot.html#-semilogy>(*args, 
**kwargs)
 
Make a plot with log scaling on the *y* axis.
>
> Second question:
> I would like to plot two sequences on the same figure with two 
> different y-scales, one scale shown on the left and one scale shown on 
> the right.  How can I do this?

twiny:
 

      ax = twiny
    <http://matplotlib.sourceforge.net/matplotlib.axes.html#Axes-twiny>()
     
    create a twin of Axes
    <http://matplotlib.sourceforge.net/matplotlib.axes.html#Axes> for 
generating a plot with a shared
    y-axis but independent x axis.  The x-axis of self will have
    ticks on bottom and the returned axes will have ticks on the
    top

-Jeff
>
> Thanks in advance,
> Jeremy 
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   


-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to