Gnuplot, yerrorbar, text as x axis -
i have following data:
t4.8k 1.84 1.86 1.83 t5.8k 1.82 1.84 1.8 t7.10k 1.79 1.8 1.77 t8.8k 1.8 1.84 1.76
i need plot in gnu plot using yerror bars.
column1 - dataset name. xaxis scale. column2 - y-mean column3 - y-max column4 - y-min
here plotting code use:
plot "chameleonconfidence.dat" using xtic(1):2:4:3 title "ratio of time taken" yerrorbars
but gives me following error
warning: empty x range [4.94066e-324:4.94066e-324], adjusting [4.94066e-324:4.94066e-324] "chameleonconfidence.gplot", line 15: x_min should not equal x_max!
can me this?
this works me.
set xrange [-1:4] title="ratio of time taken" plot "chameleonconfidence.dat" using ($0):2:4:3:xticlabels(1) yerrorbars title title
the xtic
function doesn't replace x-values in file -- automagic field can add using specification add xticlabels on axis. basically, need line number ($0
) x value , set (moving xtic(1)
end of using spec)
Comments
Post a Comment