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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 776 views
  • 0 likes
  • 3 in conversation