Hello,
I need some help with a param3d1 graph. Each polyline should have color
from a colormap according to the value assigned in a T vector. Here is a
simple example (not finished): X=[0.5 1.5 1.5 ; 1.5 2.5 1.5]; Y=[0.5 1 1 ; 1 0.5 2]; Z=[0 1 1 ; 1 2 3]; T=[2 1 3]; [sorted_T, index_sort_T]=gsort(T , 'g' , 'i'); colors=zeros(size(T , 'r'); colors(index_sort_T , :)=jetcolormap(size(T , 'r'); param3d1(X,Y,Z); h=gca().children(1); h.children.thickness=4; for i=size(T,'r') h.children(i).color=??? end
Instead of question marks there should be a color index, but I don't
know how to define it using jetcolormap.
I would be grateful for your kind help,

--
Izabela Wójcik-Grząba
Zespół Konstrukcji Metalowych
ZKBiM IIB WIL Politechnika Warszawska
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to