I'm plotting something like
splot 'data.txt' u 1:2:3:4 w l lc palette
I would like to change alpha (transparency) value with respect to column $5.
Is it possible?
Or in my current case, I would like to change alpha with respect to ($1**2+$2**2+$3**2).
Is there a way to do it?
I know that I can do something like using #AARRGGBB to specify alpha and color.
But I would like to use palette (for ease) to get color and set alpha separately.
Last edit: Masahiro Takahashi 2016-01-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On Friday, 08 January 2016 03:31:03 AM Masahiro Takahashi wrote:
I'm plotting something like
splot 'data.txt' u 1:2:3:4 w l lc palette
I would like to change alpha (transparency) value with respect to column $5 for example.
Is it possible?
Or in my current case, I would like to change alpha with respect to ($12+$22+$3**2).
Is there a way to do it?
I know that I can do something like using #AARRGGBB to specify alpha and color.
But I would like to use palette (for ease) to get color and set alpha separately.
So far as I know the only context in which you can combine transparency with
a palette color is by using a transparent fill style.
I'm plotting something like
splot 'data.txt' u 1:2:3:4 w l lc palette
I would like to change alpha (transparency) value with respect to column $5.
Is it possible?
Or in my current case, I would like to change alpha with respect to ($1**2+$2**2+$3**2).
Is there a way to do it?
I know that I can do something like using #AARRGGBB to specify alpha and color.
But I would like to use palette (for ease) to get color and set alpha separately.
Last edit: Masahiro Takahashi 2016-01-08
On Friday, 08 January 2016 03:31:03 AM Masahiro Takahashi wrote:
So far as I know the only context in which you can combine transparency with
a palette color is by using a transparent fill style.
For example:
plot FOO with filledcurves \ fillcolor palette fraction 0.75 \ fillstyle transparent solid 0.55
That is unfortunately not very close to what you are asking for.
I would like to change the transparency in each line.
But thanks anyway!