the behaviour of
lc variable and
tc variable is inconsistent, the documentation says:
lc variable tells the program to use the value read from one column of the input data as a linetype index, and use the color belonging to that linetype. This requires a corresponding additional column in the using specifier. Text colors can be set similarly using tc variable.
tc variable always uses a linetype, while
lc variable uses a linestyle, if avaible, and the linetype otherwise.
Consider the following example. In the upper plot, both points and labels use the respective linetype. In the lower plot, after defining some linestyles, the points use the linestyles, and the labels still use the linetype:
$db <<EOF first 1 second 2 third 3 EOF set offsets 0.5,0.5,0.5,0.5 unset key set multiplot layout 2,1 plot $db using 2:2:2 with points pt 7 lc variable,\ $db using 2:2:1:2 with labels offset -1,1 tc variable set style line 1 lc rgb "aquamarine" set style line 2 lc rgb "coral" set style line 3 lc rgb "#eeee00" replot unset multiplot
tc variable also use the line styles? Or is
lc variable buggy and should not use the linestyle? Or should the documentation be adapted accordingly?
I attach the output of the above script, as produced using the current CVS version.