Dear all,
    "2D plotting" doc says,
"Another thing to be aware of with axis labeling is that when the labels 
have quite different orders of magnitude or are very large, scientific 
notation (the e  notation for powers of ten) is used."

But display of this multiplier power for the scaled y-axis is missing if 
the plot starts with x=0 or at most will be missing till the x-axis 
detaches from the origin. Following examples illustrates it,

*sage:*  plot(x^2,(x,0,5000))  # missing display of 1e7 above y-axis
*sage:*  plot(x^2,(x,50,5000))  # missing display of 1e7 above y-axis
*sage:*  plot(x^2,(x,100,5000))  # display of 1e7 above y-axis is visible

On the other side matplotlib natively always displays the scale multiplier 
(if any) whenever numbers are large. For example:

*sage:*  import matplotlib.pyplot as plt
*sage:*  import numpy as np
*sage:*  z = np.linspace(0, 5000, 100)
*sage:*  plt.plot(z, z**2)
*sage:*  plt.show()

My other plots involved electric field calculations which had magnitudes 
around 1/epsilon_0 which is 1/(8.85E-12) =~ 10^11. For those plots starting 
with x=0 the display of multiplier used for y-axis were missing.

With regards
Niranjana

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/81e1349d-73f1-493b-9109-54ccf669fb9an%40googlegroups.com.

Reply via email to