Menu

key text color with png

Help
2004-02-05
2004-02-05
  • Bonyoung Koo

    Bonyoung Koo - 2004-02-05

    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.

     
    • Hans-Bernhard Broeker

      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.

       
    • Bonyoung Koo

      Bonyoung Koo - 2004-02-05

      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.

       
      • Hans-Bernhard Broeker

        > 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.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.