draw



On Wed, 02 Jul 2008 Adam Majewski wrote

>> This may not be what you are trying
>> to do but you get a light gray canvas
>> with colored curves on top:
>> 
>> draw2d( yrange=[-3,3],
>>    fill_color=light-gray, rectangle([-3,-3],[3,3]),
>>    color=red, line_width=5, explicit(x^3,x,-3,3),
>>    color = blue, explicit(sin(4*x),x,-3,3) );
>> ---------------

> Thx. (:-))
> It looks good, only the white background is outside axes.

After gnuplot window show the plot, right click
 gnuplot icon (upper left),  select options,
background, click a color, ok,
area outside axes takes on your color.

best,
ted woollett