Hello All
When I run sas graph program in different computers I am getting different outputs!
One system has SAS 9.3 and other has 9.4.
The one which has SAS 9.3 produces somehow produces bigger markers, and text is appearing much more darker! Is there any reason for this? Do I need to check any thing in order to produce consistent outputs across ?
Please let me know your thoughts
BTW im using latest SAS 9.4 Maintainance Release 2 (TS1M2)
The most likely cause for different sizes would different ods styles active at the time the code is run. Even the same named styles can have slightly differing appearances between installations as many inherit characteristics from styles.default. If the base style.default changed then the dependent ones did as well.
A second difference can sometimes be whether the output is going to HTML, PDF or RTF. Size characteristics get treated somewhat differently by the different destinations. So if one output was to HTML and the other PDF this could be part of the reason.
Third, colors change with monitors and monitor settings or different printers. Changing the screen resolution to higher density will tend to make colors appear a tad darker.
Some additional details might be needed
Are you using SAS/Graph proc gplot?
Are you using the symbol statement (and which marker? ... value=dot? or font-based markers?)
Which device are you using? (goptions device=png, gif, java, activex, other?)
Or are you perhaps using pdf output?
Which ods style are you using? And are you taking the default text font, or specifying a font?
Post-submission edit: The defaults are the same. Only their sequencing is different. I have still not solved the sizing problem.
I am currently experiencing this problem and I noticed that I am seeing some differences between the SAS 9.3 and SAS 9.4 ODS default style templates. You can see your defaults using:
PROC TEMPLATE; SOURCE STYLES.DEFAULT / FILE='C:\DefaultStyle.sas'; RUN;
Martin Mincey of SAS customer support provided the following solution, which only added the VPOS and HPOS parameters to our GOPTIONS statement:
GOPTIONS RESET=ALL FTEXT="Arial" DEVICE=GIF HSIZE=8.4 gsfmode=replace VPOS=42 HPOS=100;
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.