Re: [Matplotlib-users] viewing my data correctly

2007-12-14 Thread Bryan Fodness
Thanks, this is what I wanted. I overlooked the cumsum() on the end of my array, so the output of the array was not what I expected or needed. Could you help me figure out how to get an axis label and numbers on the right side of my graph. It is the same data and scale as the left side except it

Re: [Matplotlib-users] viewing my data correctly

2007-12-14 Thread Eric Firing
Bryan Fodness wrote: > I would also like to get the area of the mesh element when I fill the > corresponding array element. > > if a[1,0] > area = 1.0 * 0.01 > > if a[30,0] > area = 0.5 * 0.01 > > Is this possible? I'm sorry, but I don't understand what you are asking. Are you askin

Re: [Matplotlib-users] viewing my data correctly

2007-12-14 Thread Bryan Fodness
I would also like to get the area of the mesh element when I fill the corresponding array element. if a[1,0] area = 1.0 * 0.01 if a[30,0] area = 0.5 * 0.01 Is this possible? On Nov 26, 2007 7:02 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Bryan Fodness wrote: > > Could someone give me

Re: [Matplotlib-users] viewing my data correctly

2007-11-26 Thread Bryan Fodness
Thank You! It works great. On Nov 26, 2007 7:02 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Bryan Fodness wrote: > > Could someone give me an idea how to get started with this so it > > coincides with my array of values. I took a look at the quadmesh_demo > > in the examples and do not see a st

Re: [Matplotlib-users] viewing my data correctly

2007-11-26 Thread Eric Firing
Bryan Fodness wrote: > Could someone give me an idea how to get started with this so it > coincides with my array of values. I took a look at the quadmesh_demo > in the examples and do not see a straightforward way to do this Maybe the docstrings make it sound more complicated than it really is.

Re: [Matplotlib-users] viewing my data correctly

2007-11-26 Thread Bryan Fodness
Could someone give me an idea how to get started with this so it coincides with my array of values. I took a look at the quadmesh_demo in the examples and do not see a straightforward way to do this On Nov 26, 2007 7:52 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote: > You can provide mesh coor

Re: [Matplotlib-users] viewing my data correctly

2007-11-26 Thread Michael Droettboom
You can provide mesh coordinates to the pcolor command: X and Y, if given, specify the (x,y) coordinates of the colored quadrilaterals; the quadrilateral for C[i,j] has corners at (X[i,j],Y[i,j]), (X[i,j+1],Y[i,j+1]), (X[i+1,j],Y[i+1,j]), (X[i+1,j+1],Y[i+1,j+1]). Ideally the d

[Matplotlib-users] viewing my data correctly

2007-11-25 Thread Bryan Fodness
I am wondering if there is a way to view my data with respect to the physical size of what my array element is suppose to be. I have an array that is 60 x 4000 where, the first row has a height of 1.4 the next nine has a height of 1 the next forty has a height of 0.5 the next nine