I have sligthly modified the two_scales.py demo, and I
am seeing something strange. In the left y-axis I plot a sin(x) curve,
while on the right axis I plot an exp(x) curve. In the figure, exp(x)
reach very big values so the ticks are adjusted with a "x1e4"
multiplier: but this multiplier should be put on the right axis (where
exp(x) is plotted) and not on the left axis (where sin(x) is plotted).
Does anyone know what I am doing wrong?
I attach the script at the end
of the mail.
Thanks in advance for every suggestion.
pylab import *
ax1 = subplot(111)
t = arange(0.01, 10.0, 0.01)
s2 = sin
plot(t, s2, 'r.')
# turn off the 2nd axes
# with frameon kwarg
ax2 = twinx()
s1 = exp(t)