# Grdcontour label

**URL:** <https://forum.generic-mapping-tools.org/t/grdcontour-label/2753>\
**Category:** GMT.jl Q&A\
**Created:** [March 30, 2022, 7:41pm UTC](https://forum.generic-mapping-tools.org/t/grdcontour-label/2753 "2022-03-30T19:41:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lavanya](https://avatars.discourse-cdn.com/v4/letter/l/df788c/32.png) [@lavanya](https://forum.generic-mapping-tools.org/u/lavanya)\
**Post date:** [March 30, 2022, 7:41pm UTC](https://forum.generic-mapping-tools.org/t/grdcontour-label/2753/1 "2022-03-30T19:41:13Z")

</div>

Hi,

I am trying to plot the labels for contours using grdcontour. I have customized contour levels using -Ccpt\_file. I want to display the labels along a line as marked in the figure. Some of the labels go missing since I am displaying a portion of contour, according to the plot intervals at x,y. Is there any possibility to display the labels along a particular direction that is aligned properly.

 ![output-onlinepngtools-2](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/d/d34d0d82bd2f50450b7127d842d2c559f16389f6.png)

---

<div class="post-metadata">

**Author:** ![Esteban82](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/esteban82/32/54_2.png) [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Post date:** [March 30, 2022, 7:50pm UTC](https://forum.generic-mapping-tools.org/t/grdcontour-label/2753/2 "2022-03-30T19:50:55Z")

</div>

Have you try what it is suggested in the cookbook?

> **[19. Annotation of Contours and “Quoted Lines” — GMT 6.3.0 documentation](https://docs.generic-mapping-tools.org/latest/cookbook/contour-annotations.html#label-placement-at-simple-line-intersections)**

---

<div class="post-metadata">

**Author:** ![lavanya](https://avatars.discourse-cdn.com/v4/letter/l/df788c/32.png) [@lavanya](https://forum.generic-mapping-tools.org/u/lavanya)\
**Post date:** [March 31, 2022, 4:00am UTC](https://forum.generic-mapping-tools.org/t/grdcontour-label/2753/3 "2022-03-31T04:00:49Z")

</div>

didn’t notice the options under -G. Thank you very much. It worked.
