How to get an enlarged view of plotted polar plot ?

12 visualizaciones (últimos 30 días)
L K
L K el 14 de Mzo. de 2017
Comentada: KSSV el 14 de Mzo. de 2017
I have polar plot, with some marking, but when the figure pops, i have to zoom and see the markings as they are very close to each other, is there an option to enlarge when it is viewed?

Respuestas (1)

KSSV
KSSV el 14 de Mzo. de 2017
If you are using latest version of MATLAB you can limit the axis using rlim. If you are in older version, after plotting the figure, get the axes and set the limits you want.
t = 0 : .01 : 2 * pi;
P = polar(t, 2 * ones(size(t)));
set(P, 'Visible', 'off')
hold on
polar(t, sin(2 * t) .* cos(2 * t), '--r')
ax = gca;
In the above ax have XLim and YLim, set it to the limits you want.
  3 comentarios
L K
L K el 14 de Mzo. de 2017
eg. i did xlim([-25 25]); no changes are reflected
KSSV
KSSV el 14 de Mzo. de 2017
Try changing the limits....

Iniciar sesión para comentar.

Categorías

Más información sobre Polar Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by