Adding a title to a graph
Afficher commentaires plus anciens
I am trying to add a title to a graph I am making. I am using sprintf to allow the title to change depending on the values entered earlier in the script. So far, it is displaying all the wording correctly, but I want to make it bold and it is not working.
Anyone know what the problem is?
title(sprintf('Beam Deflection for a %s Beam \n%6.2f lb. load applied to a %s %s'...
,beam.strsupport,beam.magnitude,beam.strmaterial,beam.strcross),'fontweight','b')
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Title dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!