Info
This question is locked. 请重新打开它进行编辑或回答。
Decision Branching, modification Script
58 次查看(过去 30 天)
显示 更早的评论
Modify the script so that the plotting code on lines 4-7 are executed only when doPlot is 1.
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)")
1 个评论
采纳的回答
Dhruv G
2021-7-5
if doPlot
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)")
end
0 个评论
更多回答(0 个)
This question is locked.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geographic Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!