BookmarkSubscribeRSS Feed
cgennings
Calcite | Level 5

I am producing control plots from proc mvpmonitor but the font sizes are tiny.  How can I manage the font sizes in graphics?

 

Thanks for your help.

 

5 REPLIES 5
Damo
SAS Employee

Hi @cgennings

 

 

Can you share the code (& data eventually) with the generated output? And which version of SAS are you using ?

If you use the sample code from Example 14.2 Creating Multivariate Control Charts for Phase IIare you replicating the issue ?

 

Cheers,
Damo

cgennings
Calcite | Level 5

Hi Damo

 

Yes - the same problem occurs using the code from Example 14.2 you referenced.  You see that the axis labels and tickmark values are TINY!  How can I easily change the font size?

 

Thanks in advance.

 

 

Here's the code.

 

data flightDelays;

   label flightDate='Date';

   format flightDate MMDDYY8.;

   input flightDate :MMDDYY8. AA CO DL F9 FL NW UA US WN;

   datalines;

02/17/07 25.6  7.8 15.5 13.4 16.1 16.2 23.0 24.2  8.2

02/18/07  5.4 16.0  9.9  1.1 11.5 17.0 15.6 15.5  5.1

02/19/07 13.2 16.3 10.0 10.6  5.4 10.3  9.5 16.8  9.3

02/20/07  4.2  6.9  1.4  0.1  7.2  6.6  7.4 10.4  2.9

02/21/07  5.4 -0.1  7.4  8.7 16.3 24.3  9.4  6.0 10.2

02/22/07 19.6 30.2  6.8  2.7  8.9 16.4 14.3 12.6  8.2

02/23/07 14.9 18.9  9.9  9.1 12.0 16.5 17.4 12.8  6.0

02/24/07 21.4  5.5 11.1 46.1 10.6 55.3 22.9  8.8  3.4

02/25/07 42.6  7.7 14.6 14.4 32.0 50.7 46.1 49.4 39.1

02/26/07 43.2 25.1 18.1 18.2 28.8 31.1 38.6 29.6 18.6

02/27/07 11.3 17.1  5.3  4.1  4.8 13.9  9.8  9.7  7.1

02/28/07  8.1  3.7  2.7 17.1 -0.8  5.5 11.0 14.3  3.1

;

 

proc mvpmodel data=flightDelays ncomp=3 noprint

              out=mvpair outloadings=mvpairloadings;

   var AA CO DL F9 FL NW UA US WN;

run;

proc mvpmonitor history=mvpair loadings=mvpairloadings;

   time flightDate;

   tsquarechart / seriesvalue='MW';

run;

Damo
SAS Employee

Hi @cgennings

 

So if you have the same behaviour with the sample code, can you send us the generated output, so we can see what's happening on your side ?

 

Cheers,
Damo

Damo
SAS Employee

Hi @cgennings

 

Thanks for the snapshot, it shows the output is similar/identical to the one available from the SAS documentation.

 

MVPMONITOR procedure uses ODS GRAPHICS, as per SAS QC Graphics.

So to control the axis display, etc. you would have to update the template used by the procedure.

Please have a look at Modifying ODS Statistical Graphics Templates in SAS® 9.2 to see how to do it.

 

Hope that helps.

 

Cheers,
Damo

 

 

 

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 5 replies
  • 1233 views
  • 0 likes
  • 2 in conversation