-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Hunter wrote:
| On 2/14/07, David Clark (Lists) <[EMAIL PROTECTED]> wrote:
|
|> I'm working on a GUI with wxPython to display several traces of data.
|> Using a checkbox, I would like to be able to turn traces on the plot on
|> and off.  I have managed to find the right methods to turn the whole
|> axes on and off, but not individual traces.  Any help would be
|> appreciated.
|
|
| Everythong that draws into a figure (Axes, Text, Line2D, Polygon,
| etc...) all derive from Artist which has a visible property.  So you
| can turn anything off/on with
|
| o.set_visible(True|False)
|
| JDH
John,

Thanks for the reply.  I thought it might have to do with that.  I am a
new python/matplotlib user.  In my inexperience, I'm not sure what I
should use for "o" in o.set_visible

Thanks,
Dave
- --
David D. Clark
Electrical Engineer
P-23, Neutron Science and Technology
ph. 505.667.4147 fx. 505.665.4121 pg. 505.996.1416
e-mail mailto:[EMAIL PROTECTED]
GPG Public key 0x018D6523 available at http://www.us.pgp.net
http://www.gnupg.org has information about public key cryptography
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF1J7gNu7GcwGNZSMRAm17AJ4gOygLy1aw75NaVtPq8jQ1NzT7+ACcDoJv
zC58EcBmg/mBcK9QH04H25Y=
=Yb//
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to