[Scilab-users] Random colours for plot markers

Samuel Gougeon sgougeon at free.fr
Sat Jun 27 18:29:03 CEST 2020


Le 27/06/2020 à 14:10, arctica1963 a écrit :
> Thanks Rafael,
>
> That is a good solution. Would be nice if that was available directly in Polarplot

There is no actual interest having all properties combinations available 
at calling time.
It's possible and easy to post-process the polarplot display to get what 
you require.
Example:

clf  reset
t  =  linspace(0,  2*%pi,  30);
polarplot(t,  -1  +  sin(t));
c  =  gca().children.children;   // the curve
set(c,  "mark_mode","on","mark_style",3,"mark_size",4);
c.mark_foreground  =  grand(1,size(c.data,1),"uin",1,size(gcf().color_map,1)); Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200627/b5fe3660/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hmclbmaoolffifpl.png
Type: image/png
Size: 17594 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20200627/b5fe3660/attachment.png>


More information about the users mailing list