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.
与热图本身相比,下面的代码产生了太大的颜色条。我没有找到缩小颜色条的方法。看图:颜色条太大
heatmap(z,aspect_ratio=1) plot!(colorbar=true)
我在其他地方找到了答案:颜色条由后端处理,因此您目前无法在 Plots.jl 中控制它。解决方法:更改图框的大小以匹配颜色条的大小,例如:
pyplot(size=(3000,900)