« Return to Thread: How do you Plot data generated by a python script?

Re: How do you Plot data generated by a python script?

by surfcast23 :: Rate this Message:

| View in Thread

Hi Martin,
 
  Sorry I am just responding. I have been busy getting ready for the semester. What I need to do is first sort the values contained in the column and assign them to bins. I then have to plot the number of bins by the mean value in each bin.



Can you describe what you want to do? So you now want a histogram?

surfcast23 wrote:
Sorry everyone I totally missed something very important. What I need to do is first bin the masses(which I don't know how to do).
Chelonian wrote:
On Thu, Aug 25, 2011 at 10:01 PM, surfcast23 <surfcast23@gmail.com> wrote:
>
> Hi,
>
>   there is only one column. so I want a plot of y and x. With y taking
> values running from 0 to n  or 7 in my example and x as the average of the
> values that are contained in the rows in my example it was 5.57.

It seems to me that, as described, you want a plot that in which all
the bars are the same height (or width if it is a sideways bar chart),
in this case, 5.57.  That makes no sense.

What information is this plot is intended to provide the viewer?

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

 « Return to Thread: How do you Plot data generated by a python script?