Define a template with four panels. The TDEF statement defines a template named NEWTEMP and places it in the previously defined template catalog. Each definition identifies the panel number and specifies the coordinates of the four corners. The panels are arranged within the template as follows: panel 1 is lower left; panel 2 is upper left; panel 3 is upper right; panel 4 is lower right; panel 5 is the full size so that it can contain a common title and footnote for all the template entries. COLOR= draws a border for each panel in the specified color.
tdef newtemp des='Five panel template'

     1/llx=0   lly=10
       ulx=0   uly=50
       urx=50  ury=50=
       lrx=50  lry=10
       color=blue

     2/llx=0   lly=50
       ulx=0   uly=90
       urx=50  ury=90=
       lrx=50  lry=50
       color=red

     3/llx=0   lly=50
       ulx=0   uly=90
       urx=100 ury=90=
       lrx=100 lry=50
       color=green

     4/llx=50   lly=10
       ulx=50  uly=50
       urx=100 ury=50=
       lrx=100 lry=10
       color=cyan