How to change the view of the new polarplot function

2 visualizaciones (últimos 30 días)
Vinod
Vinod el 31 de Mzo. de 2017
Respondida: Divyajyoti Nayak el 4 de Jun. de 2025
How to change the view of the new polarplot function: Polarplot
I want north to be valued at 0 degrees and clock wise increase in theta.
How can I do this with new polarplot function.
The solution provided here:
no longer works.

Respuesta aceptada

Divyajyoti Nayak
Divyajyoti Nayak el 4 de Jun. de 2025
Hi @Vinod,
The solution provided in the link has been updated I think and it should work. Setting the 'ThetaZeroLocation' and 'ThetaDir' property of the 'polaraxes' object of the polar plot should give the desired result.
polarplot([0 pi/2 pi],[1 2 3])
pax = gca;
pax.ThetaZeroLocation = 'top';
pax.ThetaDir = 'clockwise';
Here's the documentation for all the properties of the 'polaraxes' object:

Más respuestas (0)

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by