Benoit Donnet wrote: > Hey guys, > > I'm trying to plot quantiles information (percentile 10, 25, 50, 75 > and 90). Attached, you'll find a jpged of what I would like to do > (this was done using Gnuplot): the vertical line delineates the range > from the 10th to the 90th percentile. Small tick bars to either side > of the lines mark some additional percentiles: bar to the left for the > 25th and bar to the right for the 75th. Finally, dots mark the median. > > I attempted to use matplotlib.finance modules. In particular, the > candlestick stuffs are quite close to what I want. But it didn't work > as the X-Axis does not correspond to a date information (X-Axis values > are within the range [1:1780]). > > Have you got an idea on how I can plot that using matplotlib? > > Thanks in advance. > > Keep on rockin' > > Benoit >
Benoit: This looks very similar to what the boxplot function does (see http://matplotlib.sourceforge.net/matplotlib.pylab.html#-boxplot and boxplot_demo.py). If you want to tweak it, the boxplot function in axes.py might be a good starting point. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : [EMAIL PROTECTED] 325 Broadway Office : Skaggs Research Cntr 1D-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users