[C] 纯文本查看 复制代码
'Color',[a,b,c] %颜色随机画
%GPS a=1,b=0.58,c=0.8]浅红色
if sat<33
plot(LLx,LLy,'.','Color',[1,0.58,0.8],'LineWidth',LW4);%
%GLONASSa=0.58;b=0.8;c=1;%浅蓝色
elseif sat<127 & sat>100
plot(LLx,LLy,'.','Color',[0.58,0.8,1],'LineWidth',LW4);%
%Galileo %a=0.53;b=0.15;c=0.34;%草莓色
elseif sat<237 & sat>200
plot(LLx,LLy,'.','Color',[0.53,0.15,0.34],'LineWidth',LW4);%
%BDS2-MEO a=0.8;b=1;c=0.58;%浅绿色
elseif sat<311 & sat>305
plot(LLx,LLy,'.','Color',[0.8,1,0.58],'LineWidth',LW4);%
elseif sat<314 & sat>312%313
plot(LLx,LLy,'.','Color',[0.8,1,0.58],'LineWidth',LW4);%
elseif sat<317 & sat>315%316
plot(LLx,LLy,'.','Color',[0.8,1,0.58],'LineWidth',LW4);%
%BDS2-IGSO a=1;b=0.8;c=0.58;%浅橙色
elseif sat<312 & sat>310%sat=311
plot(LLx,LLy,'.','Color',[1,0.8,0.58],'LineWidth',LW4);%
elseif sat<313 & sat>311%sat=312
plot(LLx,LLy,'.','Color',[1,0.8,0.58],'LineWidth',LW4);%
elseif sat<315 & sat>313%sat=314
plot(LLx,LLy,'.','Color',[1,0.8,0.58],'LineWidth',LW4);%
%BDS3-MEO a=0.8;b=0.58;c=1;%浅紫色
elseif sat<331 & sat>318
plot(LLx,LLy,'.','Color',[0.8,0.58,1],'LineWidth',LW4);%
elseif sat<338 & sat>331
plot(LLx,LLy,'.','Color',[0.8,0.58,1],'LineWidth',LW4);%
elseif sat<347 & sat>340
plot(LLx,LLy,'.','Color',[0.8,0.58,1],'LineWidth',LW4);%
elseif sat<359 & sat>356
plot(LLx,LLy,'.','Color',[0.8,0.58,1],'LineWidth',LW4);%
%BDS3-IGSO a=0.58;b=1;c=0.8;%某绿色
elseif sat<332 & sat>330%sat=331
plot(LLx,LLy,'.','Color',[0.58,1,0.8],'LineWidth',LW4);%
elseif sat<357 & sat>355%sat=356
plot(LLx,LLy,'.','Color',[0.58,1,0.8],'LineWidth',LW4);%
elseif sat<341 & sat>337
plot(LLx,LLy,'.','Color',[0.58,1,0.8],'LineWidth',LW4);%
end