更新时间:2023-02-20 16:21:42
如果实现了颜色栏,则类似于颜色比例.
If you implement a colorbar, something similar to this, then you should be able to do it in one line. The trick may be to pick a colorscale that changes on the order of your line segments.
如何在Matplotlib中使用单个绘图命令绘制多色曲线