Question

Count number of smaller than the threshold in the certain rows of cell arrays

Dear all, I have a 1 x 3 cell array, each 3 array includes 360x1 double. For each 1 to 360 rows stored in every 3 arrays, I wan...

2 months ago | 1 answer | 0

Question

How to make this plot?

Dear all, I have a table namely DATA. I don't know how to have a plot like this in the below for it. Any advice is highly ap...

3 months ago | 1 answer | 1

Question

Counting consecutive negative numbers in an array

Hello, I need to find how many times consecutive negative numbers are in the array. For example: v = [11 2 3 -1 -2 1 -1 -1 -3 1...

3 months ago | 1 answer | 0

Question

How to shift the y-axis and force it to start at another number rather than 0?

Dear all, I have this: But I need to see what is the plot if the horizontal axes cross value is -3 like this (with same as ...

3 months ago | 1 answer | 0

Question

How to plot this?

Dear all, I want to have something like this plot: GPCC, UDel, CRU, and APH are models, and MBE, MAE, and MD are correspondin...

4 months ago | 1 answer | 0

Question

How to find the percentage of smaller than X in a specific column in all tables in a cell

Hello everyone I have a cell with four "360x5 tables" inside it. I want to understand the percentages of smaller than 0.5 in t...

4 months ago | 1 answer | 0

Question

Save just part of the figure

Dear all, I generate my color bar using this code ax = axes; colormap (flipud(cool(10))) caxis([0 1]) c = colorbar(ax,'south...

6 months ago | 1 answer | 0

Question

The plot draws at y = -20, is there any way to force it to plot like normal (y=0)?

Dear all, I don't know why my plot starts plotting at -20! Is there any way to plot it on the y=0? Thank you

6 months ago | 1 answer | 0

Question

Select rows based on a string in a cell

Hello, I have a 1x19 cell. Each cell looks like this: I want to store the precip values of WIN in each array. So the output...

7 months ago | 1 answer | 0

Question

How to plot confident interval of ecdf() as shade?

Hello all, I used ecdf() to plot my data, it calculates upper and lower band, but I don't know how to plot them like this: a...

7 months ago | 1 answer | 0

Question

Huge white space around the plot after saving

Hi all, Unfortunately, after save my figure and paste it in the Microsoft office word I see there is a huge white space around ...

7 months ago | 2 answers | 0

Question

Question about extracting rows from a table based on string

Hello everyone I wanted to store all winter ("Win") values of the rrr24 column in my data set in a new array So I tried to d...

7 months ago | 0 answers | 0

Question

Select points inside a polygon

I have 96 points (longitude and latitude); each point is a center of 0.5 x 0.5 pixel (box), on the other hand, I have a polygon,...

7 months ago | 3 answers | 0

Question

Plot a box around set of points

Dear all, I would be grateful if you can tell me how I can create a 0.5 x 0.5 box around each point that I have. I want each poi...

7 months ago | 1 answer | 0

Question

Create a box around points and use in inpolygon

Dear all, I used this code below in order to select the points that are placed in/on the polygon which is correct and gave me t...

7 months ago | 1 answer | 0

Question

Problem with adjusting custom colormap and colorbar

Hello everyone How to adjust a color bar in this way? lower than 0.05 = white 0.05 ~ 0.1 = red 0.1 ~ 0.2 = yellow 0.2 ~ ...

7 months ago | 1 answer | 0

Question

How to store the output of a function?

I used a function from FEX, when it's run the output is showing in the command window but nothing adds to workspace. Is any way ...

7 months ago | 1 answer | 0

Question

Question about Anderson-Darling (adtest)

I want to check if two data sets have similar distribution. I would like to use Anderson-darling test in order to do that, But a...

7 months ago | 1 answer | 0

Question

How to plot something like this?

Hello everyone, Assume that I have this 3 datasets (A, B, C) and I want to have a plot like this (please kindly ignore the whi...

7 months ago | 0 answers | 1

Question

Change the color of each group in boxplotGroup

I used Adam Danz's boxplotGroup to making two groups of box charts; data = {rand(100,2), rand(100,2)+.2, rand(100,2)-.2}; box...

7 months ago | 1 answer | 0

Answered

How can I use some downloaded function?

Hello In order to use downloaded function you can click on the Set Path in the home menu: And then click on the add folder ...

How can I use some downloaded function?

Hello In order to use downloaded function you can click on the Set Path in the home menu: And then click on the add folder ...

7 months ago | 0

| accepted

Question

Reduce the distance between boxplots

Dear all, Here are my boxplots that generated from the below script: figure(); ax = axes(); hold(ax); for i=1:numel(data) ...

7 months ago | 1 answer | 0

Question

How to select different colors and legend for the bar plot??

Hello everyone, I plot this bar plot in order to show the difference between each model (3 models) in condition A and condition...

7 months ago | 2 answers | 0

Question

Save figure with high-quality

Dear all, I want to save my figure with high quality. I need the quality of the figure do not reduce by zooming. I tried someth...

7 months ago | 1 answer | 0

Question

How do I bring the plot in front of the surf?

Dear all, I want to bring the plot on the front of the surf, not behind it. surf(loni, lati, new_precipitation.'); view(2) h...

7 months ago | 1 answer | 0

Question

Plot 2D-histogram for X and Y

Dear all, I have two types of data sets (X and Y) with equal size, which I would like to plot 2D-histogram of them, in order to...

7 months ago | 4 answers | 0

Answered

Obtaining the Bonferroni 95% confidence interval between two variables

Hello, my friend, I learn this a few days ago. In order to gain Bonferroni p-value you should have STATS, you may not hear abo...

Obtaining the Bonferroni 95% confidence interval between two variables

Hello, my friend, I learn this a few days ago. In order to gain Bonferroni p-value you should have STATS, you may not hear abo...

9 months ago | 1

| accepted

Question

How to considering another column in this code?

Dear all, I use this code to get an average of certain columns namely rrr24 row-by-row for all tables inside a cell: C1 = mean(...

9 months ago | 1 answer | 0

Question

Set interval for colorbar

Dear all, I used colormap bone colorbar But I want to have a color bar like this (intervals splite colors like this): I...

9 months ago | 1 answer | 0

Question

What is the variable names of c in Kruskal-Wallis test documentation?

Dear all, I read the documentation of Kruskal-Wallis test; somewhere in it is talking about c = multcompare(stats) In this p...

9 months ago | 1 answer | 0