Grdcontour label


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

Have you try what it is suggested in the cookbook?

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