Borrar filtros
Borrar filtros

compass plot

5 visualizaciones (últimos 30 días)
nur
nur el 12 de Oct. de 2011
Editada: Miguel Gil Mast el 15 de Mzo. de 2016
i would like to know how to rotate the compass so that 0 value is on the top (y-axis).when im plotting compass 0 value is on the right(x-axis).i want to make 0 value on y-axis.

Respuestas (2)

Grzegorz Knor
Grzegorz Knor el 12 de Oct. de 2011
view(-90,90)
  1 comentario
Miguel Gil Mast
Miguel Gil Mast el 15 de Mzo. de 2016
Editada: Miguel Gil Mast el 15 de Mzo. de 2016
Adding to Grzegorz Knor's comment, I used the following to rotate my compass (see attached pictures)
view([+90 -90]);
This is what Bruce Raine's script does also only that he saves the inputs as az and el first

Iniciar sesión para comentar.


Bruce Raine
Bruce Raine el 8 de Feb. de 2012
Try this code, the above code has the signs around the wrong way.
az = 90; % azimuth i.e. rotate around z-axis horizontally by 90 degrees
el = -90; % elevation negative, effectively looking beneath plot
view(az, el);

Categorías

Más información sobre Line 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