A LL
Followers: 0 Following: 0
Feeds
提问
Subplot panels which have several axes linked together using "tiledlayout"
I want to suplot panels a and b. Each panel has 3 different axes that I link together (1-colormap for continents, 2-colormap fo...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to extract the first column of a structure array and save it as a different array
I have a structure array containing the names of my files in the first column. I want to extract only the names of my files and...
2 years 前 | 3 个回答 | 0
3
个回答提问
How to make xtick where there is a tick label in bold?
How to make the xtick mark where I have a label in bold (as shown in attached figure). Here is the code I use to generate the f...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to reshape latitude, longitude and data of not regularly-spaced vectors into 2-D matrix to plot a pcolorm?
I have latitude, longitude and data vectors of size 7631 that are not equally spaced. I want to plot a pcolorm of the data at t...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to remove February 29th for leap years in a daily time series over 43 years?
I have an array of values (x) representing daily data for 43 years (1979-2021) where size(x)=15706 I rearranged the data to hav...
2 years 前 | 2 个回答 | 0
2
个回答提问
How to rearrange time array in a matrix of years and days?
I have an array of values (let say x) representing daily data for 43 years. Is there a straightforward way and without using a ...
2 years 前 | 2 个回答 | 0
2
个回答提问
Error message when trying to compute EOF with covariance matrix.
I am trying to compute EOFs from a code I used before, but it does not seem to work here since my dataset has a too good spatial...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to plot fewer arrows and increase their size on a quiver plot that is merged over another field?
I am merging 3 fields together (land/ocean, pressure field and velocity field). I manage to align all the fields together but I...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to remove horizontal spacing between subplots?
I have a figure with 2x2 subplots. I want to make the subplots side by side so that there is no spacing between the subplots. I...
2 years 前 | 2 个回答 | 0
2
个回答提问
Is there a way to remove the mesh from an alphaShape plot?
I plot shapes with the function alphaShape (see attached figure). Is there a way to remove the mesh of the alphaShape to plot t...
2 years 前 | 1 个回答 | 0
1
个回答提问
How to flip non-zero elements of an array and keep zero elements at initial position?
I have an array (A) with non-zero elements and zero elements. I want to flip all non-zero elements of A but keep all zero eleme...
2 years 前 | 4 个回答 | 0
4
个回答提问
How to make my quiver plot readable?
I have the vector field (U,V) of size 361x361 that I want to plot as a quiver plot. For now, the vector field is just unreadabl...
3 years 前 | 1 个回答 | 0
1
个回答提问
Unable to set ticks on a colorbar
I am unable to define ticks on my colorbar. I want to plot the figure shown below with ticks at [1002 1004 1006 1008 1010 1012 ...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to create a mask on a map in lat-lon coordinates?
I want to produce a mask on the region shown in figure (map_mask.fig). I have a lon x lat grid of size 1440x121. It represent...
3 years 前 | 1 个回答 | 1
1
个回答提问
How do do a pcolorm of an array with NaNs?
I exported a mask from a coarser resolution to a finer resolution grid. The grid with finer resolution is a lon x lat grid of s...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to find the corresponding points of interest on a lat/lon matrix?
I have latitude (updownLat) and longitude (updownLon) coordinates for my points of interest. I have a lon x lat grid of size 14...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to fill the area between two curves with discrete data and with a condition (y<0 & y>0)?
I have a vector containing the values I want to plot in y (data.mat). In x, I have years ranging from 1979 to 2018. The data r...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to retrieve the index of positions starting with a specific character in a cell array?
I have two arrays. array1 contains values and array2 contains characters. Each character of array2 is associated with the value...
3 years 前 | 2 个回答 | 0
2
个回答提问
Looking for a way to partition an alphaShape object between its respective alphaShape sub-regions.
I have an alphaShape object (shp) made of 11 distinct sub-regions (N=11). I want to partition my alphaShape between it's 11 res...
3 years 前 | 1 个回答 | 1
1
个回答提问
How to define the areas of specific polygons?
I am looking for a clever way to define the points of the polygons A, B, C, E, F (see attached figure 2007_zones.png) on my map....
3 years 前 | 1 个回答 | 0
1
个回答提问
Why can't pcolor show the entire matrix to plot?
I am trying to plot a pcolor of the matrix Error3D which is size 300x300. Error3D is mostly NaNs except for Error3D(:,100), Err...
3 years 前 | 2 个回答 | 0
2
个回答提问
How can I create a surface plot (with height in Z) from X-Y coordinates and Z as a matrix?
I try to plot a surface plot (with height in Z) from X-Y coordinates and Z as a matrix. X and Y are my coordinates from 1 to 10...
3 years 前 | 2 个回答 | 0
2
个回答提问
Why does figure(2) keeps overwriting the previous figure?
I try to open figure(2) in a different window but it keeps overwriting the previous figure. I am currently working with MATLAB...
3 years 前 | 1 个回答 | 0
1
个回答提问
Only returning NaNs when trying to do a double for loop
I have a matrix of size (361,361) named sivTotEASE. At specific index i.e. sivTotEASE(m,n) I want to compute the mean (omiting...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to superpose pcolor and plot on the same figure?
I try to superpose points with plot on pcolor and I only get the plot or the pcolor which is the furthest in the code lines. I ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Why can't I display a line on a plot (can only have points marker)
I'm trying to plot a line (x1,y1) on a plot where I applied a mask for land (green) and seas (blue). Whatever the LineSpec I try...
3 years 前 | 1 个回答 | 0
1
个回答提问
How do I compute the area enclosed by contourm?
Hi all :) I would like to know how to compute the area enclosed by a contour line plotted using contourm. I have a 361x361 mat...
3 years 前 | 1 个回答 | 0
1
个回答提问
Polyfit returns the wrong correlation coeffcient when I try do a linear regression
Hello :) I am trying to do a linear regression for a set of data, but the regression coefficient returned by matlab polyfit don...
4 years 前 | 1 个回答 | 0
1
个回答提问
How can I change the size of my figure or the title position so that the title does not overlap my figure anymore?
Hello, I am trying to reduce the size of my figure or to upper the position of my title so that the title doesn't overlap the f...
4 years 前 | 0 个回答 | 0
0
个回答提问
How can I find the position vector associated to an indice with the find function?
Hi, I am looking to plot a black grid-cell for specific indices but I don't know how to do that. I have a matrix A size 1440x7...
4 years 前 | 1 个回答 | 0