[Scilab-users] color question

Offe rPade oferpade at 013net.net
Wed Jun 29 11:42:30 CEST 2016


Thanks,

Uigetcolor() works nicely

 

 

From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Samuel
Gougeon
Sent: Wednesday, June 29, 2016 12:10 PM
To: Users mailing list for Scilab
Subject: Re: [Scilab-users] color question

 

Le 29/06/2016 09:40, Offe rPade a écrit :

I am using “getcolor”. But I do not know how to get rgb from the color id.

Is it possible?

with
f = gcf();
rgb = f.color_map(cid,:)
// or with Scilab 6, directly
rgb = gcf().color_map(cid,:)

You may use as well uigetcolor():
https://help.scilab.org/docs/6.0.0/en_US/uigetcolor.html

I don't know which oneof getcolor() or uigetcolor() is closer to what you
expect.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160629/c52ce63e/attachment.htm>


More information about the users mailing list