next up previous contents index
Next: Xticlabels Up: Using Previous: Using_examples   Contents   Index


Using title

If gnuplot is built with configuration option -enable-datastrings, then the first entry of a column of the input data file can be used as a string to provide the plot title in the key box. The column containing specified is independent of the column[s] used for the plot itself.


  plot 'data' using 1:($2/$3) title column(N)

In this case the entry in the first row of column N will be used for the key entry of the plot constructed from dividing column 2 by column 3. The entry in the first row of columns 2 and 3 will be ignored.



2010-11-23