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

 

Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.

 

Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer. 

 

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