Simscape Node Plotting - can you overlay two data sets?
1 回表示 (過去 30 日間)
古いコメントを表示
Is there a way to overlay two simscape data node points on the same plot? There's simscape.logging.plot(Node.value.parameter) but if I have another set that I want to compare to, this yields a seperate plot.
Any thoughts?
0 件のコメント
回答 (1 件)
Nilanshu Ranjan
2022 年 11 月 4 日
I understand that you want to overlay the plot for two simscape data nodes.
For achieving this, you can utilize the cell array to pass multiple parameters to simscape.logging.plot() function as:
simscape.logging.plot({simlog1.TS.x simlog2.TS.x},'names',{'Run1' 'Run2'});
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Logging についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!