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;
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;
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;
Thank you, this works.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.