[Edu-sig] What do you use for making presentations of a scatterplot of data

Jeremy Gray jrgray at gmail.com
Thu Sep 15 13:17:15 CEST 2011


matplotlib is pretty good, including documentation and examples,
http://matplotlib.sourceforge.net/

import matplotlib, pylab

x = [...] # list or numpy.array
y = [...]
color = [...]

pylab.scatter(x, y, s=40, c=colors) # s = size, c = color vector
pylab.show()


On Thu, Sep 15, 2011 at 3:31 AM, Laura Creighton <lac at openend.se> wrote:

>
> I'd like to make a presentation where I have a series of
> (informational) points to make, each of which is associated with a
> cartesian (x, y) coordinate in a scatter plot.  (It's Charles Perrow's
> graph from 'Normal Accidents' that plots 'coupling (from loose to
> tight)' vs 'complexity of interactions'.  In the graph 'loose' is -y,
> tight is +y, while complexity increases not from 0 to some maximum
> value but from -x to +x.  This gives you a separation of data into 4
> quadrants, which is how Perrow wants to talk about them.  So, ideally
> I would like to show an empty x and y axis, then click the button of
> my mouse, have one point show up, which I talk about for a bit, and
> then with successive clicks I can add more and more points to the
> graph.
>
> I would have thought that software to do this was common, but either
> I am picking the wrong words to search for, or this is not the case.
> Are any of you doing this already? and in that case, what do you use?
>
> Laura
>
> _______________________________________________
> Edu-sig mailing list
> Edu-sig at python.org
> http://mail.python.org/mailman/listinfo/edu-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20110915/5a3df9d4/attachment.html>


More information about the Edu-sig mailing list