Data visualization with SAS programming

Hiding & Displaying by values in proc gplot

Reply
Contributor
Posts: 28

Hiding & Displaying by values in proc gplot

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

Respected Advisor
Posts: 3,768

Re: Hiding & Displaying by values in proc gplot

SAS Employee
Posts: 963

Re: Hiding & Displaying by values in proc gplot

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

Post a Question
Discussion Stats
  • 2 replies
  • 183 views
  • 0 likes
  • 3 in conversation