BookmarkSubscribeRSS Feed
Calcite | Level 5
Hello All:

I am a long time SAS user but have only begun to explore the mysteries of the GTL language. Here is what I am trying to do. I am trying to create a three panel vertical set of graphs that share the same x-axis (a sas date field). The top graph is a line plot and the second or middle graph is a blockplot. I have been able to create both of them in GTL and gotten the graphs to share the same x axis. The third and bottom plot is the one I am having trouble with and have not been able to create using GTL. That third plot is more of a timeline that lists events through time (again, the shared X axis). I originally created it as an annotate dataset which I then use to annotate a dummy plot. The question I have is two fold:

1) Is GTL compatible with the annotate facility? My initial review of documentation suggests no. 8-(

2) If not, is there a way of achieving the same results in GTL? Could I create a dummy plot and use some statement (vectorplot?) to create labels and lines to populate it?

I am looking for general guidance, no need to provide specific code.

Thanks very much!!!

Hey Gene,

Trying using a SCATTERPLOT statement with the MARKERCHARACTER option. The MARKERCHARACTER option takes a column name. The values in the column will plotted like scatter markers. You will get effect similar to annotating text in data space. Let me know if you have any questions about the option.

Calcite | Level 5
Super! Nothing like a little creativity to work around existing limitations!




Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2 in conversation