String in an axis label that varies depending on code
Mostra commenti meno recenti
I am trying to include a ylabel on a plot that has three possibilities: if x=1, that axis title should be "Daily mean temperature", if x=2, it should be "Daily minimum temperature, if x=3, it should be "Daily maximum temperature". That should be an easy one but I can't seem to find the right answer. Thanks.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!