It works!   Excellent documentation.   Thank you John for your help!   

Russ


John Hunter-4 wrote:
> 
> On Sat, May 17, 2008 at 7:18 PM, hvac <[EMAIL PROTECTED]> wrote:
>>
>> Maybe I'm missing it... but how do I change the color of the tick marks?
>> (the actual marks, not the labels).
>>
>> I would like gray tick marks, not black...
> 
> Take a look at the artist API tutorial
> 
>   http://matplotlib.sourceforge.net/pycon/artist_api_tut.pdf
> 
> which covers all the main objects in the matplotlib figure and how to
> customize them.  The final two sections "The Axis containers"  and
> "The Tick containers" will be particularly useful.  Here is an example
> which sets some properties on the yaxis tick lines:
> 
> for line in ax.yaxis.get_ticklines():
>     # line is a matplotlib.lines.Line2D instance
>     line.set_color('green')
>     line.set_markersize(25)
>     line.set_markeredgewidth(3)
> 
> JDH
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft 
> Defy all challenges. Microsoft(R) Visual Studio 2008. 
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tick-color-tp17297888p17309081.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to