how can I plot values from diffrent runts into the same graph
古いコメントを表示
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 )
回答 (1 件)
madhan ravi
2018 年 10 月 20 日
0 投票
use :
hold on
after plot command
カテゴリ
ヘルプ センター および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!