Background image polar plot

15 次查看(过去 30 天)
Luuk Poort
Luuk Poort 2017-6-20
评论: Luuk Poort 2018-4-13
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

回答(1 个)

Gopeshh Raaj
Gopeshh Raaj 2017-6-23
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 个评论
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 2018-4-13
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by