3d examples

Three plot of the same data set
using simple light effect - render option
3d0 commands:
set box 2,2,1

set zoom 1.25

set view 20,30
set shift 0,-30

set line_c 255,0,0
set face_col 63,63,197
set hidden_col 227,227,227
set edge_col 197,197,0

set render_am 0.1
set appearance fre
draw mesh dings.mesh

set line_w 1

set face_c 20,20,20
set border_width 3
set grid_border yes
set border_c 255,127,0

draw xy_grid -1 0,0
draw xz_grid +1 2,2
draw yz_grid -1 2,2

set font 9x15bold
set line_c 255,127,0

xaxis -1,-1 ct
yaxis +1,-1 lc
zaxis -1,-1 rc

using color look-up-table (LUT) - shade option
3d1 commands:
back 63,63,63
set box 2,2,1

set zoom 1.25

set view 20,20

set line_w 1
set line_c 0,0,255
draw box

set lut color4.lut
set using 3

set appearance fse
draw mesh dings.mesh

set font 9x15bold
set text_bg 63,63,63

xaxis -1,-1 ct
yaxis +1,-1 lc
zaxis -1,-1 rc

set cb_pos 400,20
draw color -2,2

using exchanged coordinates
3d1 commands:
set box 3,2,2
set zoom 1.2

set view -50,30
set shift -30,-30

set line_w 1

set edge_col 0,0,0
set coord 3,2,1
set using 3
set lut color7.lut

set yrange -4,4
set zrange -4,4
set xrange -2.5,2.5

set appear fse
draw mesh dings.mesh

set font 9x15bold
set line_col 255,255,0

xaxis -1,-1 lt
yaxis -1,-1 rt
zaxis -1,+1 rc

set face_col 127,127,127
draw xy_grid -1 2,2
draw yz_grid +1 2,2
draw xz_grid +1 2,2

set cb_pos 580,30
set cb_size 32,240
draw color 2,-2

color4.lut:
-2.0 0.1,0.0,0.1  -1.5 0.7,0.0,0.7  33
-1.5 0.7,0.0,0.7   0.0 1.0,0.0,0.0  33
 0.0 1.0,0.0,0.0   2.0 1.0,1.0,0.0  66

color7.lut:
-2.0    1.0,1.0,1.0  2.0   0.0,0.0,1.0  40

Files:
Shell script example 1: pix0.run
Shell script example 2: pix1.run
Shell script example 3: pix2.run
Data set: dings.mesh
LUT file: color4.lut
LUT file: color7.lut

back