Include a string variable for a plot title in function prompt
Ältere Kommentare anzeigen
Hello,
I have a plot function that includes a title () call.
In the function's prompt, I would like to provide not only the X and Y variables, but string information that would get included in the title printed on the plot resulting from the running of the function.
I imagine the prompt would look something like this:
function(X1,Y1,'Sexy Plot Title');
But how would the first line of the function and the title() call within the function need to read to enable this?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Title finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!