octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43975] gnuplot eps output is in color


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #43975] gnuplot eps output is in color
Date: Wed, 14 Jan 2015 17:29:33 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Follow-up Comment #5, bug #43975 (project octave):


>From some reason, the file a2.gp contains the lines

set palette positive color model RGB maxcolors 64;
set palette file "-" binary record=64 using 1:2:3:4;

that causes the problem. It seems that the mono variable
was false inside  _go_draw_axes_.m instead of being true.

Could you please comment out (only for the check) the lines


  if (length (cmap) > 0)
    fprintf (plot_stream,
             "set palette positive color model RGB maxcolors %i;n",
             cmap_sz);
    fprintf (plot_stream,
             "set palette file "-" binary record=%d using 1:2:3:4;n",
             cmap_sz);
    fwrite (plot_stream, [1:cmap_sz; cmap.'], "float32");
    fwrite (plot_stream, "n");
  endif

in _go_draw_axes_.mm and type also the value of the variable mono
before the line   if (length (cmap) > 0)

Thanks


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43975>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]