/** first one has a few hundreds of obs. and a trend chart **/
goptions reset=global
gsfmode=replace
gunit=pct border cback=white ftext=swissb htitle=6 htext=3
colors=(blue green red);
symbol2 value=star color=green;
symbol1 color=red;
proc format;
value test 1 ='Meet'
0 ='Does not Meet';
run;
proc gplot data=safe;
plot J*K=z /hm=5;
format z test.;
/*** the second one is just a line cross the chart with only a few obs */
1. Turn the second dataset (with the simple line) into an annotation dataset and pass it into the first GPLOT.
2. Assuming the variable names are unique between the two datasets, you can directly merge the two datasets and use the OVERLAY option in GPLOT.
I will follow your directions to try out. Will let you know the result.
Thanks for your help.
Cliff
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.