On Fri, Jun 11, 2010 at 4:50 PM, Benjamin Root <ben.r...@ou.edu> wrote: > Ola, > > Just to make sure, have you tried "ax.set_xticks([])"?
Yes, I have tried that, but without success. Looks like the tick-logic is overridden for 3d plotting. Or at least, I cannot figure out how it works. Ola > Ben Root > > > > On Fri, Jun 11, 2010 at 3:05 AM, Ola Skavhaug <skavh...@simula.no> wrote: >> >> Hi, >> >> I'm trying to remove the xtickmarks and ytickmarks from a 3d plot, >> without any success. >> >> The example I experiment with is the following: >> >> from mpl_toolkits.mplot3d import axes3d >> import matplotlib.pyplot as plt >> >> fig = plt.figure() >> ax = axes3d.Axes3D(fig) >> X, Y, Z = axes3d.get_test_data(0.05) >> cset = ax.contour(X, Y, Z, 16, extend3d=True) >> ax.clabel(cset, fontsize=9, inline=1) >> >> #One try that didn't work >> ax.set_xticklabels("") >> >> plt.show() >> >> It looks like the final plot ignores all my efforts in turning the >> ticks off. Any help on this matter would be greatly appreciated. >> >> Regards, >> -- >> Ola Skavhaug >> Research Programmer >> Simula Research Laboratory >> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> Matplotlib-users mailing list >> Matplotlib-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- Ola Skavhaug Research Programmer Simula Research Laboratory ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users