Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Bruce Ford <bruce@cl...>  20100211 21:24:20

In using the contour as in: contour(X,Y,Z,N) N is a number of automatically chosen levels. I would like to contour based on data divisions. For instance, perhaps I'd like to use a contour or colorfill (contourf) every 2 units. I'm not seeing how to accomplish this. Any points in the right direction would be appreciated. Thanks! Bruce  Bruce W. Ford Clear Science, Inc. bruce@... http://www.ClearScienceInc.com 8241 Parkridge Circle N. Jacksonville, FL 32211 Skype: bruce.w.ford Google Talk: fordbw@... 
From: Matthias Michler <MatthiasM<ichler@gm...>  20100212 13:24:06

Hi Bruce, why don't you use contour as in the following ;) contour(X,Y,Z,V) # > draw contour lines at the values specified in sequence *V* like in x, y = np.meshgrid(np.linspace(0, 1, 100), np.linspace(0, 1, 50)) z = x**4  x**2 + np.sin(y) contour(x, y, z, [0.2, 0.0, 0.2, 0.4, 0.6, 0.8]) Kind regards, Matthias On Thursday 11 February 2010 21:58:15 Bruce Ford wrote: > In using the contour as in: > > contour(X,Y,Z,N) > > N is a number of automatically chosen levels. > > I would like to contour based on data divisions. > > For instance, perhaps I'd like to use a contour or colorfill > (contourf) every 2 units. I'm not seeing how to accomplish this. Any > points in the right direction would be appreciated. > > Thanks! > > Bruce 
From: Bruce Ford <bruce@cl...>  20100212 14:11:27

Thanks for this. I didn't realize that N could be an array and contour would know that these are the levels desired. I found similar in an example, but not in the contour documentation. Thanks so much! Bruce  Bruce W. Ford Clear Science, Inc. bruce@... bruce.w.ford.ctr@... http://www.ClearScienceInc.com Phone/Fax: 9043799704 8241 Parkridge Circle N. Jacksonville, FL 32211 Skype: bruce.w.ford Google Talk: fordbw@... On Fri, Feb 12, 2010 at 7:29 AM, Matthias Michler <MatthiasMichler@...> wrote: > Hi Bruce, > > why don't you use contour as in the following ;) > > contour(X,Y,Z,V) > # > draw contour lines at the values specified in sequence *V* > > like in > > x, y = np.meshgrid(np.linspace(0, 1, 100), np.linspace(0, 1, 50)) > z = x**4  x**2 + np.sin(y) > contour(x, y, z, [0.2, 0.0, 0.2, 0.4, 0.6, 0.8]) > > Kind regards, > Matthias > > On Thursday 11 February 2010 21:58:15 Bruce Ford wrote: >> In using the contour as in: >> >> contour(X,Y,Z,N) >> >> N is a number of automatically chosen levels. >> >> I would like to contour based on data divisions. >> >> For instance, perhaps I'd like to use a contour or colorfill >> (contourf) every 2 units. I'm not seeing how to accomplish this. Any >> points in the right direction would be appreciated. >> >> Thanks! >> >> Bruce > > >  > SOLARIS 10 is the OS for Data Centers  provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solarisdev2dev > _______________________________________________ > Matplotlibusers mailing list > Matplotlibusers@... > https://lists.sourceforge.net/lists/listinfo/matplotlibusers > 
From: Matthias Michler <MatthiasM<ichler@gm...>  20100212 15:05:03

On Friday 12 February 2010 15:11:17 Bruce Ford wrote: > Thanks for this. I didn't realize that N could be an array and > contour would know that these are the levels desired. > > I found similar in an example, but not in the contour documentation. Just a remark: I use the help of IPython to investigate the docstrings of matplotlibfunctions. The input "contour?" tells me :: contour(Z,V) contour(X,Y,Z,V) draw contour lines at the values specified in sequence *V* Kind regards, Matthias > Thanks so much! > > Bruce > On Fri, Feb 12, 2010 at 7:29 AM, Matthias Michler > > <MatthiasMichler@...> wrote: > > Hi Bruce, > > > > why don't you use contour as in the following ;) > > > > contour(X,Y,Z,V) > > # > draw contour lines at the values specified in sequence *V* > > > > like in > > > > x, y = np.meshgrid(np.linspace(0, 1, 100), np.linspace(0, 1, 50)) > > z = x**4  x**2 + np.sin(y) > > contour(x, y, z, [0.2, 0.0, 0.2, 0.4, 0.6, 0.8]) > > > > Kind regards, > > Matthias > > > > On Thursday 11 February 2010 21:58:15 Bruce Ford wrote: > >> In using the contour as in: > >> > >> contour(X,Y,Z,N) > >> > >> N is a number of automatically chosen levels. > >> > >> I would like to contour based on data divisions. > >> > >> For instance, perhaps I'd like to use a contour or colorfill > >> (contourf) every 2 units. I'm not seeing how to accomplish this. Any > >> points in the right direction would be appreciated. > >> > >> Thanks! > >> > >> Bruce 
Sign up for the SourceForge newsletter:
No, thanks