How to name axes from the script
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
okoth ochola
am 23 Jan. 2023
Bearbeitet: Askic V
am 23 Jan. 2023
Hi community, Ihave a slight problem. I have written a program which include plotting of graph. Now i want the program to prompt me to input desired axes titles when the program is executed/run. Can somebody asist.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 23 Jan. 2023
plot(rand(1,10))
labelx = input('Input Xlabel:') ;
labely = input('Input Ylabel:') ;
xlabel(labelx)
ylabel(labely)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!