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

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

[Octave-bug-tracker] [bug #43447] trisurf produces misplaced vertical li


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #43447] trisurf produces misplaced vertical line
Date: Tue, 23 Dec 2014 21:23:22 +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 #13, bug #43447 (project octave):

Hi,

the coloring difference is becuase of colormap change
(lines 1633-174) in __go_draw_axes__.m

 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

if you comment them out, you will get the same coloring as in fltk.

The misplaced vertical line is actually not misplaced, but a
vertical line gnuplot add in 3D image. For examples:

f = @(x,y) exp(-x.*x-y.*y);
ezmesh (f, [-1, 1]);

gnuplot draws the frontal horizontal line, from
(-1,-1,0) to (-1,-1,exp(-0.02)).
with fltk you will not see this line.

Avinoam


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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