Answered
How to filter out x-y coordinates and data from a plot, covering exactly the boundary of some region?
To find points in a polygon use |inpolygon|, just as I suggested in the other post. If you're using Mouginot's annual velocity d...

8 years ago | 0

| accepted

Answered
How do i make a line of datapoints between 2 points on map, and use their index for later.
There's an example of how to calculate the flux of Thwaites Glacier in Antarctica in the documentation for measures_interp <http...

8 years ago | 0

Answered
How to correct the alignment of quiver on a plot?
That looks like Amery Ice Shelf appearing as tiny red arrows in the middle of the eastern Ross Sea. Comparing its shape to the t...

8 years ago | 0

| accepted

Answered
Problems with m_proj for specific area of the world
Can you do it with <https://www.mathworks.com/matlabcentral/fileexchange/47638-antarctic-mapping-tools Antarctic Mapping Tools>?...

8 years ago | 0

| accepted

Answered
Create 3D scatter plot from an 120x160 matrix
Perhaps you need to columnate all your variables using (:). Like this: [x,y,z] = peaks(150); scatter3(x(:),y(:),z(:),...

8 years ago | 0

Answered
How to plot matrix points with label
Plot the points with the |plot| function like this. Here I'm making them red x marks by specifying |'rx'|: plot(Z(:,1),Z(:...

8 years ago | 1

| accepted

Answered
a problem with the function ncpolarm
I think the simplest solution, which is also probably the least prone to errors, is to use <https://www.mathworks.com/matlabcent...

8 years ago | 1

Answered
how could i plot a carte for the arctic region surface temperature (including all coasts) if i have latitudes , longitiudes and temperature data ?
You can use <https://www.mathworks.com/matlabcentral/fileexchange/63324 Arctic Mapping Tools>.

8 years ago | 0

| accepted

Submitted


Intuitive RGB color values from XKCD
RGB triplets for 949 colors, by how they're perceived on a computer monitor and their common names.

8 years ago | 3 downloads |

4.9 / 5
Thumbnail

Submitted


Spiral Plot
Polar plots for climate data or other time series with an annual signal.

8 years ago | 1 download |

5.0 / 5
Thumbnail

Answered
How can I create animated GIF images in MATLAB?
Or, for a much simpler option, use the gif function on File Exchange.

8 years ago | 19

Answered
how to find the odd numbers i need?
Solve it by hand and then the Matlab part should be easy.

8 years ago | 0

Answered
How can I create a graduate colour map in Matlab using the Mapping Toolbox?
Hi Marina, You may have solved the issue by now, but I've just uploaded a function to File Exchange called <https://www.math...

8 years ago | 0

| accepted

Submitted


patchsc
Create color-scaled patch objects.

8 years ago | 1 download |

0.0 / 5
Thumbnail

Submitted


Antarctic basal geothermal heat flux
A simple interpolator returns estimated geothermal heat flux at any location(s)

8 years ago | 1 download |

5.0 / 5
Thumbnail

Question


Can a clabel be saved?
I'm plotting some contour lines and labeling them manually like this: [C,h] = contour(peaks); cl = clabel(C,h,'manual')...

8 years ago | 1 answer | 0

1

answer

Submitted


Ice thickness and freeboard conversions
Just a couple of simple functions to convert between ice thickness and height above sea level.

9 years ago | 1 download |

0.0 / 5
Thumbnail

Answered
multiplying two cells array
I think you're looking for <https://www.mathworks.com/help/matlab/ref/cellfun.html |cellfun|>.

9 years ago | 0

Answered
How do I plot the nearest neighbour algorithm in a matrix?
How about <https://www.mathworks.com/help/images/ref/bwlabel.html |bwlabel|>? Then you can use |imagesc| to display the matrix ...

9 years ago | 0

Answered
How to read the X,Y and Z coordinates from a TIFF image extracted into Matlab?
Here are the x and y coordinates of a geotiff: I = geotiffinfo(filename); [x,y]=pixcenters(I); 2022 Update - The function pi...

9 years ago | 1

| accepted

Answered
How to Keep a Character in A Fixed Position?
Try this: A = 1; sprintf('% 8d',A) B = 1234567; sprintf('% 8d',B)

9 years ago | 0

Answered
code to choose an image from a folder
Try I = imread(selectedFile); imshow(I)

9 years ago | 0

| accepted

Answered
Wave effect over an image in matlab
If you have this color image as your background: I = imread('greens.jpg'); imshow(I) <</matlabcentral/answers/uploa...

9 years ago | 1

Answered
Why is only one tick mark displayed when using datetick?
That's because datetick is a bit clunky, and it can't get a lock on a date that it thinks is worthy of displaying. Probably bec...

9 years ago | 1

| accepted

Answered
Flip image from one side to another
It's not entirely clear what you're asking, but try |flipdim| to flip an image; use |horzcat| to join two images. Here's an exa...

9 years ago | 7

Answered
Using map2mat for eof analysis!
Hi Sophia, Be careful, because |map2mat| assumes the _first_ dimension is time. For normal climate data (lon*lat*time or la...

9 years ago | 0

Answered
How to Change Values of a Field by an Indexing Array?
You could change each element individually via loop. But make sure you add 1 to the indexing array values because Matlab starts...

9 years ago | 1

| accepted

Answered
How can I store the output data from a for loop
Try this: pwf=[0 500 1000 1500 2000 2500 ]; for k = 1:length(pwf) flow(k)=qmax*(1-0.2*(pwf(k)/r)-0.8*(pwf...

9 years ago | 0

| accepted

Answered
Strange 3x3 Lowpass filter
It looks like a pretty straightforward 3x3 averaging filter. The catch is you have to start with (i=2,j=2) so i+(-1) will be 1 ...

9 years ago | 1

| accepted

Answered
Specify file path problem
On my Mac it's |Users| (plural), not |User|. Is that the issue?

9 years ago | 0

| accepted

Load more