how to add label to diagram plotted using plot function?

how to add label to diagram plotted using plot function?

2 Kommentare

Labelling axis?
chandra Naik
chandra Naik am 14 Feb. 2019
Bearbeitet: chandra Naik am 14 Feb. 2019
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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Preethi
Preethi am 13 Feb. 2019
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 Kommentare

chandra Naik
chandra Naik am 14 Feb. 2019
Bearbeitet: chandra Naik am 14 Feb. 2019
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
Thank you , helpful

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by