How to draw 2 different plot on a graph
1 回表示 (過去 30 日間)
古いコメントを表示
we have two column A and B. so how to draw 2 different plots on a graph?
0 件のコメント
回答 (1 件)
Tommy
2020 年 5 月 29 日
編集済み: Tommy
2020 年 5 月 29 日
hold on
or
set(gca, 'NextPlot', 'add')
in between your calls to plot or however you are plotting.
5 件のコメント
Tommy
2020 年 5 月 29 日
Ok thank you. What are you hoping the plot will look like? Your vector is so long that it is impossible to see any of the background which would make it easier to see the actual values being plotted. Similar to the following:
plot(rand(1000000,1))
Do you no longer have two columns to plot?
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!