Hi Scripper,

I'm not sure what you would like to know, but it is possible to change

the tick settings on the 3D axes in the same way as for normal 2D

axes. For example:

from mpl_toolkits.mplot3d import Axes3D

from matplotlib import cm

from matplotlib.ticker import LinearLocator, FixedLocator, FormatStrFormatter

import matplotlib.pyplot as plt

import numpy as np

fig = plt.figure()

ax = Axes3D(fig)

X = np.arange(-5, 5, 0.25)

Y = np.arange(-5, 5, 0.25)

X, Y = np.meshgrid(X, Y)

R = np.sqrt(X**2 + Y**2)

Z = np.sin(R)

ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.jet)

ax.set_zlim3d(-1.01, 1.01)

ax.w_zaxis.set_major_locator(LinearLocator(10))

ax.w_zaxis.set_major_formatter(FormatStrFormatter('%.03f'))

plt.show()

Hope this helps,

Reinier

## ···

On Tue, Aug 18, 2009 at 7:16 PM, scripper<Scripper@...287...> wrote:

Hi everybody,

i am a newbie on Matplotlib and wanna know whether there is already tick

setting on x,y,z axes in 3D plot. By now i just know on 2-dimension which

listed on the gallery.

Thanks very much!

--

View this message in context: http://www.nabble.com/plot3d-ticker-setting-tp25029488p25029488.html

Sent from the matplotlib - users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

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

--

Reinier Heeres

Tel: +31 6 10852639