Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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]); %...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

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

circa 4 anni fa | 1

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

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

circa 4 anni fa | 1

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 1

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 1

1

risposta

Carica altro