From: Michael H. <mh...@al...> - 2009-03-01 08:33:51
|
Matt Ball wrote: > What is the easiest way to create a scatterplot using gnuplot.py? I > simply need to plot sets of data points as (x,y) pairs, but can't find > any reasonable documentation on this. I know I can plot a 1D Python > array by passing that array to a plot() command (in Python, of > course), but I can't do the same if I pass in a 2D array, e.g. where > array[*][0] is the x-coordinate and array[*][1] is the y-coordinate. > Surely there must be a dead-simple way to do this that I'm missing! demo.py has some examples. Michael |