Thanks both of you. Works nicely.
I was also looking for line thickness, so:
for l in ax.get_xticklines() + ax.get_yticklines():
l.set_markersize(10)
l.set_markeredgewidth(10)
Has a slightly blurry edge at that size, but does the job.
Cheers,
Jon.
Matthias Michler wrote:
>
> Hi Jon,
>
> the dashed associated with each tick are actually line instances and
> therefore
> hold information about the used marker, markersize, color, ...
>
> For example you could do the following:
>
> import matplotlib.pyplot as plt
> ax = plt.gca() # get the current axes
>
> for l in ax.get_xticklines() + ax.get_yticklines():
> l.set_markersize(10)
>
> plt.show()
>
> best regards Matthias
>
> On Monday 27 April 2009 12:15:24 D2Hitman wrote:
>> I am looking to change the size/style of the tick markers. Not the labels
>> associated with each tick, the dashes. How do i go about this?
>>
>> Cheers,
>>
>> Jon.
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
--
View this message in context:
http://www.nabble.com/Ticks-tp23253405p23254032.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users