sfgrey (3.0)
index
plot/main/grey.c
Generate raster plot.

 
Synopsis
        sfgrey < in.rsf > out.rsf > bar.rsf transp=y yreverse=y xreverse=n gpow= phalf= clip= pclip= gainstep=0.5+n1/256. allpos=n mean=n bias=0. polarity=n symcp=n verb=n scalebar=n minval= maxval= barreverse=n wantframenum=(bool) (n3 > 1) nreserve=8 gpow=1 gainpanel= bar= color= > (plot.vpl | char.rsf)
Can input char values.
If called "byte", outputs char values.

If called "bar", outputs scalebar data.

Run "sfdoc stdplot" for more parameters.

March 2015 program of the month:
http://ahay.org/blog/2015/03/04/program-of-the-month-sfgrey/

 
Parameters
       
 
bool allpos=n [y/n]
if y, assume positive data
 
string bar=
file for scalebar data
 
bool barreverse=n [y/n]
if y, go from small to large on the bar scale
 
float bias=0.
value mapped to the center of the color table
 
float clip=
data clip
 
string color=
color scheme (default is i)
 
string gainpanel=
gain reference: 'a' for all, 'e' for each, or number
 
int gainstep=0.5+n1/256.
subsampling for gpow and clip estimation
 
float gpow=1
raise data to gpow power for display
 
float maxval=
maximum value for scalebar (default is the data maximum)
 
bool mean=n [y/n]
if y, bias on the mean value
 
float minval=
minimum value for scalebar (default is the data minimum)
 
int nreserve=8
reserved colors
 
float pclip=
data clip percentile (default is 99)
 
float phalf=
percentage for estimating gpow
 
bool polarity=n [y/n]
if y, reverse polarity (white is high by default)
 
bool scalebar=n [y/n]
if y, draw scalebar
 
bool symcp=n [y/n]
if y, assume symmetric color palette of 255 colors
 
bool transp=y [y/n]
if y, transpose the display axes
 
bool verb=n [y/n]
verbosity flag
 
bool wantframenum=(bool) (n3 > 1) [y/n]
if y, display third axis position in the corner
 
bool xreverse=n [y/n]
if y, reverse the horizontal axis
 
bool yreverse=y [y/n]
if y, reverse the vertical axis

 
Used In
       

 
BEI
        dpmv/krchdmo
dpmv/matt
dpmv/yalei
dwnc/phasemod
dwnc/sigmoid
dwnc/vofz
fdm/kjartjac
fld/cube
fld/shotmovie
fld/synmarine
fld/yc
ft1/brad
ft1/brad
ft1/ft2d
ft1/matrix
ft1/plane4
krch/alias
krch/beach
krch/sep73
krch/wgkirch
sg/denmark
sg/meander
sg/toldi
trimo/all
trimo/subsamp
vela/stretch
vela/vscan
wvs/head
wvs/vscan

 
CHEN
        test/fpca
test/wavmod

 
CUP
        rna2d/real
rna2d/shot
rna2d/simple
rna3d/real
rna3d/real
rna3d/shot
rna3d/sin
rna3d/sin

 
CWP
        geo2006TimeShiftImagingCondition/flat
geo2006TimeShiftImagingCondition/icomp
geo2006TimeShiftImagingCondition/zicig
geo2007StereographicImagingCondition/flat4
geo2007StereographicImagingCondition/flat4
geo2007StereographicImagingCondition/gaus1
geo2007StereographicImagingCondition/gaus1
geo2007StereographicImagingCondition/sigsbee2
geo2008InterferometricImagingCondition/circle
geo2008InterferometricImagingCondition/circle
geo2008InterferometricImagingCondition/sact1
geo2008InterferometricImagingCondition/sact1
geo2008InterferometricImagingCondition/sigs2
geo2008InterferometricImagingCondition/sigs2
geo2008IsotropicAngleDomainElasticRTM/marm2allA
geo2008IsotropicAngleDomainElasticRTM/marm2allA
geo2008IsotropicAngleDomainElasticRTM/marm2oneA
geo2008IsotropicAngleDomainElasticRTM/marm2oneA
geo2008NumericWEMVAoperators/flatWEMVA
geo2008NumericWEMVAoperators/saltWEMVA
geo2009TTIModeSeparation/fold
geo2009TTIModeSeparation/fold
geo2009TTIModeSeparation/marmousi2
geo2009TTIModeSeparation/marmousi2
geo2009TTIModeSeparation/operator
geo2009TTIModeSeparation/operator
geo2009TTIModeSeparation/tti3
geo2009TTIModeSeparation/vti3
geo2009VTIModeSeparation/aniopsize
geo2009VTIModeSeparation/aniopsize
geo2009VTIModeSeparation/oporder
geo2009VTIModeSeparation/oporder
geo2009VTIModeSeparation/separate2
geo2009VTIModeSeparation/separate2
geo2009VTIModeSeparation/separate3
geo2009VTIModeSeparation/separate3
geo2009VTIModeSeparation/separate5
geo2009VTIModeSeparation/separate5
geo2009VTIModeSeparation/sigsbee
geo2009VTIModeSeparation/sigsbee
geo2011WideAzimuthAngleDecomposition/flatEICangle
geo2011WideAzimuthAngleDecomposition/flatEICangle
geo2011WideAzimuthAngleDecomposition/seam357
geo2011WideAzimuthAngleDecomposition/seam357
jse2006RWEImagingOverturningReflections/sigsbee
pept2011MicroearthquakeMonitoring/saf1
pept2011MicroearthquakeMonitoring/saf1
pept2011MicroearthquakeMonitoring/saf2
pept2011MicroearthquakeMonitoring/saf2
pept2011MicroearthquakeMonitoring/saf3
pept2011MicroearthquakeMonitoring/saf3

 
DATA
        alaska/foldplot
alaska/line31-81-m8r
alaska/line31-81-m8r
amoco/fdmod
amoco/model
amoco/shots
bpait/model
bptti/modl
freeusp/land
freeusp/land
marmousi/fdmod
marmousi/model
marmousi/shots
marmousi2/curl
marmousi2/div
marmousi2/fdMod
marmousi2/model
marmousi2/vx
marmousi2/vz
marmousi2mp/modelproc
nankai/data
nankai/data
nankai/shots
nankai/shots
nankai/stack
overthrust/model
p-cable/geom
p-cable/geom
p-cable/stack
pluto/data
pluto/fdmod
pluto/model
pluto/mult
pluto/shot
seam-phase1-2d/cvs
seam-phase1-2d/fetch
seam-phase1-2d/fetch
seam-phase1-2d/sfmshots
seam-phase1-2d/sfmshots
segsalt/data
segsalt/modl
segsalt/modl
sigsbee/data2A
sigsbee/fdmod2A
sigsbee/fs2B
sigsbee/model2A
sigsbee/model2B
sigsbee/nfs2B
sigsbee/ptest
sigsbee/pwemig
sigsbee/wemig
teapotdome/fetch
teapotdome/fetch
teapotdome/firstlook
teapotdome/geom
teapotdome/nmostack
teapotdome/nmostack
teapotdome/scdecon
teapotdome/scdecon
teapotdome/tahnmostack
teapotdome/tahnmostack
teapotdome/tahscscale
teapotdome/tahscscale
teapotdome/tahsubset
teapotdome/tahsubset
teapotdome/vels
teapotdome/vels
teapotdome/zomig
teapotdome/zomig
viking/basicm8r
viking/basicsu
viking/decon
viking/fetch
viking/firstlook
wggom/model

 
EEG
        marchenko/example

 
GALLERY
        bp/lowrank
bp/model
bp/model
bptti/model
bptti/model
constant/gazdag
constant/kirch
constant/lowrank
constant/model
constant/model
constant/oway
constant/stolt
constant/vc
french/gazdag
french/lowrank
french/model
french/oway
french/stolt
french/vc
french/vc
gradient/fakirmig
gradient/lowrank
gradient/model
gradient/model
gradient/oway
hessvti/model
hessvti/model
marmousi/ffd
marmousi/lowrank
marmousi/model
marmousi/model
model94/model
model94/model
overthrust/lowrank
overthrust/lowrank
overthrust/model
overthrust/model
pluto/model
segsalt/lowrank
segsalt/lowrank
segsalt/model
segsalt/model
sigsbee/ffd
sigsbee/kirMulti
sigsbee/lowrank
sigsbee/lrostep
sigsbee/model
sigsbee/model
sigsbee/oway
sigsbee/oway
statics94/model
statics94/model
teapot/angmig
teapot/angmig
teapot/zomig
teapot/zomig
twohalf/kirMulti
twohalf/lowrank
twohalf/model
twohalf/model
twohalf/oway
twohalf/oway
vofz/gazdag
vofz/kirch
vofz/lowrank
vofz/model
vofz/model
vofz/oway
vofz/stolt
vofz/vc

 
GEE
        ajt/galilee
