On Tuesday, July 19, 2011, Jakub Nowacki <j.s.nowa...@gmail.com> wrote: > Dear All, > > I've found it impossible to get some control over ticks in a 3D plot > (Axes3D, using with projection='3d' option) in Matplotlib 1.0.1 (EPD > 7.1-1 linux 64-bit). Namely, I have one out of four subplots, that is 3D > and it has much to many ticks (tick labels to be exact), which makes > them unreadable (most of them overlay on one another, not mentioning > axis labels are covered as well). Usually in such situations I used > set_x(y)ticks with some values or ax.x(y)axis.get_major_locator()._nbins > if I just wanted a certain number. But I've found that _nbins doesn't do > anything (also, there is no zaxis object), set_zticks return an error > 'AttributeError: 'Axes3DSubplot' object has no attribute 'set_zticks'' > and set_x(y)ticks changes ticks of not 3d axis but 2d one. Is there any > (other) way to influence the number of ticks? > > Thanks for the help in advance. > > Best wishes, > > Jakub >
Jakub, if possible, could you test out the latest matplotlib in development on github? I have been working hard in this. If not, you could also always operate directly through the axis objects themselves, such as: ax.zaxis (although, you might have to do ax.w_zaxis). Ben Root ------------------------------------------------------------------------------ Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users