Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8926255
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:55:34+00:00 2026-06-15T07:55:34+00:00

I am plotting a contour over the mercator(planar) world map in MATLAB. And I

  • 0

I am plotting a contour over the mercator(planar) world map in MATLAB.

And I am successful but when I use the

geoshow('landareas.shp','FaceColor', [0.5 1.0 0,5]) 

it eliminates the contour plot on the map.

My code is:

axesm('mercator','MapLatLimit',[-50 90],'MapLonLimit',[0 250])

frame on;

grid on;

plotm(lat,long,'k')

contourfm(x,y,z)

Is there anyway to apply the

geoshow('landareas.shp','Display',[0.5 1.0 0.5])
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:55:35+00:00Added an answer on June 15, 2026 at 7:55 am

    I do not know what exactly you would like to achieve so if my answer will be in a wrong direction we can elaborate more.

    I used this code to produce a map with contourfm and 'landareas':

    load geoid;
    figure(1) 
    axesm ('mercator','MapLatLimit',[-50 90],'MapLonLimit',[0 250])
    contourfm(geoid,geoidrefvec, 'LineStyle', 'none');
    geoshow('landareas.shp', 'FaceColor', [0.5 1.0 0.3]);
    

    enter image description here

    Instead of geoid you can have your own map but pay attention on the number of grid points. As far as I know they have to be 180×360.

    One note. You may consider to use coast in stead of landareas because contourfm produces all colour map and 'landareas' has also colours. So if it suit you, you can put only coast lines instead:

    load geoid;
    figure(2)
    axesm ('mercator','MapLatLimit',[-50 90],'MapLonLimit',[0 250])
    contourfm(geoid,geoidrefvec, 'LineStyle', 'none');
    load coast
    plotm(lat, long,'black') % plot the coast on the map
    

    contourfm with coast

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When plotting color-maps using gnuplot, I usually use the following lines: ... set palette
When plotting on a figure in MATLAB, I have noticed that parts of the
After plotting in Matlab we do caxis(max(caxis()) - [0.5, 0]) to scale the color
I have an application which requires plotting two locations on google map ? One
When plotting a sparsity matrix using spy in MATLAB, the text nz=x , where
I'm plotting several images at once, sharing axes, because I use it for exploratory
I am new to plotting graphs in Visual C++. I want to use arrays
I am plotting a 7x7 pixel 'image' in MATLAB, using the imagesc command: imagesc(conf_matrix,
I'm plotting planes in matlab using ezmesh. Everything goes fine until I attempt to
I'm plotting data which extent, in x, from -1000 to 1000. But I'm only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.