Plotting multi-colored line in Matlab

前端 未结 3 1982
醉酒成梦
醉酒成梦 2020-12-31 06:12

I would like to plot a vertical line (I\'d prefer any orientation, but I\'d be happy with just vertical right now) with two-color dashes, say red-blue-red-blue-...

I

3条回答
  •  粉色の甜心
    2020-12-31 06:53

    I've never used it, but there's a submission by Sebastian Hölz called CLINE on the Mathworks File Exchange that seems related.

提交回复
热议问题