Re: Grid transparency

Juan González-Carrasco <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <CAMVegYYcr=-z=AK_jC2o64gz6Xoc8bgjKMOFXV1t-mtaHUKvvw@mail.gmail.com>
Use -Q in grdimage.

I attached an example.

Regards


2014-02-26 19:23 GMT-03:00 Mr Abhash Kumar <[email protected]>:

>   Hi,
>
> I am using grdimage to plot two grid files (topography and slab grid
> file). The map (attached) shows ocean floor of the subducting plate in
> black color, which is perhaps due to the shallow depth values associated
> with those grid points. I used grdclip to change the "Z-vlaues" of each
> grid point shallower than 10km to NAN. I thought that NANs will be mapped
> transparent and bathymetry of the ocean floor will be visible but now the
> black portion turns into white and the ocean floor of the underlying layer
> is still not visible. I used the following commands:
>
>
>  system "grdimage -Y1.4i $grdfile $jflag $rflag $bflag -C$cptfn -Ishadow
> -V -K > $psfn\n"; (to plot the topography grid file)
> system "grdclip slabsurf1.grd -Gslabsurf_cliped.grd -Sb10/NaN -V\n";
> (processed slab grid file)
> system "grdgradient slabsurf_cliped.grd -A45 -Gshadow1 -Nt -V\n";
> system "grdimage slabsurf_cliped.grd $jflag $rflag $bflag -C$depcpt -O -V
> -K >> $psfn\n"; (to plot the slab grid file)
>
>
>  I would be extremely grateful to have any suggestions in this regard.
>
>
>  Thanks
>
> Abhash kumar
>
> University of North Carolina at Chapel Hill
>
>   To unsubscribe, send the message "signoff gmt-help" to
> [email protected]




-- 
=============================
Juan González-Carrasco
Lic. en Oceanografía
Cel.: +569-85589754
e-mail: [email protected]
=============================

To unsubscribe, send the message "signoff gmt-help" to [email protected]
HayesSlabGeometryCHL.jpg (image/jpeg, 317.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.