Domanda


Save OR open figure with transparent background
Hello, I need to save my pie charts without white background behind it (transparent), I was searched dozens of webpages and tr...

circa 4 anni fa | 1 risposta | 0

1

risposta

Risposto
How to reset the default layout for text editor? How to display the editor above the command window?
Hi click on this, <</matlabcentral/answers/uploaded_files/283864/matlab.jpg>> Then choose docked

circa 4 anni fa | 0

| accettato

Domanda


Plot multiple separate figures
Dear all, I have a table with two rows, I have a code to plot a pie chart for a first row, Now for each row I want to have a s...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Is it possible to summarize this code?
Hey all, Is it possible to summarize this code below? This code creates a pie chart with 5 equal parts, then checks for city n...

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


How to make this pie chart?
Hey all, I want to know is possible to have a pie chart with 5 pies so that I can change the color of each pie that I want? Just...

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


Extract first row from cell arrays
Hey all, I have a 1 x 3 cell, which contains tables. In each table there are a lat and lon columns, I want to extract the first ...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Index nearest vlaue to zero between some negative and posetive values in one row
Hello, I have a table, I want to index the nearest value to the zero in each row; I have some data like -0.009, 0.0025 ( I mean ...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Comparing rows of a table
Hey all, I have a table, this table represents the value of creation coefficient (CC) and RMSE for 3 of my models. Now in each ...

circa 4 anni fa | 1 risposta | 0

1

risposta

Risposto
Ignore NaN and -9999 values
Hi, It should be something like this, I learned it yesterday. I assume T is the name of your table: T_new = standardizeMissing...

circa 4 anni fa | 2

Risposto
How to load a table from .csv and skip lines?
Hi, try this filename = 'student_mat.csv' % open file (make sure it exist in the current folder) T = readtable(f...

circa 4 anni fa | 1

| accettato

Domanda


How to filter tables in the cell?
Hey all, I have a 1x2 cell array (C), containing tables. In each table, I have a column named season. rows in the season column ...

circa 4 anni fa | 2 risposte | 0

2

risposte

Risposto
How to write cell array to excel file
Try this: writecell(X, 'X.xlsx')

circa 4 anni fa | 1

Risposto
help with creating a function
Try this function F = myfun(x,y) %UNTITLED Summary of this function goes here % Detailed explanation goes here if x<y ...

circa 4 anni fa | 0

Risposto
How can I read and extract Fill Value from netcdf file
Try this: I assume that the name of your NetCDF is filename vinfo = ncinfo(filename) % You can see the struct now Fill_v = vi...

circa 4 anni fa | 0

Risposto
converting a table of numeric data into a double array?
I believe it's mean that you have non-numeric data in your table. Try this: If T is your table, use cell2mat after table2array...

circa 4 anni fa | 1

| accettato

Domanda


Comapre arrays of two cells and keep similar arrays
Hi I have 2 cells, A and B; each one containing tables. In the tables, there are a "lat" and "lon" columns. Some "lat" and "lon...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Plot value during months (stackedplot)
Hey all I want to stackedplot vlaues of models for each month of a year, I have 7 models. In the array that attached, I have 1...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Display mean of data on a boxchart
I need to show the mean of each box plot on the figure. here is the code to generate my box plot: x = 1:numel(data); colors = ...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to have more than one box plot in one plot?
Hey all, I'm unable to plot more than one box plot in one figure. My data sets are seven n x 1 double (every double array of t...

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


Whats wrong with this 45 degree line on the plot?
Hey all, I wanted to have a 45-degree line on my plot in order to have a background for comparing with the trend line of forecas...

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


Problem with subplot size and annotation of each plot
Hey all, I read the documentation very carefully and make this subplot, however, you can see it is very messed up. I have annot...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to modify this code for calculation seasonal values for each year (not all years)
I have a 1x3 cell contains three 360x3 tables. For every table, I want to calculate the average of rrr24 for each season and wri...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Sort and export data from 2 cells
Hey all, I have 2 cells (A and B). Each one contains three 1x2 tables. In each table, I have a month number column and precipi...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Error in using rmoutliers()
Dear All, I was read rmoutliers documentation carefully and want to use it in order to remove outliers' values in a matrix (na...

circa 4 anni fa | 2 risposte | 0

2

risposte

Domanda


I want to add a 45-degree line on my plot. I tried some ways (including refline) all give me a 38-degree line!
Hey all I wanted to have a 45-degree reference line on my plot. I searched and found there is a function namely refline so I us...

circa 4 anni fa | 3 risposte | 0

3

risposte

Domanda


Why my for loop does not work correctly?
Hey all, I had this code below: for i = 1:numel(Class1_mon_avg_synop) %size of Class1_mon_avg_synop is 1 x 12 cell ave(i...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


How to use bar function?
Hey all, I have X= 6 and Y= 14. I want to have a plot like this: (x is blue and y is green) I tried so many ways, All unsucc...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


I want the points that located in a certain polygon
Hey, I have 92 points. Each point has latitude and longitude. On the other hand, I have a shape file consist of six different p...

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Please help me to correct my for-loop
Hey all, I have a 1x3 cell with three 360x3 table. Each table has a column date with 30 years of the monthly data (30x12 = 360)....

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


I want annual data from monthly data (sum of every 12 months)
Hey all, I have a 1 x3 cell which contains 3 tables (360x3). In each table, there is a "dates" column (MM/DD/YYYY) and precipi...

circa 4 anni fa | 1 risposta | 0

1

risposta

Carica altro