Desktop productivity for business analysts and programmers

Can't change size of a plot in a report

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 13
Accepted Solution

Can't change size of a plot in a report

I create a scatter plot in EG-project outputting it into standard EG report output destination (not sure, how to call it correctly?). The scatter plot is a bit crowded along y-axis, so I'd like to stretch it vertically. I tried to change goptions vsize= and goptions ypixels=, but it doesn't make any changes in the plot appearance. Would appreciate any help with that!


Accepted Solutions
Solution
‎01-31-2014 10:21 AM
Community Manager
Posts: 2,698

Re: Can't change size of a plot in a report

How are you creating the scatter plot?  Are you using the EG Scatter Plot task (which uses PROC GPLOT), using PROC GPLOT directly, or are you using PROC SGPLOT?

If using the Scatter Plot task, there are options in the task for controlling the dimensions: these will control the GOPTIONS.  If using PROC SGPLOT or SGSCATTER, you need to use ODS GRAPHICS / HEIGHT= and WIDTH= options.

If you can post an example, we can provide further guidance.

Chris

View solution in original post


All Replies
Solution
‎01-31-2014 10:21 AM
Community Manager
Posts: 2,698

Re: Can't change size of a plot in a report

How are you creating the scatter plot?  Are you using the EG Scatter Plot task (which uses PROC GPLOT), using PROC GPLOT directly, or are you using PROC SGPLOT?

If using the Scatter Plot task, there are options in the task for controlling the dimensions: these will control the GOPTIONS.  If using PROC SGPLOT or SGSCATTER, you need to use ODS GRAPHICS / HEIGHT= and WIDTH= options.

If you can post an example, we can provide further guidance.

Chris

Occasional Contributor
Posts: 13

Re: Can't change size of a plot in a report

Thanks Chris. I'm using SGPLOT and HEIGHT= and WIDTH= options did the trick. Thanks a lot!

☑ This topic is SOLVED.

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

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