I need the calculated y-values by gnuplot. How do I get those values. In this example, de values 100 and -700.
I looked between all default variables gnuplot but could not find it.
Let me try to explain:
First an example
Here you can see the problems. I have the offset set to white into the column when possible en black out of the column. But that depends of course on the values y-min and y-max. I think, when I have these values I can calculate the offset. Now I have only a hard value;
"<tail -60 log.txt" u 1:(-($12)):($12>300 ? (-$12) : sprintf("")) w labels left font ",10" tc rgb "white" rotate offset 0,0.2 notitle,\
"<tail -60 log.txt" u 1:(-($12)):(($12<=300 && $12>0) ? (-$12) : sprintf("")) w labels left font ",10" tc rgb "black" rotate offset 0,-1.7 notitle,\
Maybe there is a trick or other solution?
Here example number 3.
I tried:
set terminal unknown
plot "<tail -60 log.txt" using 9:12
print GPVAL_Y_MAX, GPVAL_Y_MIN
replot
And I get the values: 650,0 150,0 and they are the values of column 12, thats ok but not the values of the y-axis and only below the zero. (see example 3) What do I wrong or do not understand?