Question


How to induce loop index in the X-label also with changing label name at each iteration?
I have two programs saved in a seperate files, for instance a1.m and a2.m, and each program has the following structure. The var...

3 years ago | 1 answer | 0

1

answer

Question


How to Plot a function on 3D-sphere?
I want to plot the function P of the equation shown. I have to obtan the following figure. I have already obtained all the input...

3 years ago | 1 answer | 0

1

answer

Question


How to change the height of the subplots without changing x,y-positions and width?
I have plotted three subplots in one figure which appeared in the upper side of the main figure window as shown. The bottom of t...

3 years ago | 1 answer | 0

1

answer

Question


how can I show all of my data in the legend for each curve?
My plot has 10 curves which are according to the data of EC as shown in figure. However the legend displays only the last term i...

3 years ago | 2 answers | 0

2

answers

Question


Alternate form of eval function
How can I write these two syntaxes in alternate from? eval(['I',num2str(i),num2str(j),num2str(k),'=','getsiganl(filename1)',';...

3 years ago | 2 answers | 0

2

answers

Question


How to apply the loop index on the output (filename) of the sprintf function?
The program gives the following output variables in the workspace as shown in figure. I have three questions regarding the outpu...

3 years ago | 1 answer | 0

1

answer

Question


How to write a short syntax for the legend?
The legend in the plot shows seven lines is according to the length of EC in the program. I want to write one syntax for the leg...

3 years ago | 1 answer | 0

1

answer

Question


How can I give different colours not randomly to large number of lines in one plot?
The syntax in the code col=['r' 'y' 'b' 'g' 'k' 'c' 'm' 'k' '#D95319']; is related to the color of the lines in the plot which w...

3 years ago | 1 answer | 1

1

answer

Question


How can I display data in order in the legend?
I want to display the legend as; black dot as actual data, green dot as data fit and red line starting from PolyCurve4/mum and s...

3 years ago | 1 answer | 0

1

answer

Question


How to merge multiple plots into one?
I have obtained 17 figures from the program below but each figure is displayed seperately. I want to merge them all and plot the...

3 years ago | 1 answer | 0

1

answer

Question


How can I show all the plotted lines in the legend?
Hi, I have obtained the figure from a program as shown below. In general, the figure contains the actual data,data fit and four ...

3 years ago | 1 answer | 0

1

answer

Question


Data exceed the computer memory
Hi, I have obtained these curves from the mentioned program. I'd like to make the blue curve more smoother which can be done by ...

3 years ago | 1 answer | 0

1

answer

Question


Plot 3D EM waves
How can I plot this figure in matlab? I found some examples of EM plotting but axes were not shown there. I'd like also to ment...

4 years ago | 2 answers | 0

2

answers