Modifying labels in gnuplot -
i able create following boxplot using gnuplot.
however, want xtic labels of form log(x).
for instance, label 2 written log(100), 3 log(1000) , on.
is there way can this?
you must manually using set xtics (...)
:
set xtics ('log(1)' 0, 'log(10)' 1, 'log(100)' 2, 'log(100)' 3)
to have automated bit, can loop on x-values:
set xtics ('log(1)' 0) set [i=1:5] xtics add (sprintf("log(%d)", 10**i) i)
something like
set xtics format "log(...)"
doesn't work. uses same syntax gprintf
, allows extract several information of given tic values (like mantissa, power, scientific power, hex, octal, multiple of pi etc), not perform mathematical operations on values (10**(ticvalue)
) , use result visualization.
Comments
Post a Comment