Menu

#4102 histogram_description ignores color

None
wont-fix
nobody
5
2023-02-20
2023-02-15
No

histogram_description in descriptive ignores color; the histogram is always red. E.g.:

draw2d (color = blue, histogram_description ([1, 2, 3, 4, 5, 6]));

Inspecting the Gnuplot output file, I see

plot '/tmp/data666684.gnuplot' index 0 notitle w boxes fs solid 0 lw 1 lc rgb '#ff0000' axis x1y1

The rgb specification presumably should reflect color = blue.

Discussion

  • Robert Dodier

    Robert Dodier - 2023-02-20
    • status: open --> wont-fix
     
  • Robert Dodier

    Robert Dodier - 2023-02-20

    It turns out histogram honors fill_color instead of color. It's a little unintuitive, but there's no way to draw a bar (via Gnuplot boxes) with different colors for the interior and the border, so it seems there's no good reason to pursue it on the Maxima side. In any event, fill_color does the job. Closing this ticket as "won't fix".

     

Log in to post a comment.