Hello NG,

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.

Andrea.

from

pylab import *

ax1 = subplot(111)

t = arange(0.01, 10.0, 0.01)

s2 = sin

(2*pi*t)

plot(t, s2, 'r.')

ylabel('sin')

# turn off the 2nd axes

rectangle

# with frameon kwarg

ax2 = twinx()

s1 = exp(t)

plot(t, s1,

'b-')

xlabel('time (s)')

ylabel('exp')

show()