transparent symbols

Hello, I attached a sample. I'm trying to plot a line using

    > markers and I would like those markers to be transparent. I
    > use the keyword 'alpha=0.2' to set the transparency although
    > the marker are not transparent? Does anyone know how to make
    > this work? Thanks for the help!

See the recent thread "transparent markerfacecolors"

  http://sourceforge.net/mailarchive/message.php?msg_id=12261949

Basically, this is a bug but you can work around it with scatter.

    > Also, is it possible to set autoscale for just x-axis or
    > just y-axis? I haven't found a way to do this. Thanks again.

You can do this by setting a custom ticker.locator for the axis that
you don't want autoscaled, following the examples major_minor_demo*.py
and Chapter 5 of the user's guide.

JDH

Great thank you.

One more question. I also want to change the tick mark attributes like
color, fontsize, rotation etc. I used these lines of code:

    # set x-axes tick label attributes
    axesA.set_yticklabels(axesA.get_xticklabels(), rotation=0,
fontsize=5, color='k')
    axesD.set_yticklabels(axesD.get_xticklabels(), rotation=0,
fontsize=5, color='k')
    # set y-axes tick label attributes
    axesA.set_yticklabels(axesA.get_yticklabels(), rotation=0,
fontsize=5, color='k')
    axesD.set_yticklabels(axesD.get_yticklabels(), rotation=0,
fontsize=5, color='k')

I get an error because get_ticklabels() returns an instance of label
strings, not the strings themselves. How can I convert these into a
useful string so the above code works? Or is there a better way to do
this?

Thanks again!

···

-----Original Message-----
From: John Hunter [mailto:jdhunter@…8…]
Sent: Wednesday, July 13, 2005 10:41 AM
To: Jeff Peery
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] transparent symbols

    > Hello, I attached a sample. I'm trying to plot a line using
    > markers and I would like those markers to be transparent. I
    > use the keyword 'alpha=0.2' to set the transparency although
    > the marker are not transparent? Does anyone know how to make
    > this work? Thanks for the help!

See the recent thread "transparent markerfacecolors"

  http://sourceforge.net/mailarchive/message.php?msg_id=12261949

Basically, this is a bug but you can work around it with scatter.

    > Also, is it possible to set autoscale for just x-axis or
    > just y-axis? I haven't found a way to do this. Thanks again.

You can do this by setting a custom ticker.locator for the axis that
you don't want autoscaled, following the examples major_minor_demo*.py
and Chapter 5 of the user's guide.

JDH