[Scilab-users] Colored point over a black and white mesh

contact at pierre-vuillemin.fr contact at pierre-vuillemin.fr
Wed Jul 8 15:07:27 CEST 2015


Hello

I would like to display one single colored point over a black and white 
mesh, and I cannot find a way to do it. So far, I have tried this code :

mesh([1,2],[1,2]',[1,2;3,4])
set(gca(),"auto_clear","off")
param3d(1, 1, 2);
e                   = gce();
e.foreground        = color("red");
e.mark_mode         = "on";
e.mark_size         = 3;
a                   = gca();
a.rotation_angles   = [65 168];

yet as "e.foreground" should be a color index of the current color map, 
it does not do what I would like.

Any ideas?






More information about the users mailing list