Hi ,
I am using two different proc gplot to create separate plots using by statement in each proc gplot and finally combining these two created outputs in to final ouput using proc greplay. Since i am using by statement in each proc gplot i am getting by value on each of the output, i have to mask this by value in one output created using gplot and have to display in other output using proc gplot , Since i am combining both the outputs using proc greplay , it is getting repeated. How to mask the by value in one output and display in other. I have also tried using option byval .
Also how to control the size of the text displayed using by value?
Thanks
Looks like data_null has answered your questions about suppressing the automatic by-title,
and then creating a custom title using the value of the by-variable.
There are a couple of ways to control the size of the text:
One is to use the goptions:
goptions htitle=16pt htext=10pt;
Another is to hard-code the size on the title statement:
title1 h=16pt "Title One";
title2 h=10pt "Title Two";
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.