Plotting Coordinate Transformations in Matlab

Click For Summary
SUMMARY

The discussion centers on plotting coordinate transformations in Matlab, specifically in the context of designing a panoramic lens using transformation optics. The original article referenced is from Nature, detailing the equations used for these transformations. A participant expressed difficulty in replicating the graphs shown in the article, suspecting that a custom plotting routine or fine-scale x-y coordinate calculations were employed due to Matlab's limitations with polar coordinate overlays.

PREREQUISITES
  • Understanding of coordinate transformations in optics
  • Familiarity with Matlab programming and plotting functions
  • Knowledge of polar and cylindrical coordinates
  • Basic skills in numerical methods for generating coordinate pairs
NEXT STEPS
  • Explore Matlab's plotting functions, focusing on polar plots and custom routines
  • Learn about coordinate transformations in optics, particularly for panoramic lenses
  • Investigate numerical methods for generating x-y coordinate pairs from cylindrical coordinates
  • Review examples of custom plotting scripts in Matlab for complex data visualizations
USEFUL FOR

Researchers, optical engineers, and students in physics or engineering who are interested in visualizing coordinate transformations 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: 917
  • srep40083-m1.gif
    srep40083-m1.gif
    1.3 KB · Views: 703
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 12 ·
Replies
12
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K