Setting a Variable value as Label in Plot
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a variable file_name which stores the name of the file eg.
file_name=Strain;
now i want to plot a graph having Strain on the X-axis , actually this will be a repetitive procedure and i will be getting new string(values) in the variable file_name each time and will be using them to plot new graph , how can i do this.
Regards, Amit
1 commentaire
Daniel Shub
le 23 Juil 2013
Modifié(e) : Daniel Shub
le 23 Juil 2013
Presumably you mean file_name='Strain'; otherwise we will need to know what Strain is.
Réponses (1)
Azzi Abdelmalek
le 23 Juil 2013
Modifié(e) : Azzi Abdelmalek
le 23 Juil 2013
xlabel(file_name)
0 commentaires
Voir également
Catégories
En savoir plus sur Directed Graphs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!