[Scilab-users] Transparent rectangle?

Stefan Du Rietz sdr at durietz.se
Mon Jan 20 22:07:25 CET 2014


On 2014-01-20 11:04, Serge Steer wrote:
--------------------
> Hi Antoine,
>>> I understand that I could draw the lines after the coloured rectangle
>>> to get them visible, but I cannot do that. So, I need the rectangle to
>>> be transparent.
>>>
>> What do you mean by "rearrange the order"?
>>
> Here is an example
> clf;
> xpoly([0 1],[0,1]);p=gce();
> xfrect([0.2 0.3 0.2 0.2]);r=gce();r.background=5;
> swap_handles(p,r)
>
Hi Serge,
I thank you for this reply to *me*.

Your suggestion showed up to be the best solution for me.

My problem was that I had two different axes with the same rectangle. 
I had to draw two different rectangles in the two axes to make it work.

Stefan

> Serge
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list