在Matlab中绘制点时如何避免这些线段?

时间:2020-10-27 06:50:32

标签: matlab

在Matlab中,我要绘制一些点和一条直线,如下所示:

get_extended_attention_mask

但是结果是

enter image description here

这些单点通过线段连接。如何避免这些分段线?

1 个答案:

答案 0 :(得分:1)

您可以只使用带有标记而不是线条的图:

 plot(x,y,'o');