Text on the circumference of circle

So in pygmt map which I’m plotting I have marked a circle for my region using the command

fig.plot(data=[[lon_center, lat_center, radius]], style='E-', pen='1p,black')

how can I add text anywhere on this circle such that the part of circle is not plotted wherever the text is.

Hello @anirudh,

I am unsure, if this is directly possible. Two ideas you may want to try:

  • Using quoted lines. There is a PyGMT Gallery example explaining how to create lines with text at Quoted lines — PyGMT.
  • Adding the text separately with a box with white fill