Hello, I am doing a plot and the x axis shows a small 1e7 indicating that the numbers should be multiplied by that quantity, but the y axis does not and is showing labels like 0.000007
Why is that? I would like it to also use the 1eX notation Any comment will be appreciated Thanks, Pau This is my script #!/usr/bin/env python from pylab import * # Create arrays H01 = load ('./h01_skipi.txt') H99 = load ('./h99_skipi.txt') # Define elements t_01 = H01[:, 0] # 1st column hplus_01 = H01[:, 1] # 2nd hcross_01 = H01[:, 2] # 3rd t_99 = H99[:, 0] # 1st column hplus_99 = H99[:, 1] # 2nd hcross_99 = H99[:, 2] # 3rd # Create upper plot subplot (211) # 2 rows 1 column 1st plot grid(True) # For settings see page 22 users_guide ylabel (r'$h_+\,(r/M)$', size=18) plot(t_01, hplus_01 , \ linestyle='--', color='grey', linewidth=3) plot(t_99, hplus_99 , \ linestyle='-',color='red', linewidth=1) # Create lower plot subplot (212) grid(True) ylabel (r'$h_x\,(r/M)$', size=18) plot(t_01, hcross_01 , \ linestyle='--', color='grey', linewidth=3) plot(t_99, hcross_99 , \ linestyle='-', color='red', linewidth=1) xlabel ('t (sec)', size=18) # At the end, so that it's common to all # Draw the thing show() ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users