如何创建一幅包含 1000 个散点的绘图
1、命令行键入:x = 1:500;%定义x的范围。

3、命令行键入:y2 = 5*randn(1,500) + 10;%定义y2的关系。

5、命令行键入:ax = gca;ax.Interactions = [zoomInteraction regionZoomInteraction rulerPanInteraction];%但由于该绘图包含大量密集的点,支持放大绘图特定区域的交互会更加有用。

1、命令行键入:x = 1:500;%定义x的范围。
3、命令行键入:y2 = 5*randn(1,500) + 10;%定义y2的关系。
5、命令行键入:ax = gca;ax.Interactions = [zoomInteraction regionZoomInteraction rulerPanInteraction];%但由于该绘图包含大量密集的点,支持放大绘图特定区域的交互会更加有用。