|
From: Robert D. <rob...@gm...> - 2023-02-19 01:46:34
|
Hi, I'm working with boxes and I'd like to see if I can arrange for the line around the border of the box to be a different color than the interior of the box. I tried the following and I expected it to draw boxes which have a red interior and blue border: plot '-' with boxes fillstyle solid 0.1 linewidth 3 linecolor 'blue' fillcolor 'red' 0.2 0.3 0.1 0.4 0.8 0.1 0.6 0.4 0.1 e but what I see is that the border is red as well as the interior. When I try it without fillcolor, plot '-' with boxes fillstyle solid 0.1 linewidth 3 linecolor 'blue' 0.2 0.3 0.1 0.4 0.8 0.1 0.6 0.4 0.1 e the border is blue, as expected (and the interior is also blue, as expected, since the documentation for boxes says that the fillcolor defaults to the linecolor if not otherwise specified). Looking at the documentation for boxes, it doesn't seem to say anything about how the border color is determined, and also doesn't seem to say anything about the linecolor parameter, except to say fillcolor defaults to linecolor. Is the observed behavior for the first example to be expected, or is it a bug? Is there a way to get the border and the interior to be different colors? Thanks for any light you can shed on this, I appreciate your help. Robert Dodier |