unique plot marker for each plot in matplotlib

前端 未结 5 2116
走了就别回头了
走了就别回头了 2021-01-03 18:04

I have a loop where i create some plots and I need unique marker for each plot. I think about creating function, which returns random symbol, and use it in my program in thi

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-03 18:28

    Just manually create an array that contains marker characters and use that, e.g.:

     markers=[',', '+', '-', '.', 'o', '*']
    

提交回复
热议问题