Plotting Coordinate Transformations in Matlab

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 replies · 2K views
Lizard
Messages
5
Reaction score
0
I was reading this article (https://www.nature.com/articles/srep40083) about designing a panoramic lens with transformation optics, and wanted to try to play around with modifying the coordinate transformations. I contacted one of the authors of the article, and she mentioned that she plotted the coordinate transformations in Matlab, creating this image (Figure 3 in the article):
srep40083-f3.jpg

However, I can't seem to figure out how the authors made these graphs.

These were the equations used:
srep40083-m1.gif


What is the process for plotting coordinate transformations like these? I'm new to Matlab and don't really know where to start.
 

Attachments

  • srep40083-f3.jpg
    srep40083-f3.jpg
    49.9 KB · Views: 930
  • srep40083-m1.gif
    srep40083-m1.gif
    1.3 KB · Views: 713
on Phys.org
Given the fact that you can't do overlays on polar coordinate plots in Matlab, I suspect that the author wrote a custom plot routine or calculated the x-y coordinate pairs at a very fine scale and plotted the points annotating in cylindrical coordinates.