How can I add borders to my figure

423 views (last 30 days)
Yazeed Alsubhi
Yazeed Alsubhi on 23 Sep 2018
Commented: Chien-Han Su on 27 Sep 2021
How to add borders to my figures? I have tried many times to add them, but I could not. I am using MODIS data and the the functions to plot the figure are in following script:
m_proj('lambert','lon',[45 85],'lat',[-01 50],'rectbox','on');
m_grid;
m_coast;
m_gshhs_i('color','k');
hold on;
m_pcolor(lon, lat, AOD);
colormap;
shading interp
hold on
C=colorbar;
Thanks, Yazeed

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 23 Sep 2018
Edited: KALYAN ACHARJYA on 23 Sep 2018
After Figure plot line Use
box on;
%at last
box off;
Another way Check here
  4 Comments

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!