Desktop productivity for business analysts and programmers

Reflabels in Enterprise Guide

Reply
Frequent Contributor
Frequent Contributor
Posts: 94

Reflabels in Enterprise Guide

Does Reflabel for a gplot work in Enterprise guide?

I have used this code in Entreprise guide and the reflabels do not appear in the graph (the reference lines do). The reflabels in this code do appear when used in Base SAS.

symbol1 value=dot color=blue ;
symbol2 value=dot color=red ;
axis1 Minor=None ;
axis2 order=(0 to 100 by 10) REFLABEL=('A' 'B');

proc gplot data=d1;
plot (ATot BTot)*RowID/overlay
vref=40 80;
cvref=black
lvref=2
haxis=axis1
vaxis=axis2;
run;
quit;


Any solution on how this could work in Enterprise Guide?
Many thanks.
Respected Advisor
Posts: 3,840

Re: Reflabels in Enterprise Guide

Hi

SAS graphs are created using SAS/Graph. Both "PC SAS" (which is a windowing system on top of a SAS Server) and SAS EG (which is a client connecting to a SAS Server) use exactly the same SAS/Graph (which is a Server component).

If you're not getting the same result then there must be some differences in your code or the default settings.
What comes to mind is the "Graph Format", i.e. jpeg for "PC SAS" and ActiveX for EG (default can be set under "options/results/graph).

HTH
Patrick

Message was edited by: Patrick

"To be precise: the windows manager is also available for SAS installed under UNIX or even Mainframe"
Frequent Contributor
Frequent Contributor
Posts: 94

Re: Reflabels in Enterprise Guide

I changed the graph format to SAS EMF in EG and it worked fine (jpeg also worked but the image quality was lower).

Many thanks for the solution.

V
Ask a Question
Discussion stats
  • 2 replies
  • 128 views
  • 0 likes
  • 2 in conversation