In the released version of gnuplot (v3.7.3) the color of key text is the same as each plot in the graph.
In the new pre-released version (v3.8k), however, I found that the color of key text is all black.
I prefer key text with the color of each plot.
How can I achieve this with png terminal?
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> 1. The two versions use the same libpng and libgd.
No, they don't. Your build of 3.7.3 doesn't use libgd at all, according to the 'show version long' output. See that "-LIBGD" there? It means the 3.7.3 build didn't see any libgd, and so it doesn't use it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the released version of gnuplot (v3.7.3) the color of key text is the same as each plot in the graph.
In the new pre-released version (v3.8k), however, I found that the color of key text is all black.
I prefer key text with the color of each plot.
How can I achieve this with png terminal?
Thanks in advance.
You're omitting some factors in your description that influence this behaviour:
1) Which PNG driver do those two binaries use?
2) Are you sure this behaviour actually occured in the PNG output, rather than on-screen?
Check 'show version long' output for difference between these versions, beside the version number.
1. The two versions use the same libpng and libgd.
2. Yes, I checked the actual png outputs.
from 'show version long'
v3.7 patchlevel 3 - compile options:
-READLINE +LIBREADLINE -LIBGD +LIBPNG +NOCWDRC +X11
v3.8k patchlevel 0 - compile options:
+READLINE -LIBREADLINE +GD_PNG +GD_JPEG +GD_TTF -PNG -NOCWDRC +X11 +USE_MOUSE
I don't know why they behave differently. I welcome any suggestions.
> 1. The two versions use the same libpng and libgd.
No, they don't. Your build of 3.7.3 doesn't use libgd at all, according to the 'show version long' output. See that "-LIBGD" there? It means the 3.7.3 build didn't see any libgd, and so it doesn't use it.