> something like: <hansl> gnuplot Attendance --time-series
--fit=loess {
> set linetype 1 lc rgb '#1b9e77'; set linetype 2 lc rgb '#d95f02'; }
> </hansl>
>
> did work in the past, but no more. At least I am very sure I used it
> in the past... I have some such scripts). The "#" is interpreted as
> comment character, at least the highlighter indicates this. I guess
> this is a bug? Or am I missing something?
I'm not sure if anything has in that regard, and if so when it changed, but
anyway: either put the #1b9e77 into double quotes
("#1b9e77") or substitute "0x" ('0x1b9e77') and you'll be
OK.
Allin
Many thanks! I will remind the substitute "0x". The double quotes I could not
use as I originally used a string substitution, in specific I wanted to pass:
string standard_colours_gnuplot = "set linetype 1 lc rgb '0x1b9e77'; set
linetype 2 lc rgb '0xd95f02'; set linetype 3 lc rgb '0x7570b3'; set
linetype 4 lc rgb '0xe7298a'; set linetype 5 lc rgb '0x66a61e'; set
linetype 6 lc rgb '0xa6611a'"
via { @standard_colours_gnuplot; }
now it is working. Many thanks!