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

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år ago | 2 answers | 0

2

answers

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

nästan 4 år 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 =...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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....

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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]); %...

nästan 4 år 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...

nästan 4 år ago | 1 answer | 0

1

answer

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

nästan 4 år 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)...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år 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...

nästan 4 år ago | 1 answer | 1

1

answer

Question


What is the true syntax for export_fig in order to save in a specific folder?
I read almost everywhere of 3rd party Matlab function namely export_fig (downloaded from FEX) documentation But, I don't know ho...

nästan 4 år ago | 1 answer | 1

1

answer

Load more