BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sathish_jammy
Lapis Lazuli | Level 10

Hi Community,

 

I tried to run the glopt in sas

title1 ls=1.5 "FattyLiver Analysis";
symbol1 interpol=box bwidth=2 color=red;
/*axis1 order=(50 to 75 by 5) minor=none offset=(0,0);
--axis2 offset=(30,30);*/
proc gplot data=reg2;
plot fvGrade*WHtR /
vaxis=axis1 haxis=axis2 noframe;
run;

Output

 

ERROR: The PNG driver can not find any fonts. No output will be created.
ERROR: The PNG driver can not find any fonts. No output will be created.
ERROR: Physical file does not exist, C:\WINDOWS\Fonts\sasmono.ttf..
WARNING: No output destinations active.

 

Could anyone please explain what the error mean about the issue in the code / drivers

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

This one:

WARNING: No output destinations active.

Means you have no ods destinations open, maybe you issued an ods _all_ close; or something similar to close them all.

 

The PNG driver, means the system is trying to draw your graph to png format, but can't find the specific code to do this.  Maybe your system does not have this and you need to use another file format such as svg or bitmap.

 

The missing SAS font, use another one, i.e. set template to something else.

 

More importantly however, gplot is ancient and outdated, do not use it!  For many years now sgplot and graph template language have been the technology to produce graphs, gplot is only included as legacy.  Use sgplot in future.  If you need examples this blog has pretty much every graph you can imagine with code examples:

http://blogs.sas.com/content/graphicallyspeaking/

View solution in original post

1 REPLY 1
RW9
Diamond | Level 26 RW9
Diamond | Level 26

This one:

WARNING: No output destinations active.

Means you have no ods destinations open, maybe you issued an ods _all_ close; or something similar to close them all.

 

The PNG driver, means the system is trying to draw your graph to png format, but can't find the specific code to do this.  Maybe your system does not have this and you need to use another file format such as svg or bitmap.

 

The missing SAS font, use another one, i.e. set template to something else.

 

More importantly however, gplot is ancient and outdated, do not use it!  For many years now sgplot and graph template language have been the technology to produce graphs, gplot is only included as legacy.  Use sgplot in future.  If you need examples this blog has pretty much every graph you can imagine with code examples:

http://blogs.sas.com/content/graphicallyspeaking/

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to Concatenate Values

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.

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
  • 1 reply
  • 2665 views
  • 1 like
  • 2 in conversation