Background image polar plot

15 vues (au cours des 30 derniers jours)
Luuk Poort
Luuk Poort le 20 Juin 2017
Commenté : Luuk Poort le 13 Avr 2018
Hello,
I am displaying data using polarscatter, but I would like to add a background image on which the data is displayed including the polar axes. My image is still a normal carthesian image and I would think I would somehow have to convert this to a round polar image before my polarscatter plot can be added.
Any help would be extremely useful. Thanks in advance!
Regards, Luuk

Réponses (1)

Gopeshh Raaj
Gopeshh Raaj le 23 Juin 2017
I understand that you want to plot some data using polarscatter and you wish to include a polar background image (after conversion from cartesian image).
In order to convert your Cartesian image to polar, you would first need to get the (x,y) co-ordinates of the cartesian image and then convert it to the (r,theta) form using "cart2pol" function. Then this image can be used as your background image for your scatter plot using the "imagesc" function.
  3 commentaires
José Manuel Encarnación Escobar
Hi Luuk, I have exactly the same problem. Did you find a solution?
thanks a lot in advance and kind regards, José
Luuk Poort
Luuk Poort le 13 Avr 2018
Hello José, I'm afraid I have not. I continued without using it. If you do find a solution, please let me know, I'm still very curious on how to do it.
Kind regards, Luuk

Connectez-vous pour commenter.

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by