Hello,

Using the following simple script, the scientific notation used on the y-axis is missing a multiplication symbol, as seen in the figure. My matplotlibrc file consists of

backend      : GTKAgg

and I am using SVN r6760.

I found this when I was trying to change the ScalarFormatter to have useMathText = True by default, so the scientific notation would use a superscript and not '1e7'.

Paul Novak

---
import matplotlib.pyplot as plt
import numpy as np

t = np.arange(0.0, 4.0)
s = 2.0e7*t
plt.plot(t, s, linewidth=1.0)

plt.xlabel(r'time (s)')
plt.ylabel('voltage (mV)')
plt.show()

<<inline: default.png>>

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to