How do I plot points over a topographic map?

I have plotted a secton of the globe using ETOPO data. I want to plot points onto this surface, but the following “geoshow” command does not work. Does anyone know how to plot like this?

Thanks!

ax = worldmap([20 50],[-130 -65]);

mstruct = gcm;

latlim = [20 50];

lonlim = [-130 -65];

[Z, refvec] = etopo(‘etopo1_ice_c.flt’, 1, latlim, lonlim);

load coast

geoshow(Z, refvec, ‘DisplayType’, ‘surface’);

hold on;

%Plot Stations

A = load(‘Stations.txt’);

for ii=1:length(A)

geoshow(A(ii,1),A(ii,2),'Marker','^','MarkerEdgeColor','k','Markersize',4);    hold on;
end

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

The issue is that when you use display type ‘surface’ you get a 3D surface. The markers are plotted with Z=0, so they end up hidden. The simplest solution is to use display type ‘texturemap’.

geoshow(Z, refvec, 'DisplayType', 'texturemap');

Alternatively, you can give the markers a Z value large enough for them to appear above the surface.

geoshow(40:45, -80:-75, 'DisplayType', 'point', 'Marker', '^', ...
'MarkerEdgeColor','k','Markersize',4, 'Zdata', 10000*ones(6,1))

SEE COMPLETE ANSWER CLICK THE LINK

--

--

--

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Migrating From Jupyter to Colaboratory

Analyzing 2021 NYC Arrest Data with Heatmaps

Duplicating measures as dimensions in data warehouse design

Data Science 10:-Getting started with Neo4j and Gephi Tool

Data shows you abandoned your New Year’s Resolutions this week

How to upload data to Google BigQuery

Simple Trends in Data Science Job Markets

Visualization of Consumer Spending by Generation.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Technical Source

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

More from Medium

Why am I unable to preview the video from my DALSA

Sandeep 😎😎😎

Deep Learning for Tabular Data

Essential Libraries To Have In Your Tool For Data Science And ML — Series #1 — NumPy