Adding a Cartesian Graph

Add a Cartesian graph to the project.

myGraph = myApplication.CartesianGraphs:Add()
  1. A Cartesian graph is an object and since there may be multiple Cartesian graphs in the project, it is part of the CartesianGraphCollection.
  2. Search for CartesianGraphCollection in the Help1.
  3. In CartesianGraphCollection, under Method List, search for an applicable method:
    • Add()
  4. Determine the syntax to prepend to Add():
    1. Since Add() is a method, it is indicated by prepending a “:” (colon).
    2. In the Help, under CartesianGraphCollection > Usage locations, note the following:
      Application object has collection CartesianGraphs.
      The result is then:
    3. Since we already have a handle on the application, the result is then:
  5. Add a reference to the newly created graph:
    myGraph = myApplication.CartesianGraphs:Add()
1 The API is available in the Feko Scripting and API Reference Guide (PDF) or Feko WebHelp.