Hi,
I am analyzing some data through a script. In particular, I have three variables, namely A, B and C, and they represent three properties of a picture. To plot the picture in function of these three properties, I'm used to color the different rows using the Row State property:
For each row( dt,
Color Of() = RGB Color(:A, :B, :C) );
In this way, each point/row has a RGB color 1:1 matching the values of the three variables.
I'm trying to plot the picture with the Graph Builder and to put in its Color option this specific RGB colorcode, because I had in the subsequent code to clear the Row States. In particular, col and row are the coordinates of my picture and RGB is a new column I had created with the formula: Color Of() = RGB Color(:A, :B, :C);
Map = dt << Graph Builder(
Show Control Panel( 0 ),
Variables( X( :col ), Y( :row ), Color(:RGB) ),
Elements( Points( X, Y, Legend( 4 ) ) )
) ;
The problem is that GB consider the column RGB as a column of values not as a column of decoded colors.
Any idea to convert that RGB colorcode I'm used to in a color theme for GB?
Thanks!