%% 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;

% Copyright 2020 The MathWorks, Inc.