Community Profile

photo

Rob Comer


MathWorks

44 total contributions since 2011

Rob Comer is the Mapping Toolbox(TM) development lead at The MathWorks, Inc.

Professional Interests: software engineering, geodesy and geophysics, photogrammetry and image processing, geographic information systems

Contact

Rob Comer's Badges

  • 3 Month Streak
  • Revival Level 2
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Submitted


fillfigure
Reset axes position and limits to fill figure.

3 years ago | 1 download |

Thumbnail

Submitted


Earth Observing System Data Visualization
Read Earth Observing System (EOS) data products in HDF format and visualize them in MATLAB(R).

3 years ago | 5 downloads |

Thumbnail

Submitted


colorscale
Add a color scale bar using part of the figure's colormap.

3 years ago | 4 downloads |

Thumbnail

Answered
is it possible to import GPS data in DDD format and create a map with the points plotted?
You could start with the readtable function.

3 years ago | 0

Answered
Modify Labels on Contour Plots
R2014b and R2015a users can apply one of the workarounds available here: <http://www.mathworks.com/support/bugreports/1114747...

4 years ago | 1

Answered
Using pcolorm with irregular model grids
Hi Andrew, With an irregular grid, for which a full latitude-longitude geolocation mesh is needed, I think it's always approp...

4 years ago | 0

Answered
How does the contour plot with R2014b work?
You can avoid the problem with the clabel function, which is present in both R2014b and R2015a, by using one of the workarounds ...

4 years ago | 0

Answered
Exported figure size is huge and specified font of the label is ignored in 2014b
Regarding part 1 of this question, you can control the contour label FontName and other label text properties in R2014b or R2015...

4 years ago | 0

Answered
How to alter contour label properties?
If you download and install one of the workarounds available here for R2014b or R2015a: <http://www.mathworks.com/support/bugrep...

4 years ago | 1

| accepted

Answered
Fontsize in clabel with rotated labels 2014b
If you download and install one of the workarounds available here for R2014b or R2015a: <http://www.mathworks.com/support/bugrep...

4 years ago | 0

Answered
How do you format rotated text from clabel in MATLAB 2014b?
You can avoid this problem, which is present in both R2014b and R2015a, using one of the workarounds available here: <http://www...

4 years ago | 0

Answered
Problems with wrapTo180, creates lines on map
Instead of wrapping your longitudes, try using the maptriml function with latlim = [-90 90] and lonlim = [-180 180]. Because the...

4 years ago | 0

Answered
How to find the border points for a set of latitude and longitude coordinates
With such a small data extent, you can probably ignore the wrapping of longitude around the earth when computing latitude and lo...

5 years ago | 0

Answered
How to plot a shapefile on top of digital elevation model using mapshow (or other)
If you only wish to view your map in 2-D, you can plot the terrain raster in the z == 0 plane, like this: mapshow(zeros(siz...

5 years ago | 1

| accepted

Answered
Problem reading ESRI Grid format
There are two different ESRI (Arc) Grid formats: the proprietary binary format, which is what you have, and the publicly documen...

5 years ago | 0

| accepted

Answered
How to use additional files like e.g. gshhs_h.b, WORLDDATAMAP, etc.?
You should first check that the mapdata folder is on your MATLAB path. You could then try: which gshhs_h.zip You may need ...

5 years ago | 0

| accepted

Answered
FaceAlpha of surf plot takes the first row and column twice
This variation does what I think you're hoping for: [X,Y] = meshgrid(1:5,1:5); Z = ones(5,5); C = ones(4,4); A = z...

5 years ago | 0

| accepted

Answered
Filling a polygon using an index and colormap
The key to making many thematic maps is to use the *makesymbolspec* function in combination with *geoshow* or *mapshow* . In thi...

5 years ago | 3

| accepted

Answered
Getting borders to appear on a map
Your call to geoshow isn't showing land areas west of -180 degrees because its working in an ordinary axes. Try setting up a map...

6 years ago | 2

| accepted

Answered
Why is the mapping toolbox not drawing this line?
As indicated in my earlier comment, the answer is to use the geoshow function. Its method for clipping lines is far more sophist...

6 years ago | 2

| accepted

Answered
Contourm, geoshow, and layering issues (R2012b) change
The platform-specific nature of this problem makes me think about graphics rendering. I can reproduce the problem in R2013a on m...

6 years ago | 0

| accepted

Answered
Contourm issue with polar stereographic map projection
There are two ways to specify geometry in contourfm, like this: contourfm(lat,lon,Z,...) as you have done, where lat and...

6 years ago | 0

Answered
Creating DEM in matlab
You could start with the resources listed here: <http://www.mathworks.com/help/map/finding-geospatial-data.html> Check the...

6 years ago | 0

Answered
Mapping toolbox: plotm strange behavior
Try using the newer geoshow function instead of plotm. All the lines are displayed if I replace plotm(lat,lon,'-k') with...

7 years ago | 0

Answered
.shp and .xyz files mapped with geoshow
DisplayType 'contour' is for use with data grids only, but it seems that you have a line shapefile. You can plot the lines from...

7 years ago | 0

Answered
continuous contours in sphere map
I think you can get griddata to approximate the spherical topology by replicating some of your scattered input points before cal...

7 years ago | 0

Answered
Geotiffwrite without compression
You almost have it. As the error (and help) indicate, you need to follow 'TiffTags' with a structure when calling geotiffwrite. ...

7 years ago | 2

| accepted

Answered
Using USGS DEMs in Mapping Toolbox
Try downloading your data sets in GeoTIFF format, then use geotiffread. It's not limited to images; it can be used for DEMs as w...

7 years ago | 1

| accepted

Answered
projection of data with given lon,lat
If you have axesm, that means you have Mapping Toolbox, so try the scatterm function.

7 years ago | 0

Answered
Export to shape file or other vector format
There's <http://www.mathworks.com/help/toolbox/map/ref/shapewrite.html shapewrite> in Mapping Toolbox.

7 years ago | 0

| accepted

Load more