Re: Fwd: Contours Azimuth
"Walter (HF) Smith" <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
The azimuth of a contour is perpendicular to the azimuth of a gradient vector. Can you use this feature? Use grdgradient to compute your east-west gradient, and your north-south gradient. Combine these and use the arctangent ATAN or four-quadrant arctangent ATAN2 operator in grdmath. Think about how you want to define azimuth (should it be restricted to one quadrant or two quadrants) and use the ABS operator appropriately. grdgradient uses reverse polish operator sequencing. Walter On Nov 21, 2013, at 10:50 AM, Juan González-Carrasco <[email protected]> wrote: > Dear GMT users, > > I have a question about how can obtain the azimuth of a contours of a gridded surface. > > I have a grid of a slab depth of chilean subduction zone and I try to obtain the azimuth of the contours and slope of the grid in E-W direction. > > I'm working with grdgradient and obtain any results, but really I don't sure that's results are right. > > I hope if possible do you have any ideas or points of view to solve this problems. > > Thanks in advance and best regards > > ------------------------------------------------------------------------------ > Juan F. González Carrasco > PhD Program in Sciences, m. Geology > Geological Sciences Department > Universidad Católica del Norte > Av. Angamos 0610, Antofagasta, Chile > Tel.: +56-55-355970 > Fax: +56-55-355978 > E-mail: [email protected] > ------------------------------------------------------------------------------- > > To unsubscribe, send the message "signoff gmt-help" to [email protected] To unsubscribe, send the message "signoff gmt-help" to [email protected]