[Tutor] how to graph percentile -- matplotlib, Inkscape, or what?

David ldl08 at gmx.net
Sat Feb 6 10:35:32 CET 2010


Hello Alan,

thanks for the guidance, I will then dig a little deeper into 
matplotlib. I guess the reason why I discarded it before is that I 
understood matplotlib to be a curve plotting tool, and not so much a 
tool to draw graphics. I will investigate!

David


On 06/02/10 17:15, Alan Gauld wrote:
>
> "David" <ldl08 at gmx.net> wrote
>> is to create a graph in which on the horizontal axis the student's
>> precentile (i.e. performance vis-a-vis her classmates) is indicated by
>> means of a needle stuck into the axis:
>>
>> O (63%) |__________________________|______________|
>> | |
>> 0 100
>>
>> I suspect that I cannot plot this with matplotlib, and my next best
>> guess would be Inkscape, with which I have no scripting experience
>> whatsoever.
>
> Why do you think you couldn't do it with matplotlib?
> It seems a fairly basic request.
> I have no experience with either package but matplotlib is the first
> place I'd look for this.
>
> There is also gnuplot which I've used outside Pytthon, but it could do
> this too I'm sure.
>
> OTOH It would be fairly easy to roll your own in a vanilla GUI Canvas
> widget. Its only a few stratight lines and text after all.
> Or even to use a scroll bar or progress bar widget to indicate the result.
>



More information about the Tutor mailing list