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

Hi,

     I am generating a plot using Proc GPLOT and am trying to restrict the graph frame so the axes are of the same scale.  However, this seems to have an effect on the length of my titles and footers.  How can I circumvent this problem?  Please advise.

 

GOPTIONS

XMAX=7.0 in
YMAX=7.0 in;

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

@ajaykumar1 wrote:

Hi,

     I am generating a plot using Proc GPLOT and am trying to restrict the graph frame so the axes are of the same scale.  However, this seems to have an effect on the length of my titles and footers.  How can I circumvent this problem?  Please advise.

 

GOPTIONS

XMAX=7.0 in
YMAX=7.0 in;

 

 


With GPLOT and the other device based graphic procedures there can be a significant amount of interaction between the plot options, axis statement settings or defaults such as FONT family and size of text or range of values shown plus offsets and such.

So to get a complete solution you may need to provide:

example data

ALL goptions in effect, including device

Axis statements or current defaults

The actual plot code

including titles and footnotes

and likely the destination.

 

You might want to consider moving to Proc SGPLOT as there is very little additional support going into the device based graphics procedures.

View solution in original post

2 REPLIES 2
ballardw
Super User

@ajaykumar1 wrote:

Hi,

     I am generating a plot using Proc GPLOT and am trying to restrict the graph frame so the axes are of the same scale.  However, this seems to have an effect on the length of my titles and footers.  How can I circumvent this problem?  Please advise.

 

GOPTIONS

XMAX=7.0 in
YMAX=7.0 in;

 

 


With GPLOT and the other device based graphic procedures there can be a significant amount of interaction between the plot options, axis statement settings or defaults such as FONT family and size of text or range of values shown plus offsets and such.

So to get a complete solution you may need to provide:

example data

ALL goptions in effect, including device

Axis statements or current defaults

The actual plot code

including titles and footnotes

and likely the destination.

 

You might want to consider moving to Proc SGPLOT as there is very little additional support going into the device based graphics procedures.

RW9
Diamond | Level 26 RW9
Diamond | Level 26

"How can I circumvent this problem?" - move to sgplot and graph template language.

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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1573 views
  • 0 likes
  • 3 in conversation