如果在一张图里放太多信息,注定会很丑。

Julia color schemes

When plotting the x-y plot with different systems' size, you sometime want to not only emphasize the relationship at the largest system size but also other size.

You can choose, the selected list

clist=["#F43545","#FF8901","#DCBC04","#00BA71","#00BEA8","#00C2DE","#00418D","#002958"]
## to generate a longer color list 
color = palette(mycolor["clist"],10) 

If you want to plot two lines in one figure, recommend using a contract color

cold = ["#F318D0","#5E18F3","#0457ac","#308fac","#18F349","#FFC700"]
warm = ["#FF007A","#AD2D2D","#FF784E","#CBAA00","#70FF00","#00C58A"]

If you only want to emphasize the largest size, gradient colors is the best choice.

Built in colors like :Blues_9 and :OrRd_9 is good enough.

Screenshot 2023-06-03 at 14.58.14.png

Reference

You can refer to:
https://docs.juliaplots.org/latest/generated/colorschemes/

标签: Julia

评论已关闭