MATLAB Plotting Coordinate Transformations in Matlab

Click For Summary
The discussion centers on the challenges of plotting coordinate transformations in Matlab, specifically related to a panoramic lens design using transformation optics. The original poster seeks guidance on replicating the graphs from a referenced article, particularly Figure 3, which illustrates these transformations. They express uncertainty about the plotting process and suspect that the authors may have used a custom routine or calculated x-y coordinate pairs at a fine scale, as Matlab does not support overlays on polar coordinate plots. The conversation highlights the need for clarity on the plotting techniques and methodologies used in the article to achieve similar results in Matlab.
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: 902
  • srep40083-m1.gif
    srep40083-m1.gif
    1.3 KB · Views: 691
Physics news 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.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K