Matt Fago ha scritto:

I'm elated to have found matplotlib after struggling with octave and gnuplot.

There is one thing that I think matplotlib could improve on (or that I cannot find)
-- quick plotting a la gnuplot:

   plot "file.txt" using 1:2 with lp

For matplotlib, perhaps something like the following:

   fplot("filename", cols=(1,5), delimiter=',', numheader=2)

This would allow quick plotting of simple columnar data files, using some (default) assumptions of the file format. I.e, delimiter could be 'intelligently' chosen based on some assumptions of the file, or set explicitly. Similarly for the
number of header rows, etc.

Are there any plans for such a feature, or does it already exist? Probably would
not be too difficult to implement if no one else is planning to do so.

IMHO it could be done very easily using the csv python module. I'm
currently using a script that does almost exactly that for kernel
density estimation. :)

If someone holds my hand about mpl guidelines etc., I could try to
contribute a general fplot to pylab / mpl.

m.
--
Massimo Sandal
University of Bologna
Department of Biochemistry "G.Moruzzi"

snail mail:
Via Irnerio 48, 40126 Bologna, Italy

email:
[EMAIL PROTECTED]

tel: +39-051-2094388
fax: +39-051-2094387

begin:vcard
fn:Massimo Sandal
n:Sandal;Massimo
org:University of Bologna;Department of Biochemistry
adr:;;Via Irnerio 48;Bologna;;40126;Italy
email;internet:[EMAIL PROTECTED]
tel;work:+39-051-2094388
tel;fax:+39-051-2094387
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to