xvedi listati per

mapping, missing, multiplot, offsets,origin


# Mapping(3D)gestione mappa in grafica 3d
show mapping
splot sin(x)
pause -1
set mapping cartesian
splot sin(x)
pause -1
set mapping spherical
splot sin(x)*cos(x)
pause -1
set mapping cylindrical
splot cos(x)**2
pause -1
show mapping
 

# Missing gestione elemento da ignorare in dati da file.dat
(riferimento a C:\provagnu\datino.dat ) cartella da cercare
nel disco C: contenente un file dati con carattere K come
carattere missing

 

# dati per plot e missing
1	6	5
2	9	k
3	4	9
4	8	k
5	9	5
# datino.dat
set xrange[0:10]
set yrange[0:20]
set data style impulses
pwd
pause -1
set missing “k”  
cd 'c:\provagnu'
plot "datino.dat" using 1:($2+$3)
show missing
 

# Multiplot gestione grafica con pił grafici
set xrange[0:20]
set yrange[-2:2]
set multiplot
set size 0.5,0.5
set origin 0.1,0.1
plot sin(x)
pause -1
set size 0.5,0.5 
set origin 0.5,0.1
plot cos(x) 
pause -1
set size 0.5,0.5
set origin 0.1,0.6
plot sin(x),cos(x)
pause -1
set nomultiplot
 

# Offsets gestione posizione visualizzazione
set offsets   
show offsets
plot x
pause -1   

set offsets 2,2,2,2
plot sin(x)
show offsets
pause -1
set offsets 3,2,3,4
plot cos(x)
show offsets
pause -1
 

 
# Origin gestione origine grafico con multiplot
set xrange[0:20]
set yrange[-2:2]
set multiplot
set size 0.5,0.5
set origin 0.1,0.1
plot sin(x)
pause -1
set size 0.5,0.5 
set origin 0.5,0.1
plot cos(x) 
pause -1
set nomultiplot