Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
compass(x,y);
我如何将这张图片中的 2.5 修复为 10。
这是一种解决方法:首先添加一条具有您想要的限制的恒定半径线,然后使其不可见:
Z = eig(randn(20,20)); h = compass(10 * ones(size(Z))); set(h, 'Visible', 'off')
然后添加您实际要绘制的数据:
hold on compass(Z)