Strange artifact in mmpolar
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Polar Plots en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!