Matlab中的极坐标图

问题描述 投票:0回答:2

我有多个和作为矩阵存储在变量out中。我想使用Matlab R2015b中的polar函数绘制所有图形。 我是Matlab的新手,到目前为止,我做到了:subplot(1,3,1) polar(out(1),out(2),'*') subplot(1,3,2) polar(out(3),out(4),'*') subplot(1,3,3) polar(out(5),out(6),'*')

matlab plot image

我有两个问题:

我如何将它们组合成一个极坐标图,即一个数字而不是三个数字,并带有完整的'*'位置?

如何删除极坐标图的下部,以便我可以使用半圆而不是完整图?是否可以自定义极坐标图标签,例如删除度数标签?

我有多个theta和rho作为矩阵存储在变量out中。我想在Matlab R2015b中使用极函数绘制所有图形。我是Matlab的新手,到目前为止,我是这样做的:subplot(1,3,1)polar(...

matlab plot matlab-figure subplot
2个回答
1
投票
    使用命令hold on(并摆脱子图),或与polar(out(1:2:end),out(2:2:end),'*')一起绘制所有内容]]
  1. 使用ylim([-0.5 0])命令请参阅this answer


0
投票
figure; % optional, create new figure polar(out([1,3,5]),out([2,4,6]),'*');
© www.soinside.com 2019 - 2024. All rights reserved.