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

Hello!

I'm using proc macontrol with data related to 18 months; the plot is fragmented on many pages, with difficulties to read it. Is it possible to force then graphic on a single page?  Thanks

 

 

Script:

proc macontrol data=decessi_1; by distretto;

ewmachart giorni_rapp*dt_decesso / weight = 0.2

outhistory = prova_hist outlimits = Cliplim;

run;

 

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

Try this: On the EWMACHART statement, use the NPANELPOS= option and use a large value, such as 

ewmachart giorni_rapp*dt_decesso / weight = 0.2 NPANELPOS=5000;

View solution in original post

4 REPLIES 4
SteveDenham
Jade | Level 19

The only thing that looks promising to me is the MAXPANELS= option.  If you want all on a single page, the code might look like this:

 

proc macontrol data=decessi_1; by distretto;
ewmachart giorni_rapp*dt_decesso / weight = 0.2 MAXPANELS=1;
outhistory = prova_hist outlimits = Cliplim;
run;

Not sure though.

 

SteveDenham

 

monicluder
Fluorite | Level 6

Thank you Steven, but unfortunately it does not work: the error message is:

ERROR: The number of panels needed is 12 which exceeds the maximum of 1.

Rick_SAS
SAS Super FREQ

Try this: On the EWMACHART statement, use the NPANELPOS= option and use a large value, such as 

ewmachart giorni_rapp*dt_decesso / weight = 0.2 NPANELPOS=5000;

monicluder
Fluorite | Level 6
Thanks a lot!! Now I have the desired output!!!

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 4 replies
  • 730 views
  • 0 likes
  • 3 in conversation