Hi,

2007/5/31, Navid Parvini <[EMAIL PROTECTED]>:
> Dear All,
>
> How can I set the x-axis and/or y-axis in Log scale.

In interactive mode:

plot([1, 1e1, 1e2], [1, 1e1, 1e2])
ax = gca()
ax.set_xscale('log')
ax.set_yscale('log')
draw()

The other parameter .set_xscale and set_yscale accept is 'linear' for,
surprisingly enough, linear scale.


Regards,

    ~ Antonio

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to