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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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