Edit text interaction
creates an edit
interaction object which enables you to edit text by clicking or tapping a text object. To
enable interactive editing, set the
e = editInteraction
Interactions property of the text
to the object returned by this function.
Make Text Editable
Create a surface plot. Add text to the plot and assign the text object to
t. Add edit interactions to the
Interactions property of
t. Click the text to edit.
surf(peaks) t = text(0,55,5,"My Plot"); t.Interactions = editInteraction;