George
 
Apologies for all-too-brief reply the first time around. I am
more than rusty with matplot, but need to brush up again.
 
What you are wanting to do is not so straightforward and,
unfortunately, is not documented all in one place.  I have 
found a number of references to different bits-and-pieces
of the puzzle, and I include these here:
http://sourceforge.net/mailarchive/message.php?msg_id=871x367j87.fsf%40peds-pc311.bsd.uchicago.edu
 
http://sourceforge.net/mailarchive/message.php?msg_id=87ll50xybc.fsf%40peds-pc311.bsd.uchicago.edu
 
http://sourceforge.net/mailarchive/message.php?msg_id=87br7eoo4o.fsf%40florent.maison
 
http://sourceforge.net/mailarchive/message.php?msg_name=m2d61xe7lv.fsf%40mother.paradise.lost
 
(in particular, the frame - x and y "axes" - does not have a 
color setting and needs to be turned off, following which lines
can be drawn in its place with axhline and axvline)
 
I am sure more searching in the mail archives will yield 
more gems!
 
Part of the issue is, I think, that these are all different types
of objects and therefore handled in different ways.
 
It would be really good to come up with a definitive example
and post it here.... when the question arises again, we can
just point back to this example (and possibly ask for it to be 
included in further releases of the samples.zip from the 
website).
 
Derek

>>> "George Nurser" <[EMAIL PROTECTED]> 2007/10/16 04:10 PM >>>
Hi Derek,
I did
    setp(a2.get_xticklabels(), color='w')
    setp(a2.get_yticklabels(), color='w')

and this made the ticklabels readable, which is the main thing.

Ideally it would be nice to change the axes and tickmark colors but
it's not essential.
    setp(a2.get_xticks(), color='w')
    setp(a2.get_yticks(), color='w')
    setp(a2.get_axes(), edgecolor='w')

don't work.

Many thanks, George Nurser.

On 16/10/2007, Derek Hohls <[EMAIL PROTECTED]> wrote:
>
>
> The mailing list archives know all....
> http://sourceforge.net/mailarchive/[EMAIL PROTECTED] 
>
> >>> "George Nurser" <[EMAIL PROTECTED]> 2007/10/16 01:20 PM >>>
>
> Hi,
> I feel that this should be simple, but I can't find anything on it.
>
> How do I change the color of the axes/tickmarks/ticklabels?
> I want to superpose a second plot onto a part of a pcolor plot that is
> dark blue.
>
> I can change the background color OK, but not that of the axes themselves.
>
> Regards, George Nurser.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/ 
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users 
>
> --
> This message is subject to the CSIR's copyright terms and conditions, e-mail
> legal notice, and implemented Open Document Format (ODF) standard.
> The full disclaimer details can be found at
> http://www.csir.co.za/disclaimer.html.
>
>
> This message has been scanned for viruses and dangerous content by
> MailScanner,
> and is believed to be clean. MailScanner thanks Transtec Computers for their
> support.

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to