Please enable JavaScript to view this site.

ESL Documentation

You use the pattern statement to reference a previously defined pattern. A pattern reference is a drawing statement. It can be specified anywhere in the program that a drawing statement can be specified, except as part of a boundary specification in a shape statement. Once a pattern has been defined, it can be referenced in any number of object definitions.

 

The following example references the pattern GraphAxes (which was defined in the previous section):

 

key Axes at position 300 150

    pattern GraphAxes

 

You could have ten separate graphical objects, each a different graph that contains the same Axes.