# How is slope calculated by grdgradient?

**URL:** <https://forum.generic-mapping-tools.org/t/how-is-slope-calculated-by-grdgradient/4989>\
**Category:** Q&A\
**Tags:** gmt\
**Created:** [June 14, 2024, 5:05pm UTC](https://forum.generic-mapping-tools.org/t/how-is-slope-calculated-by-grdgradient/4989 "2024-06-14T17:05:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Andreas](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Post date:** [June 14, 2024, 6:43pm UTC](https://forum.generic-mapping-tools.org/t/how-is-slope-calculated-by-grdgradient/4989/3 "2024-06-14T18:43:19Z")

</div>

Maybe [this](http://forum.generic-mapping-tools.org/t/grdgradient-s-output/3461) will help.

The ‘direction’ grid (as opposed to the magnitude grid), will be in radians I think.

---

_[View the full topic](https://forum.generic-mapping-tools.org/t/how-is-slope-calculated-by-grdgradient/4989)._
