Follow

How can I create a contour/surface map in Grapher from matrix data?

If your data is formatted as a matrix, with x values across row 1, y values down column 1, and z values in the in-between cells, you can follow the instructions below to create a contour map from this data in Grapher:

  1. Click the Automation | Scripts | Run command.
  2. In the Open dialog, select the attached Matrix2XYZ.BAS file and click Open.
  3. In the Open CSV worksheet containing array dialog, select the CSV file containing the matrix data and then click Open.
  4. In the Save XYZ As dialog, change the file name and location, if desired, and then click Save.
  5. Click the File | New | Plot command or click back to the existing Plot window.
  6. Click the Home  | New Graph | Contour Surface | XY Contour Data Map command. Any data-based contour or surface map could be selected here.
  7. In the Open Worksheet dialog, select the XYZ data file and click Open.

 

If you would like to be able to create contour/surface maps directly from matrix data, let us know!

 

Updated February 4, 2019

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.