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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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