Background image polar plot

15 views (last 30 days)
Luuk Poort
Luuk Poort on 20 Jun 2017
Commented: Luuk Poort on 13 Apr 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

Answers (1)

Gopeshh Raaj
Gopeshh Raaj on 23 Jun 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 Comments
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 on 13 Apr 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

Sign in to comment.

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!