Author Topic: Customizing Surfer Scripts  (Read 5443 times)


  • Emeritus
  • *****
  • Posts: 1639
  • Never sleeps...
    • John Donovan
Re: Customizing Surfer Scripts (JEOL stage axes orientation)
« Reply #15 on: July 05, 2017, 02:06:29 pm »
As you may know, for display of JEOL x-ray maps and images in Surfer, I have to invert the x and y axes because Surfer GRD files always expect a Cartesian coordinate system. That is why the axes labels have the notation (* - 1).

However, I believe starting in version 13 of Surfer, Golden Software added a new flag in the scripting automation API that allows one to display (anti-Cartesian) images. The syntax for this axis property is :

axis.[itemname].reverse = true

I haven't implemented this yet in my Surfer output code, but I thought it might be useful to share.
The only stupid question is the one not asked!