matlab - insert textbox in a geoshow plot -


i using code below geoshow plot:

figure1 = figure; load coast; axes1 = axes('parent',figure1,'fontsize',12,'dataaspectratio',[1 1 1],'clim',[0 4000]); box(axes1,'on'); grid(axes1,'on');   geoshow(lat, long,'color', 'black'); geoshow(latpr, longpr,'color', 'blue');  geoshow(lat_receiver,lon_receiver,'displaytype','point','marker','.','markersize', 30,'markeredgecolor', 'green'); 

latpr, longpr set of data of path want show. want insert text in plot lat, long of starting point (latpr(1,1), longpr(1,1)) , of last point (latpr(end,1),longpr(end,1)).
how insert text?

there textm function can used project text annotations on map axes.

something should work:

textm(latpr(1,1), longpr(1,1),'your string'); 

and likewise:

textm(latpr(end,1), longpr(end,1),'your string'); 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -