On Thu, Dec 2, 2010 at 11:22 AM, Burak TUYSUZ <buraktuy...@gmail.com> wrote:

> Hi all,
> I am plotting a 3d surface but at the axis scientific notation works
> but I can not see the exponential part at the end of the axis.
> I mean it does simplifies
>       9.9*e^5 15*e^5 ...
> to
>       9.9   15
> but there is no e^5 at the end of the axis that you need to multiply each
> value
> I am tired of manually adding that to the plots. How can I automatically
> add the divider to the top of each axis.
> Thank you in advance
> -Burak
>
> Here is the code
>
>
>       formatter = ScalarFormatter(useMathText=True, useOffset=True)
>       formatter.set_scientific(True)
>
>       fig = plt.figure(figsize=(21,9.5))
>       ax = fig.add_subplot(1,2,1, projection='3d', azim=180)
>       ax.set_xlabel('Doppler')
>       ax.set_ylabel('Delay')
>       ax.set_zlabel('')
>
>       ax.w_xaxis.set_major_formatter(formatter)
>       ax.w_yaxis.set_major_formatter(formatter)
>
>
Burak,

I can confirm your bug.  I have traced it down and it appears that printing
the offset text (the 'e^5') is not even implemented.  I will look into
seeing how to implement this in mplot3d.

Ben Root
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: New IBM DB2 features make compatibility easy. 
Learn about native support for PL/SQL, new data types, scalar functions, 
improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, 
best practices and more - all designed to run applications on both DB2 and 
Oracle platforms. http://p.sf.net/sfu/oracle-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to