I'm using the SAS University Edition to help me to write a statistics textbook. If I run the program below under the University Edition, it generates an EPS graph. If you convert the graph to PDF using the Adobe PDF converter, then you can see that the highest value label on the horizontal axis is 150. If you look at the number 150, you will see that the right edge of the zero in the number has been “clipped” off.
I've attached a copy of a PDF document that was created by Acrobat from the EPS graph to make it easy to see the problem.
I know I can get around this problem by using an XAXIS statement and by setting OFFSETMAX to a suitable value. But that's kludgy and must be done on a graph-by-graph basis, and it makes programs harder for beginners to understand. Is there a way that I can solve this problem globally? In particular, is there another statement that I can add to the PROC TEMPLATE run that gives a little more white space around the graph to accommodate the larger axis labels that I’m using?
Interestingly, the problem is also present in the standard output if you add the following statement under the PROC SGPLOT statement:
I'm running the latest version of the University Edition under Oracle VM VirtualBox version 5.0.0r101573 under up-to-date Windows 7 Professional.
Here’s the program:
/* This program generates an EPS file with a graph on which the rightmost character of the rightmost tick label on the horizontal axis is partially truncated. Don Macnaughton */
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.