Whoops. Give this one a shot: http://dpaste.com/161847/
> -----Original Message----- > From: Paul Hobson > Sent: Friday, February 19, 2010 2:54 PM > To: matplot...@liste.fastmail.fm; matplotlib-users@lists.sourceforge.net > Subject: RE: [Matplotlib-users] Help needed on specific plot > > Hugo, > > I don't have time to really explain how to do this, so instead I'm just > going to send some code I made that I think might be very similar to what > you're looking for. > http://dpaste.com/161843/ > > I've also attached some data so you can run the code. > > Good luck, > -paul > > > -----Original Message----- > > From: matplot...@liste.fastmail.fm > [mailto:matplot...@liste.fastmail.fm] > > Sent: Friday, February 19, 2010 2:16 PM > > To: matplotlib-users@lists.sourceforge.net > > Subject: [Matplotlib-users] Help needed on specific plot > > > > Hi, > > I have the exterior shape of a nozzle given by S(x). Now what I want to > > do is first reflect it with respect to the y=0 axis (easily achieved by > > -S(x) right?) and then map each x node's value of an array (say > density) > > to a color that would fill the vertical space between S(x) and -S(x). > In > > other words I need something like the matplotlib.pyplot.fill_between > > method using x, S(x) and -S(x) but where the fill color would be > > relative to a third array (say density again) at each point x. > > Thanks! > > -- > > Hugo Gagnon > > -- > > Hugo Gagnon > > > > > > ----------------------------------------------------------------------- > -- > > ----- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Matplotlib-users mailing list > > Matplotlib-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users