BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Leo9
Quartz | Level 8

Hi All,

 

I am trying to display a text as well as n (number of subjects) using INSET option. I am trying to display these number in 4 different spaces in a plot. Problem is that when I use INSET for displaying text and n, they are getting overlapped because of position. Any solution to avoid overlap ?

 

For example 

inset 'Value 1' / position=bottomleft labelalign=right;
inset "n=&n1." / position=bottomleft labelalign=center;

inset 'Value 2' / position=bottomright labelalign=right;
inset "n=&n2." / position=bottomright labelalign=center;

inset 'Value 3' / position=topleft labelalign=right;
inset "n=&n3." / position=topleft labelalign=center;

inset 'Value 4' / position=topright labelalign=right;
inset "n=&n4." / position=topright labelalign=center;

1 ACCEPTED SOLUTION

Accepted Solutions
DanH_sas
SAS Super FREQ

Can you trim down the number of insets this way?

 

inset "n=&n1." / title='Value 1' position=bottomleft;
inset "n=&n2." / title='Value 2' position=bottomright;
inset "n=&n3." / title='Value 3' position=topleft;
inset "n=&n4." / title='Value 4' position=topright;

View solution in original post

2 REPLIES 2
DanH_sas
SAS Super FREQ

Can you trim down the number of insets this way?

 

inset "n=&n1." / title='Value 1' position=bottomleft;
inset "n=&n2." / title='Value 2' position=bottomright;
inset "n=&n3." / title='Value 3' position=topleft;
inset "n=&n4." / title='Value 4' position=topright;
Leo9
Quartz | Level 8

Thank you, this works.

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 916 views
  • 0 likes
  • 2 in conversation