BookmarkSubscribeRSS Feed
VD
Calcite | Level 5 VD
Calcite | Level 5
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.
2 REPLIES 2
Patrick
Opal | Level 21
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"
VD
Calcite | Level 5 VD
Calcite | Level 5
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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 768 views
  • 0 likes
  • 2 in conversation