I have created a graph using EG and manual coding for formatting of the graph. My code creates three graphs, one for each of the 3 scenarios in my data. Instead of displaying the somewhat criptic Procedure Title (Scenario_Name-ScenX56463 for example), I would like to rename this Procedure Title in the three graphs to something more descriptive such as Scenario X - Cost Based Analysis for the first graph, Scenario Y - Bid Cost Analysis for the second and Scenario Z - High Cost Analysis in the third. Is there any way of simply renaming the Procedure Title?
Generally, SAS/Graph does not put the PROCEDURE title into the graph output -- however, if you chose "group by" in the EG task, then SAS/Graph probably has inserted a BY statement into your SAS/Graph code and this is usually the "sub title" that you see under the regular title in your Graph output.
What you can do is change the label for your Scenario_Name variable to be something like "Scenario" and then have a user defined format for your values -- something like this (proc format should be completely ABOVE/BEFORE/OUTSIDE the SAS/Graph code):
value $sn 'ScenX56463' = 'X - Cost Based Analysis'
'ScenY56464' = 'Y - Bid Cost Analysis'
'ScenZ56465' = 'Z - High Cost Analysis';
Then you'd need to add a format statement and a label statement inside your Graph code like this:
proc gwhatever ... ;
....more code... ;
label Scenario_Name = 'Scenario';
format Scenario_Name $sn.;