[Matplotlib-users] Grid Shifting in PS backend

2007-10-25 Thread David D Clark
installed with yum. I also see this behavior if I run my script from the command line and from ipython 0.8.1. When I save using PNG, the peak is in the correct place. My Mac also saves both EPS and PNG correctly. Any thoughts? Dave - -- David D. Clark Electrical Engineer P-23, Neutron Science

[Matplotlib-users] Automatic Marker Generation

2007-10-04 Thread David D Clark
A[kk], linestyle='-', marker=mrkrs[ii], lw=2) if ii < mrkrs.size-1: ii+=1 else: ii=0 This works, but it's not very elegant. Thanks, Dave - -- David D. Clark Electrical Engineer P-23, Neutron Science and Technology e-mail

Re: [Matplotlib-users] Plot array of arrays

2007-10-02 Thread David D Clark
Isaac wrote: > On Mon, 01 Oct 2007, David D Clark apparently wrote: >> y=[array([]),array([]),array([])...] >> and x=array([x0,x1,x2,...]) > >> I want to plot the family of curves y=f(x). >> plot(x,y[n]) where n is the nth array in y plots the correct curve, >

[Matplotlib-users] Plot array of arrays

2007-10-01 Thread David D Clark
nth array in y plots the correct curve, however plot(x,y) and plot(x,y[:]) complain about mismatched array dimensions. Any suggestions? Thanks, Dave - -- David D. Clark Electrical Engineer P-23, Neutron Science and Technology e-mail mailto:[EMAIL PROTECTED] GPG Public key 0x018D6523 available at

Re: [Matplotlib-users] LateX and str()

2007-08-14 Thread David D Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Using vlostring="$v_{lo}$=%5.2f" % (vlo) doesn't work either. Dave David D Clark wrote: > Hello, > > I am trying to create some text on a plot with the following commands: > > vlostring="$v_{lo}$="+str(vl

[Matplotlib-users] LateX and str()

2007-08-14 Thread David D Clark
6 instead of nicely formatted LaTeX like text when I do text(vlo,vlotime,"$v_{lo}=$") without trying to add the str(...), it renders the expression correctly. Any suggestions? Dave - -- David D. Clark Electrical Engineer P-23, Neutron Science and Technology e-mail mailto:[EMAIL PROTEC

Re: [Matplotlib-users] multiple line title

2007-06-27 Thread David D Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Fred, That did the trick. I thought I had tried that and it failed. I must have made a typo. Thanks, Dave fred wrote: > David D Clark a écrit : >> Is there a way to make a multiple line title? I have looked through the >> do

[Matplotlib-users] multiple line title

2007-06-27 Thread David D Clark
- -- David D. Clark Electrical Engineer P-23, Neutron Science and Technology 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

[Matplotlib-users] One title over two subplots

2007-05-02 Thread David D Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have a figure with four subplots (2x2). I would like to put a title centered over the top row. How do I do this? Thanks, Dave -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.

Re: [Matplotlib-users] Toggle plot trace

2007-02-15 Thread David D Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Hunter wrote: | On 2/15/07, David D Clark <[EMAIL PROTECTED]> wrote: | |> 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 |> s

Re: [Matplotlib-users] Toggle plot trace

2007-02-15 Thread David D Clark
ou | 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

[Matplotlib-users] test message

2007-02-14 Thread David D Clark
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -- David D. Clark Electrical Engineer P-23, Neutron Science and Technology 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