How to draw line inside a scatter plot

前端 未结 2 1351
猫巷女王i
猫巷女王i 2020-12-29 00:13

I can\'t believe that this is so complicated but I tried and googled for a while now.

I just want to analyse my scatter plot with a few graphical features. For start

2条回答
  •  青春惊慌失措
    2020-12-29 00:36

    the p5 line should be:

    p5 = axScatter.plot([1,2,3],[1,2,3], "r--")
    

    argument 1 is a list of the x values, and argument 2 is a list of y values

    If you just want a straight line, you only need to provide values for the extremities of the line.

提交回复
热议问题