Data visualization with SAS programming

GPLOT and BOXPLOT Write a CGM File, but not SGPLOT or SGPANEL?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 12
Accepted Solution

GPLOT and BOXPLOT Write a CGM File, but not SGPLOT or SGPANEL?

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!


Accepted Solutions
Solution
‎11-08-2017 08:56 AM
SAS Employee
Posts: 129

Re: GPLOT and BOXPLOT Write a CGM File, but not SGPLOT or SGPANEL?

Posted in reply to davehalltwp

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


All Replies
Solution
‎11-08-2017 08:56 AM
SAS Employee
Posts: 129

Re: GPLOT and BOXPLOT Write a CGM File, but not SGPLOT or SGPANEL?

Posted in reply to davehalltwp

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

Occasional Contributor
Posts: 12

Re: GPLOT and BOXPLOT Write a CGM File, but not SGPLOT or SGPANEL?

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!

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 81 views
  • 1 like
  • 2 in conversation