ajt/igrad1
hlx/helderiv
hlx/helgal
hlx/helicon
hlx/helocut
hlx/mam
hlx/solar
iin/chevron
iin/galilee
lal/multiscale
lmn/scale
lmn/sep73
lmn/sep77
lmn/sep77
lsq/antoine
lsq/antoine
lsq/lomask
lsq/lomask
lsq/puck
lsq/vesuvio
mda/elita
mda/geostat
mda/hole
mda/mad
mda/miss3
mda/miss3
mda/morgan
mda/pefex
mda/seabeam
noiz/duel
noiz/rbst
pch/ida
pch/mideast
pch/mideast
pch/signoi
pch/steep
prc/bob
prc/seab
prc/seabeam
rez/canyon

 
GEO384H
        hw1/dem
hw1/dem
hw1/tpow
hw2/helix
hw2/running
hw3/compress
hw3/pocs
hw3/rotate
hw4/invint
hw4/match
hw5/pattern
hw5/seabeam

 
GEO384S
        hw0/channel
hw0/channel2
hw0/mona
hw1/clip
hw1/color
hw1/data
hw2/groundroll
hw2/groundroll
hw2/land3d
hw2/migration
hw2/migration
hw3/dmo
hw3/dmo
hw3/nmo
hw3/nmo
hw3/nmo3d
hw4/alaska
hw4/alaska
hw4/teapot
hw4/viking
hw5/hradon
hw5/pradon
hw5/pradon
hw5/radon
hw6/gazdag
hw6/gazdag
hw6/kirchhoff
hw6/kirchhoff
hw6/rtm

 
GEO384W
        hw1/code
hw1/wave
hw2/cmp
hw2/eikonal
hw3/gulf
hw3/synth
hw3/synth
hw4/gulf
hw4/sigsbee
hw4/sigsbee
hw4/synth
hw4/synth
hw5/hyper
hw5/lsmig
hw5/sigsbee
hw6/blake
hw6/hyper
hw6/sigsbee

 
GEOSTATS
        simulate/rfield
simulate/rfield
simulate/simple
spatial_stats/correlogram
spatial_stats/correlogram
spatial_stats/covariance
spatial_stats/covariance
spatial_stats/gr_variogram
spatial_stats/gr_variogram
spatial_stats/variogram
spatial_stats/variogram

 
GPGN658
        fdmod/exercise
rtmig/exercise

 
HANSUNG
        cgg/real
cgg/syn

 
ICP
        sam2013gpushortestpath/test

 
JLU
        gvdseisint/bei
gvdseisint/bei
gvdseisint/ocmodel
gvdseisint/ocmodel
gvdseisint/vti
riesz/fieldata
riesz/sigmdenoi
riesz/sigmoid
txsopf/curvedmodel
txsopf/data2
txsopf/model
txyapf/curve
txyapf/french
txyapf/french
txyapf/real3d
txyapf/real3d
txyapf/sigmoid
vdseislet/demultiple
vdseislet/demultiple
vdseislet/haskell
vdseislet/haskell
vdseislet/nmo
vdseislet/usp
vdseislet/usp

 
MILANO
        taupvel/cmp
taupvel/synth

 
OSU
        shalek/elastic2d
shalek/elastic3d
shalek/mod2d
shalek/mod3d

 
PSU
        ligo/test
ligo/test

 
RSF
        animate/movie
bash/plot
bash/plot
bash/sample2
challenge/rain
programming/svd
reprobook/exam2
reprobook/exam3
reprobook/exam4
reprobook/exam5
rsf/afdm
rsf/fractal
rsf/mona
rsf/plot
rsf/plot
rsf/radial
rsf/rsftour
rsf/sfagc
rsf/sfawefd
rsf/sfgraph
rsf/sfgrey
rsf/unif3
rsf/wedge
school/austin
school/complex
school/data
school/data
school/fault
school/fault
school/fault
school/gauss
school/horizon
school/marm
school/modeling
school/ray
school/sigsbee
school/sigsbee
school/single
school2009/channel
school2009/channel2
school2009/mona
school2012/demo
school2012/ex
school2012/plot
school2012/plot
school2012/sample2
school2015/adapt
school2015/asc2rsf
school2015/born
school2015/channel
school2015/channel2
school2015/matlab
school2015/modmig
school2015/mona
school2016/radon
school2016/synth
school2017/c++
school2017/c
school2017/f90
school2017/gravity
school2017/modeling
school2017/modeling
school2017/seismic
school2017/seismic
scons/easystart
scons/rsf
scons/rsfpy
su/rsfcurves
su/rsfdipfilt
su/rsffdmod2
su/rsfkasper
su/rsfkfupm
su/rsflab10
su/rsflab11
su/rsflab12
su/rsflab13
su/rsflab15
su/rsflab16
su/rsflab2
su/rsflab5
su/rsflab8
su/rsflab9
su/rsfmakevel
su/rsfmodel
su/rsfplane
su/rsfreadwrite
su/rsfscales
su/rsfsmooth3d
su/rsftaup
su/rsfyilmaz
tutorial2017/radon
tutorial2017/synth
tutorials/colormaps
tutorials/colormaps
tutorials/hilbert
tutorials/hilbert
tutorials/images
tutorials/inv
tutorials/nmo
tutorials/parameters
tutorials/petro1
tutorials/petro1
tutorials/semblance
tutorials/slicing
tutorials/slicing
tutorials/smoothing
tutorials/spitz
tutorials/sthelens
tutorials/talitrus
tutorials/tuning
tutorials/wedge
tutorials/well-tie

 
SEP
        aal/gulf
