Data visualization with SAS programming

Title is truncated in SGPLOT with BY

Reply
Contributor
Posts: 33

Title is truncated in SGPLOT with BY

I am using

PROC SGPLOT;

     BY segment;

     series ......

However the title is truncated if the value in segment variable is very long. Anyway to solve this problem?

I wrote a macro to take care of this, but everything I have to plot each segment which is not very efficient.

Thanks

Grand Advisor
Posts: 10,241

Re: Title is truncated in SGPLOT with BY

It might help if you posted an example of your result and what it should look like.

I can see the size of the graphic display area and/or the font size of the by text potentially having a behavior like this if there isn't enough space.

If you add a label statement with a shorter label in the procedure then it will use that instead of the permanent label, which may help.

Ask a Question
Discussion stats
  • 1 reply
  • 346 views
  • 0 likes
  • 2 in conversation