Error using text command in normalized form
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ANKUR KUMAR
am 24 Okt. 2017
Bearbeitet: Walter Roberson
am 24 Okt. 2017
I wanted to write something on the MATLAB plot by using text command. I am getting an error while using the axis in the normalized form.
text('units','normalized',.4,.8,'mytext','Color','r')
I have tried not only this command, but also have tried with all possibilities (may except one possibility, which is right ) I am getting an error
Error using text
Too many non-property/value arguments.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 24 Okt. 2017
Bearbeitet: Walter Roberson
am 24 Okt. 2017
text('units', 'normalized', 'Position', [.4,.8,0], 'String', 'mytext', 'Color', 'r')
or
text(.4, .8, 'mytext', 'units', 'normalized', 'Color', 'r')
That is, the positional parameters need to be first.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Desktop finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!