Data visualization with SAS programming

Different OUTPUT in SAS 9.3/9.4

Reply
Contributor
Posts: 50

Different OUTPUT in SAS 9.3/9.4

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

Capture.PNG

BTW im using  latest SAS 9.4 Maintainance Release 2 (TS1M2)

Super User
Posts: 11,343

Re: Different OUTPUT in SAS 9.3/9.4

Posted in reply to SASSLICK001

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.

SAS Employee
Posts: 982

Re: Different OUTPUT in SAS 9.3/9.4

Posted in reply to SASSLICK001

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?

New Contributor
Posts: 4

Re: Different OUTPUT in SAS 9.3/9.4

[ Edited ]
Posted in reply to SASSLICK001

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;

 

 

New Contributor
Posts: 4

Re: Different OUTPUT in SAS 9.3/9.4

[ Edited ]

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;

 

 

Ask a Question
Discussion stats
  • 4 replies
  • 1066 views
  • 1 like
  • 4 in conversation