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/

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 3128 views
  • 1 like
  • 2 in conversation