Info
This question is locked. Rouvrir pour modifier ou répondre.
Decision Branching, modification Script
52 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Réponse acceptée
Dhruv G
le 5 Juil 2021
if doPlot
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)")
end
0 commentaires
Plus de réponses (0)
This question is locked.
Voir également
Catégories
En savoir plus sur Geographic Plots dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!