BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
davehalltwp
Quartz | Level 8

Hi, I'm trying to generate .cgm outputs for all my plots.  I'm finding that When I use PROC GPLOT or PROC BOXPLOT, I'm able to generate .cgm files.

 

But when I use SGPLOT or SGPANEL, no .cgm file appears.  There is no error message, but also no file.  I can see the plot in the results tab of Enterprise.

 

It can't be the case that SGPLOT and SGPANEL can't do a .cgm file, can it?  My processing statements are the same for both.

 

 

filename gout 'myfile.cgm';

 

goptions device = [cgmofml cgm cgmof97l] gsfname = gout gsfmode = replace;  * tried all three devices, none work.

 

proc gspanel/gsplot]

.

.

.

 

Thanks for any insight.  You all have been so helpful in the past week to me and it's much appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Damo
SAS Employee

Hi @davehalltwp

 

I can't test it right now but did you try ODS GRAPHICS ?

Sample from that page should help you, hopefully.

 

Cheers,
Damo

View solution in original post

2 REPLIES 2
Damo
SAS Employee

Hi @davehalltwp

 

I can't test it right now but did you try ODS GRAPHICS ?

Sample from that page should help you, hopefully.

 

Cheers,
Damo

davehalltwp
Quartz | Level 8

Hi Damo,

 

Thanks.  I decided just to go with the RTF output, since that will be the most easily integrated with the report we're working on.  Thanks, I am going to check out that page future reference anyway!

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

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
  • 2 replies
  • 1040 views
  • 1 like
  • 2 in conversation