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년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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 ...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0