angle/agmig
antial/imp
antial/sig
avo/imp
balance/ampl
banana/kernel
bspl/chirp2
bspl/plane3
bspl/radial
bspl/sei3d
bspl/sei3d
bspl/stolt
burg/gtens
burg/helix
burg/laplac
cdstep/veltran
fat/green
fat/migration
findif/heat
findif/laplace
findif/vc3
fkamo/impresp
fmeiko/fmarch
fmeiko/tri
fmsec/marm
forwd/chirp2
forwd/radial
forwd/stolt
fractal/random
geostat/dix
geostat/miss
helft/mult
helft/mult
helft/spike
helmholtz/lapfac
huygens/gauss
huygens/marmousi
lines/randline
oc2/cup
oc2/elfshot
oc2/ocimp
passive/synth
pefmult/haskell
pefmult/mobil
pefmult/syn
pefmult/syn
plane/bob
plane/cube
plane/eplane
plane/qint
precon/cube
precon/cube
precon/hlx
precon/seab
pwd/alias
pwd/blast
pwd/blast
pwd/dune
pwd/dune
pwd/hector
pwd/hector
pwd/hole
pwd/lomo
pwd/seab
pwd/sean
pwd/sean
pwd/signoi
pyramid/model
pyramid/pyramid
rwe/simp1
seaofgal/gal
shearer/stacks
sparse2/test
spitz/sign
stack/miginv
stack/velinv
steer/qdome
steer/shot
steer/steering
steer/wz25
stoltst/elfst
stoltst/imps
stoltst/imps
texture/fft
vc1/resdmo
vc2/beivc
vc2/elfvc
vc2/sigvc
vc2/spec
vc2/vcmod
vc2/vcspk
velspec/impls
velspec/sigvc
waverays/gauss
waverays/marm

 
SLIM
        geo2008NewInsightsPareto/geop
slimUserManual/sffdct

 
SWAG
        anisogath/synth
anisogath/synth
eikds/marm2
eikds/smvel
itime/syn
tau/arte
tau/hess
tau/iso
tau/lens
tau/linear
tau/marm
waveds/fdmod
waveds/fdmodnoSS
waveds/svmod

 
TCCS
        acrossfault/clyde
acrossfault/gulf
acrossfault/louis2d
acrossfault/synth
agath/radon
agath/zslice
aii/heidrun
aii/heidrun
apefint/alias
apefint/misscurv
apefint/missing
apefint/missing
apefint/ray
apefint/sean
atten/enerd
attr/vecta
attr/vecta
avo/avo
avo/avo2
butterfly/field2
butterfly/synth2D-1-timer
butterfly/synth2D-2
butterfly/synth2D-3
butterfly/synth2D-4
butterfly/synth2D-4
crs/dome2
crs/dome2
dbortho/hyper
deblend/fairfield-initmfnew
deblend/linear
deblend/synthcomplex
deblend/synthhyper
decomp/frenchtri
decomp/homoortho
decomp/homotri
diffr/chan3d
diffr/fault
diffr/gom
dsd/conflict
dsd/demo
dsd/demo
dsd/demo2
dsd/demo2
dsd/demo3.1perc
dsd/field1
dsd/field2
dsd/real
dsd/sig
dsrtomo/accuracy
dsrtomo/causal
dsrtomo/hessian
dsrtomo/marm
dsrtomo/marm
eikods/check
eikods/marm
eikods/migration
elas/french-dc
elas/gradient
elas/homomono3d
elas/homotric3d-dc
elas/homotric3d
elas/twolayer3d
emdpf/dipfilter
emdpf/fxdecon
emdpf/hyper
emdpf/linear
emdpf/southsea
eseis/demo2
eseis/demo2
eseis/demo4
eseis/demo4
eseis/field
eseis/field
eseis/sparse
eseis/sparse
ffd/anisotropic
ffd/bpmodel
ffd/bptti
ffd/ffd
flat/comaz
flat/comaz
flat/flat
flat/flatelf
fpwd/const
fpwd/sigmoid
fpwd/teapot
fraclapl/diffq
fraclapl/marmq