Color look-up table example
Plotting with a periodic LUT
Commands:
set box 8,7,0.0001
set zoom 1.6
set view 0,90
set shift -30,-10
draw box
set edge_col 0,0,0
set line_col 255,255,255
set using 3
set lut color7.lut
set periodic_lut yes
set xrange -4.0,4.0
set yrange -3.5,3.5
set appear fse
draw mesh cyl.dat
set font 9x15bold
xaxis -1,-1 ct
yaxis -1,-1 rc
set cb_pos 580,60
set cb_size 32,240
draw color 8,0
"color7.lut" file:
0.0 1.0,1.0,1.0 0.5 0.0,0.0,1.0 40
0.5 0.0,0.0,1.0 1.0 1.0,1.0,1.0 40
Files:
- Shell script: pix0.run
- Data set: cyl0.dat
- LUT file: color7.lut
- Shell script to generate Data set:
scilab0.run
back