how to add label to diagram plotted using plot function?

how to add label to diagram plotted using plot function?

2 Comments

Not labelling axis,
Suppose N sensors are deployed randomly on a 100*100 two dimension field as a datapoints or a circles, then how to label these points or circles like s1, s2 ,. . . sn , so on (Circle represent sensing range of sensor).
Thankyou

Sign in to comment.

 Accepted Answer

hi,
hope this helps
xlabel('X axis'); % to label X axis
Ylabel('Value'); % to label Y axis
title('Name'); %to provide title to your plot

3 Comments

Not labelling axis,
Suppose N sensors are deployed randomly on a 100*100 two dimension field as a datapoints or a circles, then how to label these points or circles like s1, s2 ,. . . sn , so on (Circle represent sensing range of sensor).
Thankyou

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!