Submitted


LIMA Landsat Image Mosaic of Antarctica
Plot the Landsat Image Mosaic of Antarctica

11 years ago | 2 downloads |

5.0 / 5
Thumbnail

Answered
How can I (quickly) buffer a river centerline with constant width to compute banks?
The <http://www.mathworks.com/matlabcentral/fileexchange/39796-xy2sn |xy2sn|> function may be useful. Convert your river xy coo...

11 years ago | 0

Answered
Problems with showing geolocated data with geoshow. Error in Zdata
Use |meshgrid|. [latgrid,longrid] = meshgrid(lat,lon); geoshow(latgrid,longrid,cot,'DisplayType','texturemap')

11 years ago | 0

| accepted

Answered
Very slow ginput in 2014b
I made a function <http://www.mathworks.com/matlabcentral/fileexchange/49727-finput |finput|> that creates a temporary set of ax...

11 years ago | 0

Submitted


finput
A faster ginput.

11 years ago | 2 downloads |

1.0 / 5

Answered
How to plot mean averages
I see some semicolons where perhaps there should be colons. Should |avU(;,n)| be |avU(:,n)|, and should |nanmean(residulaV(;,n)...

11 years ago | 0

Answered
How to match GeoTiff file with Shapefile?
Two possible solutions: Given some polygon described by the arrays |lat| and |lon|, you could use Aslak Grinsted's <http://w...

11 years ago | 0

Answered
Plotting irregular column data in 2D global map pcolor plot
An easy solution is to use <http://www.mathworks.com/matlabcentral/fileexchange/8998-surface-fitting-using-gridfit |gridfit|> or...

11 years ago | 0

Submitted


How to drape Landsat images over Bedmap2 topography
A quick how-to example file.

11 years ago | 1 download |

0.0 / 5
Thumbnail

Answered
How could I get the spatial coordinates for each pixel of a Landsat scene?
The easiest way is to use Aslak Grinsted's <http://www.mathworks.com/matlabcentral/fileexchange/46904-geoimread/content/geoimrea...

11 years ago | 0

Answered
Sir, How to extract data from an netcdf file based on latilute and longitude range?
The answer depends on your example.nc file. Load the lat and lon variables with |ncread| and find the indices of lat and lon co...

11 years ago | 1

Answered
plotting world map contour onto spatial data plot with different (long, lat)
Assuming you have the Mapping Toolbox, worldmap('world') % initializes map contourm(lat,lon,z) % plots contours...

11 years ago | 0

Answered
long and lat map plot
If you have the Mapping Toolbox and you have a map initialized already, plotm(30.45,-91.14,'rp') If you do not have the...

11 years ago | 0

| accepted

Answered
geolocation plot time series
Your |plot| command specifies blue circle markers with |'bo'|. If you want blue circle markers _and_ a line, use |'bo-'|. If y...

11 years ago | 0

| accepted

Answered
FOR loop and keep every 10th iteration
A few things: First, try to avoid using |i| as a variable, because by default in Matlab |i = sqrt(-1)|. I'm going to switch...

11 years ago | 0

| accepted

Answered
How to plot a 2D bathymetric contour map
First, a minor request: when posting code, format it using the "Code" button. Monospaced code is easier to read. Regarding ...

11 years ago | 0

| accepted

Answered
Eliminating visible lines from surfnorm
Does this work? surfnorm(X,Y,Z,'linestyle','none')

11 years ago | 0

Answered
File Exchange - Quickly see comments?
Does <http://www.mathworks.com/matlabcentral/fileexchange/feedbacks?utf8=%E2%9C%93&term=authorid%3A10584 this> work?

11 years ago | 2

| accepted

Answered
drawing several graphs or charts in a row
Do you want to create a new figure window for each plot? If so, use a |figure| command before each |candle| call: figure(...

11 years ago | 1

| accepted

Answered
How can I plot a colormap with user-defined color scale and x-y value in longitude-latitude?
|pcolor| does throw a way a row and column of data, and offsets it by half a pixel. But if you use |shading interp|, you'll get...

11 years ago | -1

| accepted

Submitted


label
label data directly on a plot

11 years ago | 8 downloads |

4.7 / 5
Thumbnail

Answered
Hourly Averaging over 10s Data
It's hard to see what exactly is going on because we don't have your source data and your variable names are not intuitive. ...

11 years ago | 0

| accepted

Answered
Problem with plot function
You only have one value for |r| (3.7), but you have many values for |y|. The |plot| function wants exactly one |r| value for ea...

11 years ago | 0

| accepted

Answered
Geospatial mapping: map one state from data from the continental US
Use <http://www.mathworks.com/help/matlab/ref/inpolygon.html |inpolygon|>. If you have lat/lon data given by ( |latdata|, |lond...

11 years ago | 0

| accepted

Answered
Contour labels SOMETIMES disappear when plotting contour over pcolor
This is sometimes a result of the figure renderer acting funny. Try cycling through the different renderers to see if any of th...

11 years ago | 0

Answered
How to change figure size?
For full-screen figures, you can use <http://www.mathworks.com/matlabcentral/fileexchange/48071-fullfig/content/fullfig/html/ful...

11 years ago | 8

Answered
comparing time series data
<http://www.mathworks.com/help/matlab/ref/corrcoef.html |[R,P] = corrcoef(testData,controlData);|> will return a correlation bet...

11 years ago | 0

Answered
Determining whether a point on earth (given latitude and longitude) is on land or ocean
<http://www.mathworks.com/matlabcentral/fileexchange/48661-landmask/content/landmask/html/landmask_documentation.html |landmask(...

11 years ago | 0

Submitted


shadem
Easily turn flat pcolor, pcolorm, surf, or surfm data into a hillshade-style shaded relief map.

11 years ago | 5 downloads |

5.0 / 5
Thumbnail

Answered
longitude and latitude plot map
Have you tried this? plot(lon,lat,'k-') grid on xlabel('longitude') ylabel('latitude')

11 years ago | 1

Load more