[Top][All Lists]

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

[Octave-bug-tracker] [bug #42561] gnuplot colors incorrect for 'demo tri

From: Rik
Subject: [Octave-bug-tracker] [bug #42561] gnuplot colors incorrect for 'demo trimesh'
Date: Wed, 13 Dec 2017 15:48:07 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #23, bug #42561 (project octave):

I extracted the relevant segment of the mesh from the demo and created a
simpler example.  The data and the file to run are attached.

The code in tst_bad_gnup_mesh.m is

load meshtst.var
close all
graphics_toolkit fltk
figure ("colormap", [1 0 0; 0 1 0; 0 0 1]);
hm = mesh (x, y, z, cdata)
h2 = copyobj (1)
graphics_toolkit (h2, "gnuplot")
figure (1)
title ("FLTK");
figure (2)
title ("gnuplot");

This uses a 3-color colormap of Red/Green/Blue so the difference is quite easy
to see.  This might be round-off error.

(file #42645, file #42646)

Additional Item Attachment:

File name: meshtst.var                    Size:0 KB
File name: tst_bad_gnup_mesh.m            Size:0 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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