Community Profile

photo

A Leglep


Last seen: 2 giorni ago Active since 2020

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

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

19 giorni ago | 1 answer | 0

1

answer

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

29 giorni ago | 2 answers | 0

2

answers

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

circa un mese ago | 0 answers | 1

0

answers

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

3 mesi ago | 0 answers | 0

0

answers

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

4 mesi ago | 2 answers | 0

2

answers

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

4 mesi ago | 2 answers | 0

2

answers

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

4 mesi ago | 1 answer | 0

1

answer

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

5 mesi ago | 1 answer | 0

1

answer

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

5 mesi ago | 1 answer | 0

1

answer

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

5 mesi ago | 1 answer | 0

1

answer

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

6 mesi ago | 1 answer | 0

1

answer

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

circa un anno ago | 1 answer | 0

1

answer

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

circa un anno ago | 1 answer | 0

1

answer

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

circa un anno ago | 1 answer | 0

1

answer

Question


How can I ignore 0 values when computing the mean over the third dimensional of a 3D matrix?
Hi, I have a 3D matrix size 951x301x720 let call it A. I want to get a 951x301 matrix B with the mean of A over the third ...

circa un anno ago | 1 answer | 0

1

answer

Question


How do I change the colour of certain indices in scatterplot?
Hello, I am very new to this. I am looking to make a scatter plot with some points plot as black point and some as red accordin...

circa un anno ago | 1 answer | 0

1

answer

Question


How do I change certain value of a matrix by adding a something to the existing value?
I am very new to this. I would like to change all the negative value of my matrix by 360+abs(existing value). Let A be a matr...

circa un anno ago | 1 answer | 0

1

answer

Question


Is there a way to make the grid of latitude/longitude bolder when I use worldmap('World')
Hello, I am very new to this. I am looking to make the grid of the lat/lon bolder when I use: worldmap('Word'). I plot a color...

circa un anno ago | 1 answer | 0

1

answer

Question


How can I create a temperature colormap over a global map with temperature data from lat/lon
Hi, I am very new to this. I am looking to make a colormap using temperature data for every lat/lon and plot in on a global map...

circa un anno ago | 2 answers | 0

2

answers