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

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

[Octave-bug-tracker] [bug #32821] __go_draw_axes__: operator *: nonconfo


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #32821] __go_draw_axes__: operator *: nonconformant arguments
Date: Sat, 19 Mar 2011 20:45:03 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.134 Safari/534.16

Follow-up Comment #8, bug #32821 (project octave):

I've put together an example that indicates gnuplot can do the job, but that
there is something wrong (in __go_draw_axes__, I assume).


x = rand (100, 1);
y = rand (100, 1);
z = x.^2 + y.^2; 
tri = delaunay (x, y);
cmap = colormap (jet (64));
c1 = interp1 ([min(z), max(z)], [1, 64], z);
c2 = interp1 (cmap, c1, 'nearest');
graphics_toolkit gnuplot
close all
figure (1)
h = trisurf (tri, x, y, z, c2, "facecolor", "interp", "edgecolor", "k");
graphics_toolkit fltk
figure (2)
h = trisurf (tri, x, y, z, c2, "facecolor", "interp", "edgecolor", "k");


Gnuplot is able to produce the colored triangulated patches, but the coloring
isn't correct.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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