Answered
using 'fit' to add a trend line to series of scatter points
That is the correct first-order least-squares fit. But I think in your plot the '.' marker on the far left side is coincident wi...

2 mesi ago | 0

| accepted

Question


2D gaussian filter with a variable sigma
I have a large gridded dataset I'd like to lowpass filter. The catch is, need to specify a different sigma value for each pixel ...

2 mesi ago | 1 answer | 0

1

answer

Answered
How can I get a mask matrix from a fill?
Perhaps you want to use inpolygon to get a mask of grid cells within the polygon?

3 mesi ago | 0

Answered
How can I make an image with both ocean and land information?
This is very easy with the Climate Data Toolbox for Matlab! First, plot the base image with earthimage, then overlay it with a p...

3 mesi ago | 0

Answered
How can I interpolate an ocean's variable without interpolate the continents?
You can use the island function in the Climate Data Toolbox for Matlab to determine which grid cells are land and which ones are...

3 mesi ago | 0

Answered
Can anyone help plot the India map showing land and oceans, without using mapping toolbox ??
For this you can use the earthimage function in the Climate Data Toolbox for Matlab. It does not require the Mapping Toolbox.

3 mesi ago | 0

| accepted

Answered
How to perform EOF
I think the easiest way is with the eof function in the Climate Data Toolbox for Matlab. Check out the documentation, it describ...

3 mesi ago | 0

Answered
Globe display issue - need opaque sub-surface
For the globe functions in the Climate Data Toolbox for Matlab I had to include one called globefill, for that very purpose. If ...

3 mesi ago | 0

Answered
How can you plot lines of latitude and longitude on a globe without using the mapping toolbox ?
I turned my answer into a collection of functions called globeplot, globesurf, globegraticule, globeborders, etc. which you can ...

3 mesi ago | 0

Answered
how to write data on grid in a plot?
That looks like a heatmap chart. However, a 181x361 grid of text values will probably be illegible. On most screens that's only ...

3 mesi ago | 0

Answered
How to calculate the area of each grid cell?
The easiest way is to use the cdtarea function in the Climate Data Toolbox for Matlab. For gridded coordinates Lat,Lon, syntax i...

3 mesi ago | 1

| accepted

Answered
Plot a point of my gridded map
If you know the grid indices, it would just be sst1 = squeeze(sst(row,col,:)); where the corresponding geo coordinates would...

3 mesi ago | 0

Answered
Writing a loop to calculate a seasonal cycle and then plot the seasonal cycle?
Check out the season and climatology functions in the Climate Data Toolbox for Matlab. The functions make it easy to extract sea...

3 mesi ago | 0

Answered
Can't plot a trendline
Check out the polyplot function in the Climate Data Toolbox. If you define the x and y data, plotting a least-squares trend line...

4 mesi ago | 0

Answered
Help with plotting world grid climate variable lat/lons
Hi Macarena, I wrote the recenter function in the Cimate Data Toolbox to do exactly what you want to do. It lets you move a ...

4 mesi ago | 0

Submitted


The Climate Data Toolbox for Matlab
A set of low-level functions and tutorials for analyzing and displaying Earth science data.

4 mesi ago | 93 downloads |

Thumbnail

Answered
How to apply hatched region to a polar map
For anyone who wants to do this with Antarctic Mapping Tools, you may be able to use my stipple function. For a lat,lon grid and...

4 mesi ago | 1

Submitted


tile
Easily determine indices to break a large 2D matrix into smaller tiles.

5 mesi ago | 0 downloads |

Thumbnail

Submitted


cmocean perceptually-uniform colormaps
Perceptually-uniform colormaps inspired by oceanography

5 mesi ago | 144 downloads |

Thumbnail

Answered
How can I create a gif that plays only once?
Use my gif function! Just type gif('myfile.gif','LoopCount',1) for the first frame and then gif to write each subse...

6 mesi ago | 1

Answered
How do I filter my data points without using smoothdata?
What about movmean to smooth the data, then interp1 to pick out the 5 points you want?

6 mesi ago | 0

Answered
How do I read an image file in .fits format and convert it to.png or .tiff?
You should be able to read it with fitsread and then save it to png or tiff with imwrite.

6 mesi ago | 1

Answered
How to create a only a time vector starting 13:15:00 to 20:59:00 with 1 minute interval? R2016a
This is a datetime for today, starting at 13:15 and going to 20:59, in 1 minute [1/(24*60)] intervals. t = datetime(2018,12,11...

6 mesi ago | 0

| accepted

Answered
time series comparison metric
The simplest way is just to compare the standard deviations of each signal: st1 = std(d1); st2 = std(d2); Although that ap...

6 mesi ago | 0

| accepted

Answered
Make x axis ticks and extent match
You're on the right track. If you want all the xticks to be the same, then you'll have to set them all to the same values. Curre...

6 mesi ago | 0

Answered
Why the EOF gives the total of 99.9
This line in caleof is the culprit: expvar(iN)=fix((dsum(iN)*100/sum(dsum))*10)/10; The fix function rounds down. The part th...

6 mesi ago | 0

Answered
How to change figure size?
The paper size options are for printing, so they don’t change the size of the figure. The ‘Position’ property sets the size of ...

7 mesi ago | 15

| accepted

Answered
How do I create a color bar to correspond to my jet color scheme?
Try this: Plot some data: surf(peaks) Change the colormap*: colormap(jet) Add a colorbar and put a label on it: cb = ...

7 mesi ago | 0

| accepted

Answered
creating subplot from function
Looks like instead of |x| you meant to call that variable |fname|? If so, something like this: fname = {'fname1.txt','fname...

7 mesi ago | 0

Submitted


Antarctic Mapping Tools
A toolbox for analysis and display of Antarctica-related data

8 mesi ago | 37 downloads |

Thumbnail

Load more