how can I plot values from diffrent runts into the same graph
Mostrar comentarios más antiguos
I am running a code with a variable A and I get at the end of the code a number and then I would like to change the value of the value of A and run again, So How can I plot these two numbers from different runs into the same graph and connect them example A= 5 run my code and then I get b=3 plot(A,b) and then second run A= 7 run the code and I get b=2 Plot(A,b) how can I connect those to points into one graph ( I don't want to make A a vector )
Respuestas (1)
madhan ravi
el 20 de Oct. de 2018
0 votos
use :
hold on
after plot command
Categorías
Más información sobre Data Import and Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!