Re: [Scilab-users] How to create transparent polygon

2019-11-17 Thread jaipur
Thank you all. I understand that scilab has the ability to draw transparent polygon any way. But changing of pixel_drawing_mode property affect already existent way of drawing, we have to be careful when doing. Especially when changing of pixel_drawing_mode property two or more times. Thank you.

Re: [Scilab-users] How to create transparent polygon

2019-11-11 Thread Chin Luh Tan
the previous method is the implementation as suggested by Samuel, another approach would be using Matplot. you could play with the last line obj1 and obj2 (alpha blending) to get the desired intersection color.  x = zeros(100,100,3); obj1 = x; obj2 = x; obj1(21:60,21:60) = 1; obj1(:,:,2:3)

Re: [Scilab-users] How to create transparent polygon

2019-11-11 Thread Chin Luh Tan
Hi, If it is not necessary to have real transparent color mixing, but just want to have the transparent effect, you could try to play with the "pixel_drawing_mode".  f = figure("background", 1,"pixel_drawing_mode", "or"); plot2d(0,0,-1,"010"," ",[-2,-2,2,2]); x=sin(2*%pi*(0:4)/5); y=cos(2*%pi*(

Re: [Scilab-users] How to create transparent polygon

2019-11-09 Thread Samuel Gougeon
Le 09/11/2019 à 14:19, jaipur a écrit : Dear all When making a polygon by xpoly for example, can we set transparency effect as the following polygon? No, AFAIK it is not properly possible. There is just the *gcf().**pixel_drawing_mode property*, but it's a global one for the whole figure, and

[Scilab-users] How to create transparent polygon

2019-11-09 Thread jaipur
Dear all When making a polygon by xpoly for example, can we set transparency effect as the following polygon? If it's possible, could you suggest the way of doing? Regards Hiroshi Tachihara -- Sent from: http://mailinglists.scil