BookmarkSubscribeRSS Feed
deleted_user
Not applicable
How do I set a graph scale axis and have it apply to all open graphs plotted on a single platform output. Example: I open the contour plot function and create 10 plots off the same data sheet. I change both the X & Y scale axis on the first plot. How do apply that same setting to all plots without copy & paste each one by one?
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
If you are using PROC GCONTOUR to create your contour plots, this documentation example:
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/gctlabel.htm

illustrates how to link an AXIS statement with the horizontal axis within PROC GCONTOUR...note the use of haxis=axis1 in the GCONTOUR code.

The AXIS statement is a global statement, however, if you are using any of the classic SAS/GRAPH procedures (GCHART, GCONTOUR,etc), you must always link the global AXIS statement to the appropriate procedure-level option (HAXIS=, RAXIS=, MAXIS= or GAXIS=, etc -- depending on your procedure).

Documentation for PROC GCONTOUR is here:
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/gcontour-overview.htm

Documentation for the AXIS global graphic option is here:
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/axischap.htm

cynthia
jkanters
Fluorite | Level 6

I have exactly the same problem. It does not relate to the x or y-axis, but on the z-axis. PROC GCONTOUR seems to overrule the clevels setting in case of the values are outside the levels set. In case of plotting multiple grapphs with a by something; You dont want the clevels to be changed, but prefer even a blank graph if no clevels are satisfied

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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