How can I add legend or color index to my scatter function
1 次查看(过去 30 天)
显示 更早的评论
[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 个评论
回答(2 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!