I am in need of plotting a 2D vector field, but due to the huge difference
in modulus my field experiences, I decided to link it to the color. Since
the modulus is a real variable which spans many orders of magnitude, I
defined a palette and a colorbox.
I organized the file in 5 columns, the first 4 being the ones required by
the "with vector" option, and the last one is where I store the moduli.
Essentially what I'm trying to do is to "combine" the commands "lc palette
fraction <value>" and "lc variable"/"lc rgb variable"), because I'd like the
<value> needed by the first command to be taken from the 5th column of the
This is what I'm unable to achive.
The core part of the script is:
set palette positive nops_allcF maxcolors 0 gamma 1.5 color model HSV
set palette defined ( 0 0 1 1, 1 0.75 0.75 1 )
set cbrange [0 : 1] noreverse nowriteback
set cblabel 'Current Intensity'
pl 'flowR' us 1:2:3:4:5 with vectors head filled lt 2 lc palette fraction
Do you have any suggestion? Thanks in advance.
View this message in context: http://old.nabble.com/Vector-field-with-palatte-value-from-file-tp33660783p33660783.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
Get latest updates about Open Source Projects, Conferences and News.