BookmarkSubscribeRSS Feed
Quartz | Level 8

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?


Meteorite | Level 14

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";



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 2 replies
  • 3 in conversation