Dear All,
How can I set the x-axis and/or y-axis in Log scale.
Thanks,
Navid
···
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
Dear All,
How can I set the x-axis and/or y-axis in Log scale.
Thanks,
Navid
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
Hi,
2007/5/31, Navid Parvini <parvini_navid@...9...>:
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