|
From: Martin P. <ma...@po...> - 2017-11-02 11:20:17
|
Hello, I am trying to plot multiple sets of data with the boxplot style. All sets of data have their unique X axis value. In my small example, I have got it to work for X = 50, X = 55 and X = 60 in the same plot. However, I am not quite satisfied with the solution. >From boxplot.g.txt, this is the part where the X values are determined: index i using (50 + (i * 5)):1 As you can see, the X value is calculated based on the index of the set in the data file. However, I would like to use the set's numeric header instead. I have tried to replace (50 + (i*5)) by (columnheader(i + 1)), but Gnuplot complains about "undefined function: columnheader." The columnheader(i + 1) call works perfectly fine just a few characters away in the same plot line, when it is used for setting the title. How can I use the header of the data set as the X axis value? Best regards, Martin Pola |