Question


How to plot pixels on the figure when I have coordinates of the center of each pixel
Hello, I have the coordinates of the center of 93 0.5x0.5 pixels. I want to plot them like this picture: Here is my data w...

3 Monate ago | 1 answer | 0

1

answer

Question


Cross-validation the output of "scatteredInterpolant" in order to choose best method (linear, nearest, and natural)
Dear all, I had the value of precipitation in 93 scattered coordinate stations; I used "scatteredInterpolant" to interpolate t...

3 Monate ago | 1 answer | 0

1

answer

Question


How to calculate the mean of a certain column of tables inside a cell
Dear all, I have a 1x3 cell, with tables as it's arrays. I want to have a mean of first column of each table. So the output I n...

3 Monate ago | 2 answers | 0

2

answers

Question


How to add tick just for the left axis
Dear all, Here is my plot: I turned off the thicklength in this plot using this code: set(gca,'TickLength',[0 0]) Now I wa...

3 Monate ago | 1 answer | 0

1

answer

Question


How to remove small indicator lines in the x and y-axis of a plot?
Dear all, Here is my plot: As you can see in every label there is an annoying small line (which I highlighted them using lig...

3 Monate ago | 1 answer | 0

1

answer

Question


Is it possible to have a custom color bar?
Is it possible to have a custom color bar? Dear all, I have a pre-plotted figure, Is it possible to add a color bar from -25 to...

3 Monate ago | 1 answer | 0

1

answer

Question


How to rotate the annotation text box?
I want to rotate my annotation text box so I used both of this codes: annotation(gcf,'textbox',... [0.365880952380952 0.21...

3 Monate ago | 2 answers | 0

2

answers

Question


Fill inside a polygon with a color
Dear all, I want to fill a polygon that I readed from shapefile with blue in order to visualzing it as lake. I searched alot an...

3 Monate ago | 1 answer | 0

1

answer

Question


Problem with plotting two x-Axes and y-Axes
Dear all, Here is my plot: I want to convert it to something like this picture below that I found on google: Here is my c...

3 Monate ago | 1 answer | 0

1

answer

Question


Calculating percent of data in table
I have a 1x12 table, Is there any quick way or function to find percentage for each column based on total? for example: data =...

3 Monate ago | 1 answer | 0

1

answer

Question


Grid data interpolation to find value in scattered points
Hello Everyone I have a grid data set (0.5 x 0.5 latitude x longitude) which each grid represents the average value for that gr...

3 Monate ago | 1 answer | 0

1

answer

Question


A question about scatteredInterpolant function
Hello everyone, I have a question about interpolating function scatteredInterpolant . Assuming I have some scattered points; t...

3 Monate ago | 1 answer | 0

1

answer

Question


save workspace BUT with another name!
Hey all, I can save all variables in my workspace using this: save workspace After that, it saved by the named workspace.mat....

4 Monate ago | 1 answer | 0

1

answer

Question


How to quickly index the first cell of sets of the array with near similar names?
Hey all, Here is my workspace: I want to know if there is any way to index the first cell of each P_ arrays based on (Jan, Fe...

4 Monate ago | 3 answers | 0

3

answers

Question


How to plot something like this plot?
Hello I want to show the following data: Jan = 5 Feb = 10 March = 5 April = 1 May = 14 June = 12 July = 0 August = 3 S...

4 Monate ago | 1 answer | 0

1

answer

Question


I want to export a figure but with 50% smaller Width and height
Hello all, I saved my figure using the following code set(gcf, 'Units', 'Normalized', 'OuterPosition', [0, 0.04, 1, 0.96]); %...

4 Monate ago | 1 answer | 0

1

answer

Question


Custom grid on a plot
Hey all, I have a plot that represents an error of 7 models in the months. I wanted to split each month's results by a line or...

4 Monate ago | 1 answer | 0

1

answer

Question


Mean of each arrays in the cell (I can do it but is there any better way available?)
Hey all, I have a 12 x 15 cell like this: I want to have average of each row. I can doing it using this: ans = cellfun(@(x)m...

4 Monate ago | 0 answers | 0

0

answers

Question


Problem with xlim when having date
Dear all, I have a problem with x-axis intervals. I would like to start the x-axis in 1989 and end in 2018; with 5 years inter...

4 Monate ago | 1 answer | 0

1

answer

Question


Calculating average of cell arrays
Hello all, I have a 1 x 3 cell which represents monthly data from 1989 to 2016 for 3 models (each cell arrays is for one model)...

4 Monate ago | 1 answer | 0

1

answer

Answered
How can I remove this empty cell from my structure array?
Hi, In my opinion Since you have a corresponding value for it in the next column, you can delete it, you can change it to the n...

4 Monate ago | 1

Question


Question about rmoutliers () function
Hello, I wanted to remove outliers from my data when outliers defined as values greater than quartile 3+1.5IQR (the interquarti...

4 Monate ago | 1 answer | 0

1

answer

Answered
Insert this equation into a code
Hi, I create it as a function: function r = mifun(a,b,t) %this function calculates r based on a and b and t as inputs % Det...

4 Monate ago | 1

Question


For- loop to plot multiple images on a figure
Hello, I have 6 images that I want to insert on the one plot at the same time based on the latitude and longitude that specifie...

4 Monate ago | 1 answer | 0

1

answer

Question


How to actually using image(x,y,c) function?
Dear all, since I read the documentation about image(x,y,c) function and understand a few things, I ask you please tell me how t...

4 Monate ago | 0 answers | 0

0

answers

Question


Display small images on certain x and y (coordinates)
Hello everyone, I have 3 images that I want to plot each one in a certain x and y (latitude and longitude) coordinates. The lat...

4 Monate ago | 1 answer | 0

1

answer

Question


Why image rotates after adding to a figure- how to prevent it?
Hey all, I have a problem, I used this code to add my .png image to the current figure (map of the country), gs = geoshow(A, c...

4 Monate ago | 1 answer | 0

1

answer

Question


I have a transparent .png picture when I add it to the current figure the background of it changes to black!
Hey all, I wanted to add a picture of my current figure. The picture is transparent png but when I added to my figure a black ba...

4 Monate ago | 1 answer | 0

1

answer

Question


Grid line not showing for y-axis
Hey all, the figure that I have is generated via geoshow, that look like this: In order to cut the blank part between 40 to 4...

4 Monate ago | 1 answer | 0

1

answer

Question


How I can view this .tif file?
I have a tif file which represents the altitude for a country, I can simply open it in Esri's ArcGIS (Arc Map), Here is the resu...

4 Monate ago | 1 answer | 0

1

answer

Load more