|
From: Daniel B. <dbo...@gm...> - 2018-02-07 18:33:44
|
Thanks for the replies. On 7 February 2018 at 18:03, Ethan A Merritt <eam...@gm...> wrote: > On Wednesday, 07 February 2018 17:26:33 Daniel Boles wrote: > > Another apparent bug is that, this time in both SVG and PNGcairo (and > > probably others), the key "title" does not obey the "textcolor" set in > the > > key command (regardless of whether it comes before or after the "title" > > clause) > > Please always show what version of gnuplot you are using and > provide an example of the command that fails. > > I do not see this problem in current gnuplot (5.2.2). > I would not expect this sort of problem to depend on the terminal > type, but I confirmed that the following commands produce correct > key title color for qt, svg, and pngcairo. > > set key title "TITLE" tc "blue" > plot for [i=1:5] i*x > Yeah, 5.2 patch 2. I must not have properly tested all combinations... or realised that I need 2 textcolor clauses. It looks like (A) the textcolor after the title determines its color and (B) another textcolor anywhere else determines the color of the individual series titles. I guess this is intended and I just didn't read the docs properly? |