在图中,我使用以下命令进行绘图:
plot(x, y, 'sr', 'markersize', 20)
当我调整绘图窗口的大小时,标记也不会调整大小。使标记大小相对于窗口大小的命令是什么?
To precisely control how a figure behaves when you resize it, you can define a window resize callback function by setting the figure's ResizeFcn
property. There's more information here.