|
From: Micha W. <mw...@gm...> - 2008-02-16 20:37:13
|
Hi, Are there any arguments against changing gnuplots default colors to help people with color blindness? I think red and green following immediatly each other is rather poor. Here is my email from gnuplot-info: Hernán Gonzalo Asorey wrote: > On Thu, Feb 14, 2008 at 8:57 AM, Micha Wiedenmann <mw...@gm...> wrote: >> Hi there, >> >> gnuplot default colors seem to be >> >> 1 red >> 2 green >> 3 blue >> 4 magenta >> 5 cyan >> ... >> >> I think it would be helpful for people with color blindness to change >> that order into >> >> 1 red >> 2 blue >> 3 magenta >> 4 cyan >> 5 green >> >> This makes the clas of red and green less likely. >> >> A workaround is using linetype in the plot command as in >> >> plot [][-1:1] sin(x), cos(x) lt 3, tan(x) lt 4, x lt 5, x**2 lt 2, x**3 >> >> or defining line styles >> >> set style line 2 lc 3 >> set style line 3 lc 4 >> set style line 4 lc 5 >> set style line 5 lc 2 >> set style increment user >> plot [][-1:1] sin(x), cos(x), tan(x), x, x**2, x**3 >> >> But this is lots of work on a day by day basis and I see no argument >> against change gnuplots default, at least moving green down in the color >> list. > > This is a good idea. As far as I know you can "pseudo-implement" that > by seting the .gnuplot file (or GNUPLOT.INI) in your home directory: > > "[...] If the initialization file is found, `gnuplot` executes the > commands in it. > These may be any legal `gnuplot` commands, but typically they are limited to > setting the terminal and defining frequently-used functions or variables." > > (see help .gnuplot for further details). > Cheers, > > Hernán |