# Trouble in using coastline

**URL:** <https://forum.generic-mapping-tools.org/t/trouble-in-using-coastline/1883>\
**Category:** PyGMT Q&A\
**Tags:** gmt\
**Created:** [July 10, 2021, 3:01am UTC](https://forum.generic-mapping-tools.org/t/trouble-in-using-coastline/1883 "2021-07-10T03:01:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ktripat](https://avatars.discourse-cdn.com/v4/letter/k/97f17d/32.png) [@ktripat](https://forum.generic-mapping-tools.org/u/ktripat)\
**Post date:** [July 10, 2021, 3:01am UTC](https://forum.generic-mapping-tools.org/t/trouble-in-using-coastline/1883/1 "2021-07-10T03:01:19Z")

</div>

Hey there!  
I am new to pygmt. I am using grdimage to create a colormap of a gridded data. I am using the shorelines as true, to show the shorelines. I have used robinson projection, however there is an issue while plotting the data, there is a horizontal line coming everytime. I have attached the figure below.

 ![first_colormap](https://canada1.discourse-cdn.com/flex047/uploads/gmt/original/2X/a/a5db03304887bf87df0650e10fd3efcba445bd1b.png)

MY code is as follows:

```python
import pygmt as gmt
fig=gmt.Figure()
# fig.basemap(region=[-180,180,-66,66])
gmt.makecpt(cmap="jet", series=[0, 3, 0.3])
# gmt.makecpt(cmap="jet")
fig.grdimage(grid=data1,projection="R13c",nan_transparent=True,frame="f",no_clip=False)

# fig.colorbar(frame=["a2", "x+lRP", "y+l"])
fig.coast(shorelines=True)

fig.colorbar(position='JMR',
            frame=["x+l#CDHWe"],
            scale=1,
            )
fig.show()

```

Please suggest me some ideas, how can I overcome this.

Also please suggest how can I drastically improve the quality of my figures.

Thank you.
