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

I've created a heat map of fold changes in proc sgplot.   How do I increase the font size of the values on the axes?   I'd like to have a larger font size on the y axis than the x axis.

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

The attributes for the labels and tick values are specified on the YAXIS statement. For example:

 

yaxis labelattrs=(size=14) valueattrs=(size=12);

 

 

View solution in original post

4 REPLIES 4
GraphGuy
Meteorite | Level 14

Which proc are you using? Can you share the code?

SMcRitchie
Calcite | Level 5

I'm using proc sgplot.   Here's the code.  The y axis has 80 markers and the x axis has 92 subjects.  Thanks, Susan

 

 

ods graphics on /
width=38.0in

imagefmt=gif
imagemap=on
imagename="orig_heatmap"
noscale
border=off;


title "Heat Map of Fold Changes";
proc sgplot data=cytokine_name rattrmap=fcresp;
heatmap x=id y=cytokine_name/ discretex discretey
colorresponse=fc rattrid=id;
run;
title " ";

Rick_SAS
SAS Super FREQ

The attributes for the labels and tick values are specified on the YAXIS statement. For example:

 

yaxis labelattrs=(size=14) valueattrs=(size=12);

 

 

SMcRitchie
Calcite | Level 5

Thank you for your help!

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 773 views
  • 1 like
  • 3 in conversation