photo

A LL


Last seen: oltre 2 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

  • Thankful Level 4

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 4 risposte | 0

4

risposte

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 1

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 3 anni fa | 1 risposta | 1

1

risposta

Domanda


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

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Carica altro