photo

A LL


Last seen: plus de 2 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

  • Thankful Level 4

Afficher les badges

Feeds

Afficher par

Question


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...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 2 ans il y a | 3 réponses | 0

3

réponses

Question


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...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


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 ...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


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...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


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...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 2 ans il y a | 4 réponses | 0

4

réponses

Question


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...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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 ...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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...

presque 3 ans il y a | 1 réponse | 1

1

réponse

Question


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...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


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...

environ 3 ans il y a | 2 réponses | 0

2

réponses

Question


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...

environ 3 ans il y a | 1 réponse | 1

1

réponse

Question


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....

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


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...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


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...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


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 ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


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...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


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...

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


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...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Charger plus