MATLAB: How do you add labels to plots

plot

I'm wondering how to display numbers directly on a plot like shown in the attached picture? Is there a way to indicate the text I want to display at a certain location? I have a code that solves 2D truss structures and I need to label the nodes and elements.

Best Answer

text(x, y, 'AppropriateLabelGoesHere')