[Scilab-users] Changing properties of mark_mode polyline in param3d1

P M p.muehlmann at gmail.com
Sun May 1 23:09:57 CEST 2022


Hello,

are you bound to param3d1 or can you use scatter3d instead?

scatter3d([1 2 3],[3 4 2],[5 2 4],36,['red1' 'green1'
'blue1'],'fill');a = gca();a.data_bounds = [0,0,0;7,7,7];

BR

Philipp


Am Fr., 29. Apr. 2022 um 12:57 Uhr schrieb Izabela Wójcik-Grząba <
iwoj at il.pw.edu.pl>:

> Hello,
>
> I have a simple example of param3d1 graph:
>
> param3d1([1 2 3],[3 4 2],[5 2 4]);
>
> h=gce();
>
> h.line_mode="off";
>
> h.mark_mode="on";
>
> h.mark_sytle=9;
>
> h.mark_size=1;
>
> h.mark_foreground=13;
>
> h.mark_background=13;
>
> I would like to ask if it's possible to change properties of marks
> individually? My main goal is to change colors using colormap according to
> the values assigned to each mark (point on the graph). As an illustration
> of my problem I give a vector of values and colors for the 3 points:
>
> [1 2 3]
>
> [red green blue]
>
> I know how to do it for line_mode="on", but for mark_mode the structure of
> figure is different.
>
> Thanks in advance for any help. Regards,
>
> Iza
> --
> Izabela Wójcik-Grząba
> Zespół Konstrukcji Metalowych
> ZKBiM IIB WIL Politechnika Warszawska
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20220501/c5a782af/attachment.htm>


More information about the users mailing list