Strange artifact in mmpolar
이전 댓글 표시
I wanted to ask this question in the file exchange but I needed to be able to include images to help explain the situation. I have a set of data that I wanted to plot and I wanted to use mmpolar so that I did not have to mess with shifting and reversing the angles to convert to compass style. When the data is plotted with the builtin Matlab polar command I get an offset circle like I would assume. When I plot the exact same data with no manipulation inbetween, using mmpolar a portion of the plot is set to zero magnitude. This is not in the data and is a strange artifact of the mmpolar plotting commend. mmpolar has been around for a while now and everybody seems to enjoy using it. I can not help but think that I have done something wrong and that is why I am seeing this artifact. I have included images of the outputs from the two plotting commands in this message. The code to generate the plots is also included.
fig2 = figure;
mmpolar(anglesR*((2*pi)/360), mag, '.k', 'Style', 'compass');
fig3 = figure;
polar(anglesR*((2*pi)/360), mag, '.k');
mmpolar Image
polar image
A zip file with all of the needed code for reproduction is at the following link
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Polar Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!