Select only certain columns to plot using data header
Posted: Tue Nov 22, 2011 4:59 pm
Hi!
Could you please implement a header command that tells DPlot to plot only certain selected columns when opening a data file? Instead of doing it manually using the "Pick Columns to Plot" check box, a command line in the header portion of a data file should let DPlot do it automatically. Such as this data file:
--------------------------------------------------------
Plot Title1
Plot Title2
Plot Title3
command header "X??YY"
X (nm) Y1 Y2 Y3 Y4
1.2, 1.4, 6, 9, 15
2.6, 4, 16.2 , 4, 2
3.9, 16.2, 9 , 12 , 10.2
--------------------------------------------------------
The command header "X??YY" tells DPlot to plot only the Y3 and Y4 columns but ignore Y1 and Y2 columns.
Thanks!
Could you please implement a header command that tells DPlot to plot only certain selected columns when opening a data file? Instead of doing it manually using the "Pick Columns to Plot" check box, a command line in the header portion of a data file should let DPlot do it automatically. Such as this data file:
--------------------------------------------------------
Plot Title1
Plot Title2
Plot Title3
command header "X??YY"
X (nm) Y1 Y2 Y3 Y4
1.2, 1.4, 6, 9, 15
2.6, 4, 16.2 , 4, 2
3.9, 16.2, 9 , 12 , 10.2
--------------------------------------------------------
The command header "X??YY" tells DPlot to plot only the Y3 and Y4 columns but ignore Y1 and Y2 columns.
Thanks!