# \#trend1d

**URL:** https://forum.generic-mapping-tools.org/tag/trend1d/10.md

[Latest](https://forum.generic-mapping-tools.org/latest.md) · [Categories](https://forum.generic-mapping-tools.org/categories.md) · [Tags](https://forum.generic-mapping-tools.org/tags.md)

---

## [Trend1d model output question/feature request](https://forum.generic-mapping-tools.org/t/trend1d-model-output-question-feature-request/6211)

<div class="topic-metadata">

**Author:** [@mkononets](https://forum.generic-mapping-tools.org/u/mkononets)\
**Replies:** 5\
**Last updated:** [January 9, 2026, 10:46am UTC](https://forum.generic-mapping-tools.org/t/trend1d-model-output-question-feature-request/6211 "2026-01-09T10:46:18Z")

</div>

Hi, I calculate poly fit to my data using trend1d -Np2 and then would like to plot the polynomial. What I do now is I parse gmt trend1d ... -Fp output to get poly coefficients and then generate a -T-based dataset usin…

---

## [Linear trend: gmt regress vs trend1d -Np1](https://forum.generic-mapping-tools.org/t/linear-trend-gmt-regress-vs-trend1d-np1/5759)

<div class="topic-metadata">

**Author:** [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Replies:** 1\
**Last updated:** [March 3, 2025, 12:30am UTC](https://forum.generic-mapping-tools.org/t/linear-trend-gmt-regress-vs-trend1d-np1/5759 "2025-03-03T00:30:00Z")

</div>

I would like to know if the linear trend calculated with gmt regress and gmt trend1d -Np1 are the same? ? In the practice, I see that but I am not complety sure.
