MATLAB: How to plot coast and fill the land with gray without m_map

coast

Dear all,
I have detailed shoreline data. I want to fill the land after ploting the coast. But I don't want to use m_map.
Thank

Best Answer

To fill the land use patch/ area/ fill. Read about those functions. To simply plot the coastline use plot.