Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MATLAB Plotting Coordinate Transformations in Matlab

  1. Feb 12, 2018 #1
    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:

    What is the process for plotting coordinate transformations like these? I'm new to Matlab and don't really know where to start.
  2. jcsd
  3. Feb 13, 2018 #2

    Dr Transport

    User Avatar
    Science Advisor
    Gold Member

    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?