need plot advise

I am new to matplot but I am liking it a lot. I am creating a webpage
with Django and I would like to plot a user's usage and average usage.
Therefore I am not sure what type of plot is the best type.

The data looks like this:

user: 13.4
average: 17.5

It would also be nice if I can create a bell curve (normal
distribution) and show where the user fits into the curve.

TIA

Mag,

Are you looking at time series or just a single value per user?

Time series lends itself to a line plot. There are plenty of style options,
etc. to highlight each user and the average.

If you're looking at a single value per user, a bar chart may be a good
choice:
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.bar
You could then show the average using a horizontal line?
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.axhline

Mag Gam wrote:

I am new to matplot but I am liking it a lot. I am creating a webpage
with Django and I would like to plot a user's usage and average usage.
Therefore I am not sure what type of plot is the best type.

It sounds like you've already worked out using MPL in Django. I found the
following links useful if not:
http://bitsofpy.blogspot.com/2009/07/matplotlib-in-django.html
http://www.scipy.org/Cookbook/Matplotlib/Django
http://matplotlib.sourceforge.net/faq/howto_faq.html#matplotlib-with-django

I'm sure others have better ideas, just my 2c.

-Erik Schweller

ยทยทยท

--
View this message in context: http://old.nabble.com/need-plot-advise-tp27075955p27078878.html
Sent from the matplotlib - users mailing list archive at Nabble.com.