Each bar/pie chart includes a list of shadings defined by SHADING. LEGEND=<a_string_without_spaces> gives a title for this list. The list will be omitted by using LEGEND=- The default setting of the legend (on one row below the graph) can be overridden by LEGEND of the form LEGEND=<x_coord>,<y_coord>,<#_of_columns> where the coordinates of the starting position of the legend (relatively to HOME of the graph) and the number of columns to be used are given. The locations of the boxes and texts (names of variables) describing the shadings can be given more accurately by specifications LEGEND_BOX=<x_box>,<y_box>,<box_width>,<box_height> LEGEND_TEXT=<x_text>,<y_text> where <x_box>,<y_box> describe the spacing of boxes and <box_width>, <box_height> (optional) give their dimensions. <x_text>,<y_text> give the starting position of the text (name of the variable) with respect to the low bottom corner of the current box. (Example on the next page) Example: Using the extended form of LEGEND ................................................................................ DATA TEST Name A B C D E F Case1 1 1 1 1 1 1 Case2 1 2 1 2 1 2 Case3 2 1 2 1 2 1 GPLOT TEST / TYPE=%AVBAR XDIV=100,300,249 LEGEND=500,200,2 LEGEND_BOX=60,-40 LEGEND_TEXT=[SMALL],20,0 TEXTS=A A=[RED],Legend:,500,230 FRAMES=F F=480,100,120,150 ................................................................................ P = More information on plotting