|
From: Roman D. <rom...@gm...> - 2013-05-03 20:46:03
|
Hi,
I'm stuck with my candlesticks plot.
Its purpose is to be rotated by 90 and placed in first column of a table,
so I need it to be slim and occupy 100% of image width (height when
rotated).
* I get warning when I run gnuplot:
------------------------------------------------------
% gnuplot tmp.gp
"tmp.gp", line 27: warning: Terminal canvas area too small to hold plot.
Check plot boundary and font sizes.
------------------------------------------------------
* there are some dashes at the corners of the plot (please see attached
image)
* borders around boxes overlap with filled areas
* plot itself doesn't seem to occupy 100% of image width
gnuplot build from source on ubuntu, with libgd2-xpm-dev installed
% gnuplot --version
gnuplot 4.6 patchlevel 3
------------------------------------------------------
set term png size 100, 500
set term png font "OpenSans-Regular,14"
set output "out.png"
unset key
unset border
set size 1.00, 0.6
set origin 0.0, 0.2
set ylabel "Super Chart" font "OpenSans-Regular,16"
unset xtics
set ytics ("Lowest" -3.0) rotate by 90 right offset graph 0.3, -0.05
set y2tics ("Highest" 3.0) rotate by 90 left offset graph -0.3, 0.05
set xzeroaxis
set xrange [0.0 : 1.0]
set yrange [-3.0 : 3.0]
set style fill solid border lc rgb "#8C9F1E"
set boxwidth 0.08
plot "data" with candlesticks linecolor rgbcolor variable
------------------------------------------------------
data:
0.2 -0.15499999999999997 -3.0 0.665 0.5569999999999999 0x266A23
0.35 -0.21100000000000002 -3.0 0.665 0.577 0x060555
0.5 -0.367 -3.0 0.665 0.677 0x5B0B0B
Thanks in advance,
Roman.
|