BookmarkSubscribeRSS Feed
CJEGOU
Calcite | Level 5

Hello everybody,

 

I need to update a graph to be more readible . (see the graph in attachement).

I dont find a solution to reduce the font of the tickmark in X axis.

 

proc template;
   
   define statgraph histogram;
       begingraph;
          layout lattice /columns=1 rows=2
                          rowdatarange=data columndatarange=union
                          rowgutter=3px columngutter=3px rowweights=(.80 .20);
                         
             layout overlay ;
                barchart x=month / group=&grp_seas GROUPORDER=ascending INDEX=index1 name='bar' includemissinggroup=true ;
                discretelegend 'bar' /across=1 border=true autoalign=(&posi) location=inside
                ;
             endlayout;
             layout overlay ;              
                scatterplot x=month y=season / name="season" includemissinggroup=true;
             endlayout;
            
             columnaxes;
               columnaxis / display=(ticks tickvalues) tickvalueattrs=(size=3);
             endcolumnaxes;
            
          endlayout;
      
       endgraph;
     end;
   run;

 

Is someone can help me?

 

Céline

2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
It is probably better to post this question in the Forum for ODS Graphics https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/bd-p/sas_graph. That is where the experts in PROC TEMPLATE for graphs are mostly answering questions.

Cynthia
CJEGOU
Calcite | Level 5

Ok thank you.

 

regards

 

Céline

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!

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