matlab: scatter plots with high number of datapoints

后端 未结 4 1288
栀梦
栀梦 2020-12-03 10:59

I\'m trying to plot scatter, something like:

scatter(coor(:, 2), coor(:, 3), 1, coor(:, 4));

The problem is, that I have quite big number o

4条回答
  •  天命终不由人
    2020-12-03 11:32

    Yes, use plot3

    plot3(coor(:, 2), coor(:, 3), coor(:, 4), '.')
    

    This will do the same as a 3d scatter plot (the points will be small dots, you can also use 'o' or 'x' if you want)

提交回复
热议问题