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

I use SAS 9.4M3.

Using TextPlot with sgrender heatmapparm. The position variable has various selections (top, topright, center, bottom, etc.) however on my heatmap using 3 text plots, they cram into each other. Is there a way to control textplot variables differently, giving me more control to place them where I want in the box?


heatmap.PNG
1 ACCEPTED SOLUTION

Accepted Solutions
Jay54
Meteorite | Level 14

It is not clear to me what you are asking, but I will take a guess.  Currently, the position option takes only a value (TOP, TOPRIGHT, etc.).  This applies to all the text observations.  But you may want values positioned differently.  One way around this is to break up your display using multiple TEXT plot statements, one each for the position value.  I realize this is not ideal, but this is what I have done before when I want some values positioned at top of (x, y) and others at bottom.   I hope this helps. 

 

FYI, we reasize this limitation and we are extending this to allow POSITION=variable.  Then, you will be able to provide the position value in the column of the data for each observation.  We expect this to be available with SAS 9.40M5

View solution in original post

4 REPLIES 4
ballardw
Super User

Change the size of the graphic display area

Change the size of the text

Reduce the number characters of text displayed

BrianMc
Obsidian | Level 7
Thank you, I gather there is no other way to add more variables. I can manage but it will be hard to see.
Jay54
Meteorite | Level 14

It is not clear to me what you are asking, but I will take a guess.  Currently, the position option takes only a value (TOP, TOPRIGHT, etc.).  This applies to all the text observations.  But you may want values positioned differently.  One way around this is to break up your display using multiple TEXT plot statements, one each for the position value.  I realize this is not ideal, but this is what I have done before when I want some values positioned at top of (x, y) and others at bottom.   I hope this helps. 

 

FYI, we reasize this limitation and we are extending this to allow POSITION=variable.  Then, you will be able to provide the position value in the column of the data for each observation.  We expect this to be available with SAS 9.40M5

BrianMc
Obsidian | Level 7
That's correct. The position value is limited in my heatmap. There's approx. 16 x values and 12 y values so I stretch the chart out. I am using multiple text statements (3). One for the top, one for the middle and the third for the bottom. It looks better when I reduce the font size. I am limited, but is is a great chart. If I could add 2 more variables for example we could really have a stellar strategy chart. Thank you, I look forward to M5.

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
  • 904 views
  • 2 likes
  • 3 in conversation