[Thread Prev][Thread Next][Index]

Re: more details



Hola Toni,
	The problem lies in the fact that you are reading in the
data along the X axis then doing the fill_between on the Z axis.
The simplest solution may be to define the Z-grid on which the
data lie, then read the data file into that grid.
	For example for the 11 "depths" 0,1,2,...10 in your
sample data you could use

def axis/z=0:10:1 z11 ; def grid/z=z11 grd
file/form=free/var=altura,A,B,C/g=grd datos.dat
plot A,B
go fill_between POLY/OVER/NOLABEL/PALETTE=blue A z11 B

As noted in Patrick Brockmann's mail there is a problem with the
fill_between script if you want a "depth" axis with z increasing downward.
So for example if you had used ...

def axis/z=0:10:1/depth z11 ; def grid/z=z11 grd
file/form=free/var=altura,A,B,C/g=grd datos.dat
plot A,B
go fill_between POLY/OVER/NOLABEL/PALETTE=blue A z11 B

... the lines would appear but not the fill.

I suspect there is however a way (probably more than one) to fake it out
if you do want a downward z-axis. More on that later ... unless another
user chips in first ...

Mick

|Please note NEW E-Mail Address|
|!!! Mick.Spillane@noaa.gov !!!|
|__Room 2070 Bldg#3 NOAA/PMEL__|
|____Phone_:_(206)526-6780_____|




[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement