that should work many thanks
butterw wrote: > > given a recarray r, r.dtype.names contains a tuple with the column names. > > It should be easy to do what you want using a loop. > > > briant100 wrote: >> >> Hey John - currently using matplotlib.mlab import csv2rec functionality >> in a script. >> >> Is there a tool or way to automate plotting of multiple y series >> contained in a csv data file (data in columns, header is first row, x >> axis is time, several y series) with varying column header names and >> varying numbers of columns depending on the individual data file? >> I particularly want to avoid manually typing individual series names -as >> this information is contained in the header row for each column of data >> it seems inefficient to have to type series names for plotting, only to >> have to retype series names for the next csv file which contains >> different column header names >> >> Plotfile came close, but doesnt seem to automatically label individual >> series by column header >> eg file formats (varying headers, and numbers of columns): >> >> file 1 >> elapsedtime,AS2data,AS45data,SE34data,VB56data >> >> file 2 >> elapsedtime,AS09data,VB24data >> > > -- View this message in context: http://old.nabble.com/record-array-and-date-support-tp11011990p31493748.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users