bargraph
bargraph copied to clipboard
Unable to place rectangle object using extraops
I have a label on my plot that is obscured by some of the bars. I wish to put a white rectangle behind the label in order to make it visible. However, when I attempt to add such a rectangle by doing e.g.:
extraops=set object 1001 rect from graph 0.0, graph 0.0 to graph 1.0, graph 1.0 back fc rgb "white" fs solid noborder
(where I've deliberately made the rectangle large for testing purposes) then I get an error:
./bargraph.pl continuity_opt.dat > continuity_opt.eps Boxes should not be different widths (7036 vs 74): report this! Incomplete line object at line 210.
I've attached my full script to this issue.
My system:
- Version 4.7 of bargraph.pl
- gnuplot 4.6 patchlevel 4
- $ uname -a Linux polo-vm 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
- $ perl --version perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi