Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
using Plots plot(1:1:5, 1:1:5, linewidth=1) plot!(1:1:5, 1:2:10, linewidth=5)
是否可以使图例线宽与图中的线宽相匹配?不幸的是,我在文档中找不到任何内容。
试试这个:
using Plots plot(1:1:5, 1:1:5, linewidth=1) plot!(1:1:5, 1:2:10, linewidth=5, thickness_scaling = 1)
结果输出如下: