相关文章推荐
失望的荒野  ·  android ...·  1 年前    · 
曾深爱过的黄瓜  ·  Three.js ...·  1 年前    · 

MATLAB作图时几个超好看的淡色系

'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);%

%GLONASS a=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

总结:色彩搭配要好看必须要有章可循。

编辑于 2021-11-08 20:08