[Scilab-users] ?==?utf-8?q? density in a graph

Jean-Philippe Grivet jean-philippe.grivet at wanadoo.fr
Fri Jan 24 10:28:08 CET 2020


Le 23/01/2020 à 21:27, P M a écrit :
> something like this...only in gray?
> test.png
>
> Am Do., 23. Jan. 2020 um 19:08 Uhr schrieb Antoine Monmayrant 
> <amonmayr at laas.fr <mailto:amonmayr at laas.fr>>:
>
>     Hello Jean-Philippe,
>
>     I think I understand what you want to do, but there is no easy way
>     to get this in scilab.
>     The main issue is that scilab does not support transparency.
>     Otherwise, you could just plot your lines in black with 1/32 alpha
>     (or 255/32 alpha if 0 means transparent and 255 solid color).
>     For this kind of plot, I usually plot everything in scilab with a
>     dummy color (let's say blue), export in svg, edit the svg to
>     replace the dummy color by the transparent one.
>
>     Antoine
>
>
>     Le Jeudi, Janvier 23, 2020 16:35 CET, Jean-Philippe Grivet
>     <jean-philippe.grivet at wanadoo.fr
>     <mailto:jean-philippe.grivet at wanadoo.fr>> a écrit:
>
>     > Dear all,
>     >
>     > I am drawing a graph in a gray scale (say from 1 to 32), using
>     lines of
>     > different density. I would like that, in the region of
>     intersection of
>     > two lines, the shade of gray be the sum of the densities of each
>     line.
>     > How can I manage that ?
>     >
>     > Thanks in advance for any hint
>     >
>     > JP Grivet
>     >
>     >
>     > _______________________________________________
>     > users mailing list
>     > users at lists.scilab.org <mailto:users at lists.scilab.org>
>     > http://lists.scilab.org/mailman/listinfo/users
>     >
>
>     _______________________________________________
>     users mailing list
>     users at lists.scilab.org <mailto:users at lists.scilab.org>
>     http://lists.scilab.org/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

You understood perfectly, although my goal is simpler: instead of a 
blend of colors I look for a sum of densities.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200124/dfab692a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 6645 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20200124/dfab692a/attachment.png>


More information about the users mailing list