[Scilab-users] Plot command line specification compressed to a variable
Samuel Gougeon
sgougeon at free.fr
Sun Sep 6 17:25:17 CEST 2015
Le 06/09/2015 16:28, Jens Simon Strom a écrit :
>
> I would like to replace the line specification in a plot command by a
> variable that can be used as an function input argument. E. g. the line
>
> plot([1:4],[1:4],
> 'LineStyle','none','Marker','+','MarkForeground',[255;215;0]/256)
>
> should be replaced by
>
> plot([1:4],[1:4],LS)
>
> How should LS be constructed?
>
As a list:
LS = list(LineStyle','none','Marker','+','MarkForeground',[255;215;0]/256);
used with the call:
plot([1:4],[1:4], LS(:)) // do not remove ":"
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20150906/4fed5040/attachment.htm>
More information about the users
mailing list