for文でplotさせる方法
显示 更早的评论
ワークスペースにあるD1~D4のデータを使ってグラフをplotしようとしています。
for n=1:4
s=num2str(n)
xx="D" + s + ".x.data"
yy="D" + s + ".y.data"
plot(xx,yy)
end
で実行すると
エラー:plot
入力引数が不足しています。
となります。
何が間違っているのか、ご教示頂けると助かります。
宜しくお願い致します。
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!