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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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