![]() Also we define a black line to plot the significance indicator (arrow). Note that we have to define two more colors for the boxes, because we use three different colors. The color definitions and axes settings are done in a similar way as in the previous blog entry. Now every instrument is stored in a different data block containing both conditions as columns. Note that the data have two empty lines between the blocks in the real data file: Therefore we store our data in a format, that can be used by the index command in Gnuplot. 1 Plot the mean and variance of the given data ( code to produce this figure) The other settings in the file define the width of a single bin plotted as a box and its fill style.įig. Hist = 'u (binwidth*(floor(($1-binstart)/binwidth)+0.5)+binstart):(1.0) smooth freq w boxes'įor a detailed discussion on why calculates a histogram you should have a look at this discussion and the documentation about the smooth freq which basically counts points with the same x-value. # define macro for plotting the histogram The content of hist.fct, including the definition of looks like this ![]() The macro is defined in an additional file hist.fct and loaded before the plotting command. They were both given as one dimensional data and plotted with a defined macro that is doing the histogram calculation. 1 you see two different distributions of measured angles. ( code to produce this figure, hist.fct, data) 1 Two different distributions of measured angles.
0 Comments
Leave a Reply. |