matplotlib - black & white colormap (with dashes, dots etc)

前端 未结 4 1859
孤独总比滥情好
孤独总比滥情好 2020-12-02 07:31

I am using matplotlib to create 2d line-plots. For the purposes of publication, I would like to have those plots in black and white (not grayscale), and I a

4条回答
  •  情话喂你
    2020-12-02 08:20

    Things like plot(x,y,'k-.') will produce the black ('k') dot-dashed ('-.') line. Is that not what you a looking for?

提交回复
热议问题