|
From: Daniel J S. <dan...@ie...> - 2005-01-10 23:41:12
|
Ethan Merritt wrote: >On Monday 10 January 2005 11:05 am, Harald Harders wrote: > > >>Is there a way to fill the plot area with a background color? >>What I mean is similar to this example: >> >>set terminal postscript eps color rounded linewidth 2 >>set output 'asdf.eps' >>set style line 1 lt 1 lw 4 >>set style line 9999 lt 6 lw 1 >>set style fill solid 1 >>plot 1 with filledcurves above y1=-1 ls 9999,\ >> sin(x) ls 1 >> >>Unfortunately, the tics are lost here. >> >> > >To get your tics back, add the command > set grid front nox noy noz > > If the density of the fill is set to 0.3 or so, this turns out really nice. Sort of what I had in mind a few months back... Well, it looks good in PostScript that is, because the background is pastel yellow... which probably is almost always going to be the preferred color for such things. In x11, the color is brown, which you can guess what that looks like. In any case, this begs the question, why isn't there a demo for this sort of thing? Dan |