On Fri, Jul 5, 2013 at 12:54 PM, dbrant <bra...@ho...> wrote:
> No luck i'm afraid. Using the following script with multiplot and set
> objects:
>
> reset
> set term png enhanced
> set output 'test.png'
> set object 1 rectangle from screen 0,0 to screen 1,1 behind fc rgb "red"
> set object 2 rectangle from graph 0,0 to graph 1,1 behind fc rgb "green"
> set title "dave"
> set xlabel "x1"
> set ylabel "y1"
> set multiplot layout 2, 1 title "Can you see this?"
> plot sin(x)/x
> unset object 1
> set object 2 fc rgb "blue"
> set title "brant"
> set xlabel "x2"
> set ylabel "y2"
> plot cos(x)/x
> unset multiplot
>
> I can see individual graph titles but not the multiplot title.
> It is there when the screen background is not coloured
> but when colored it blocks it out for some reason!
>
I think I missed your initial query with an explanation of what you
are trying to do. But if the issue is simply that filling in the
background by using a rectangle has the side-effect of obscured some
plot elements or labels, the simple answer is to instead do
set term png enhanced background rgb "red"
and skip the set object / unset object
|