How can I add legend or color index to my scatter function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
[Long,Lat] = LatLong2XY(deg2rad(file(2:end,1)),deg2rad(file(2:end,2)),deg2rad(file(2,1)),deg2rad(file(2,2)),0);
scatter(Lat,Long,[],file(2:end,3));
xlabel('distance(meters)');
ylabel('distance(meters)');
dim = [.2 .5 .3 .3];
title('Signal Strength of Antenna');
str='-40==Good Signal Strength ; -90==Moderate Signal Strength';
annotation('textbox',dim,'String',str,'FitBoxToText','on');
0 Kommentare
Antworten (2)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!