I am generating a graphsheet with multiple pages (i.e. CP vs TSLD by
STUDY). I would like each page of the graphsheet to have specific
attributes (i.e. title, subtitle, footnote, reference line, etc.) based
on the study. My script needs to be able to be run interactively and/or
in batch. I could code each page separately, but am looking for a more
elegant, data-driven solution. My attempts so far have have been
unsuccessful, resulting in constant attributes on all pages or as
errors.
The following code creates the base graphs successfully, with the
resulting graphs named in object explorer as GS1$Page1, GS1$Page2, etc.
guiPlot( PlotType = "Scatter", DataSet = "df", Columns =
"CP,TSLD",
AxisType = "Linear")
guiModify( "Graph2D", Name = "GS1$1", PanelType = "Condition",
ConditionColumns = "STUDY",
TrellisConditionDS = "df")
guiModify( "Graph2D", Name = "GS1$1", NumberOfPanelColumns = "1",
NumberOfPanelRows = "1")
I then want to add the specific attributes to each page.
guiCreate( "Subtitle", Name = "GS1$Page2", Title = titleTwo )
-results: titleTwo shows on ALL pages not just page 2
guiCreate( "Subtitle", Name = "GS1$1$Page2", Title = titleTwo )
-results: an error saying there's no such page.
I've tried many other page identifications without success.
I'm working with SPlus 7.0 using Windows 2000.
Thanks.
|
|