Scatter polar plot in matlab

喜欢而已 提交于 2019-12-06 10:22:48

Matlab is quite adequate for that, I think.

As for the polar function, it seems it doesn't allow properties (such as 'linewidth') to be specified directly. But you can get a handle to the created object and then set its 'linewidth', or other properties:

h = polar(a(:,1),a(:,2));
set(h,'linewidth',1)

If you want a scatter plot, maybe you'd prefer not to have lines, but instead to plot a marker (such as a dot) at each point:

h = polar(a(:,1),a(:,2),'.');
set(h,'markersize',12)

Example:

To see a list of properties that you can set, as well as their current values, type

get(h)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!