BookmarkSubscribeRSS Feed
iznally
Calcite | Level 5

Hi all,

I'm stucked with the line thickness of polylines (annotate functions polyline and polycont). There seem to be just the choice between extremely thin (size=1) and thick (size=2). Using decimal values doesn't return an error, but has no effect either. As per the online documentation these are pixel values and the unit cannot be changed. But the line with size 2 is definitely more than two pixels thick...?

I'm using this function to accentuate particular state borders on my map.

Thanks in advance for any advice!

3 REPLIES 3
GraphGuy
Meteorite | Level 14

I usually go with lighter & darker colors for the 2 borders, rather than thin/thicker lines.

Here's an example from my book:

http://robslink.com/SAS/book/example12.htm

http://robslink.com/SAS/book/example12_info.htm

iznally
Calcite | Level 5

Thanks Robert! Yes thats a possibility, but I would really like to keep them in the same color - there's no option for a more differentiated size setting?

BenthamLEE
Calcite | Level 5

We can adjust thin/thickness of the polygon annotation or polyline annotation when we call and program the annotation creating component by adjusting the methods of  ”fill As AnnotationBrush, shadow As AnnotationBrush, shadowX As Single, shadowY As Single“. By the way, annotation line or shadow color also are adjustable.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 3 replies
  • 1666 views
  • 0 likes
  • 3 in conversation