[Scilab-users] Transparent rectangle?

Calixte Denizet calixte.denizet at scilab-enterprises.com
Mon Jan 20 12:00:45 CET 2014


Hi Stefan,

Yes it is possible:
plot([1:2],[3:4;5:6;7:8;9:10]);
Matplot1(uint32(65408), [1 3 2 10])

65408=255*256+128, in hex notation 65408 is x0000FF80 (so it's a 
semi-transparent blue)
When Matplot first argument is uint32, data are considered to be in 
format RGBA, there are more information at image_type entry:
http://help.scilab.org/docs/5.5.0-beta-1/en_US/Matplot_properties.html

Best regards

Calixte

On 19/01/2014 20:12, Stefan Du Rietz wrote:
> Hi all,
> is it possible to draw a filled coloured rectangle after lines so that 
> those lines can still be seen trough it?
>
> Regards
> Stefan
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users


-- 
Calixte Denizet
Software Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
http://www.scilab-enterprises.com

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


More information about the users mailing list