sfgrey (2.0-git)
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
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/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
hw4/invint
hw4/rotate
hw5/match
hw5/pattern
hw5/seabeam

 
GEO384S
        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/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
        riesz/fieldata
riesz/sigmdenoi
riesz/sigmoid
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/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/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
scons/easystart
scons/rsf
scons/rsfpy
su/rsfcurves
su/rsfdipfilt
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
tutorials/colormaps
tutorials/colormaps
tutorials/hilbert
tutorials/hilbert
tutorials/images
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
        agath/radon
agath/zslice
aii/heidrun
aii/heidrun
amf/misfitexample
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
emdpf/dipfilter
emdpf/fxdecon
emdpf/hyper
emdpf/linear
emdpf/southsea
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
fraclapl/twolayer
gmresq/bpgas
gmresq/bpgas
gmresq/exploding
group/emarm
group3/bptti
group3/tiltorthocompare
hyper/amarm
hyper3/seam2
intshape/fsyn
intshape/sean
lfd/aniso
lfd/bp
lfd/bptti
lfd/oned
lfd/twod
lowrank/aniso
lowrank/bp
lowrank/bptti
lowrank/fio
lowrank/fowler
lowrank/impres
lowrank/threed
lpf/plut
lpf/ray
lpf/regr
lpf/simon
ltft/groll
ltft/groll
ltft/timefreq
ltft/vecta
ltft/vecta
nar/chirp
nar/hou
nar/mirko
nar/vecta
nmo3/azimuthtest
nmo3/azimuthtest
nmo3/mcelroy
nmo3/mcelroy
nmodeblend/bei
nmodeblend/bei
nmodeblend/class
nmodeblend/class
nmodeblend/simple
nmodeblend/synth
nmodeblend/synth
oc3/bei
oc3/fault
oc3/fault
oc3/french
oc3/french
oc3/frenchint
onestep/abc
onestep/bptti
onestep/bptti2
onestep/bpttirtm
onestep/fio1d
onestep/fowler
onestep/grad
onestep/grad2
onestep/tiltorth
optapert/depthMig
optapert/gibson
optapert/rightSigsbee
optapert/sigsbee
optapert/theo
opwd/circle
opwd/freq
opwd/pick
ortho/orthocomplex
ortho/orthocsimul
ortho/orthofair
ortho/orthonine
ortho/orthorna
orthogroll/field
orthorhombic/orth
orthorhombic/orth
orthorhombic/test
orthorhombic/test
orthorhombic/tiltn
orthorhombic/tiltn
orthorhombic/tiltn
ovc/nankai
ovc/nankai
ovc/psovc
ovc/toy
ovc/toy
phase/boon
phase/boon
phase/boon3
phase/boon3
phase/nonstat
phase/zero
pi/barrolka
pi/barrolka
pi/bei
pi/simple-model
pmig/mig
pmig/mig
pmig/nmo
psp/models
psp/models
psp/overthrust
reversible/nscnmo
scan3/fourevents
scan3/noncwavg-1
scan3/noncwavg-1
scan3/realdata
scan3/realdata
seislet/diplet
seislet/diplet
seislet/gath
seislet/lena
seislet/plane
seislet/seis
sglowrank/avo
sglowrank/bp3
sglowrank/oned
sglowrank/tlayer3
shape/beivc
shape/beivc
shape/lomo
shape/smoo
shape/smoo
shemd/field
shemd/fxemddemo
shemd/fxmssademo
shemd/hyperoil
simistack/bei
simistack/bei
specrecom/gulf
specrecom/tf
stackadcig/flat
stackadcig/flat
stackadcig/sigsbee
stackadcig/sigsbee
stackadcig/simple
strat/sigmoid1
strat/spec-decom
strat/spec-decom
strat/three-d
strfilter/bei
strfilter/bei
strfilter/hongliu
strfilter/spray
strfilter/spray
svmf/bei
svmf/bei
svmf/class
svmf/class
svmf/fairfield
svmf/test
svmf/testnoise
synth/ordexample20hz
synth/ordexample20hz
synth/ordexample20hz
synth/small-khuff
synth/small-khuff
synth/small-khuff
synwav/gch1
synwav/lowf
synwav/lowf
synwav/pp
synwav/pp
time2depth/masha2
time2depth/msyn2
time2depth2/beinew
time2depth2/hs2grad
time2depth2/synth
time2depth2/vgrad
timefreq/chev
timefreq/chev
timefreq/lowf
timefreq/syn
timelapse/duri
timelapse/duri
timelapse/long1
timelapse/long1
timelapse/timelapse
uncert/beivc
uncert/beivc
vc3/fracs
vc3/fracs
vc3/threedim
vc3/threedim
vscan/bei
vscan/hw
vscan/stack
vscan/stack
vscan/synth
vscan/weight

 
TONGJI
        decoupledpropagation/bptti2007.smooth
decoupledpropagation/hessvti.2nd.decoupled
decoupledpropagation/twolayer2dti.2nd.coupled.0.5ms
decoupledpropagation/twolayer2dti.2nd.coupled.1.5ms.FD
decoupledpropagation/twolayer2dti.2nd.coupled.compare
decoupledpropagation/twolayer2dti.2nd.decoupled.1ms
decoupledpropagation/twolayer3delr.ort
lrmode/bptti2007.comparison
lrmode/bptti2007.smth
lrmode/bptti2007
lrmode/hessvti
lrmode/twolayer2dti
lrmode/twolayer3dtti
lrmode/twolayer3dvti
qpwave/bptti2007
qpwave/comparison.operators
qpwave/hessvti
qpwave/homovti.eta0.05
qpwave/homovti.eta0.5
qpwave/ort3dhomo
qpwave/twolayer2dti
qswave/bptti2007
qswave/homovti.eta0.05
qswave/homovti.eta0.5
qswave/twolayer3dvti
qswave/twolayer3dvti

 
TRIP
        asg/project
hpcss/marmousi
hpcss/test1
hpcss/test2
hpcss/test3
hpcss/test4
hpcss/test5
hug/marm1s_deep
hug/marm1s_shallow
struct/project
test/flat

 
UH
        avostack/cmp1
avostack/cmp2
avostack/stack
avostack/synh
avostack/synl

 
UWA
        geo2013ElasticModellingGPU/bp2d
geo2013ElasticModellingGPU/bp2d
geo2013ElasticModellingGPU/homo3d
geo2013ElasticModellingGPU/homo3d
geo2013ElasticModellingGPU/homog2d
geo2013ElasticModellingGPU/hti3d
geo2013ElasticModellingGPU/hti3d

 
XJTU
        fraclap/ps2d
gpufwi/fbrec
gpufwi/marmtest
gpufwi/speedup
gpurtm/marmousi
gpurtm/sigsbee
mcaseislet/interp
mcaseislet/sep2
modeling2fwi/fbrec2d
modeling2fwi/marmtest
modeling2fwi/modeling2d
modeling2fwi/modeling2d
primer/marmfwi
primer/marmousi
primer/modeling2d
primer/modeling2d
primer/rtmadcig
primer/sigsbee
primer/testaniso
primer/testeb
primer/testelastic2d
primer/testfd2d
primer/testfd3d
primer/testspml
test/checkptdemo
test/dlct
test/excitationic
test/fpocs2d
test/fpocs3d
test/fpocs3d
test/gpufd3d
test/interpseislet
test/lsinterp2d
test/lsprtm2d
test/marmousi
test/myradon2
test/pocs5d
test/pocs5d
test/rtmodcig
test/rtmva2d
test/sigsbee
test/viscoa2d
test/viscoe2d