>
> ax = plt.subplot(1,1,1)
> ticks = ax.xaxis.get_majorticklines()
> mytick = ticks[3]
> mytick.set_marker(2)
> plt.draw()
>
Cool! That's what I have been looking for. Thanks so much for your help.
Regards,
Bartek
-
On 11/02/2010 03:18 PM, Jae-Joon Lee wrote:
> A quick (and not safe) way w/ mpl v1.0 is,
>
> ax = plt.subplot(111)
> ax.plot(np.arange(3))
>
> ax.set_xticks([0, 0.5, 1., 1.5, 2.])
>
> mytick = ax.xaxis.majorTicks[2]
> mytick._apply_params(tickdir="out")
>
> I don't think th
A quick (and not safe) way w/ mpl v1.0 is,
ax = plt.subplot(111)
ax.plot(np.arange(3))
ax.set_xticks([0, 0.5, 1., 1.5, 2.])
mytick = ax.xaxis.majorTicks[2]
mytick._apply_params(tickdir="out")
I don't think there is a way to do this only using public apis.
I myself actually p
Hi all,
Is it possible to set direction (in or out) individually for each tick. I know
about the rc setting ("(x/y)tick.direction") , but I need a finer control over
the ticks.
Thanks,
Bartek
--
Nokia and AT&T present