@Tjebbe wrote: Well let's start in the middle. Read the given text strings, parse them and create a similar graph like the one in the pdf. That would be helpfull. The generalisation might be a next step but is out of scope for this question.
Please look in the SAS documentation for the %sganno macro and related.
There are a number of macro statements that help to create an annotate data set which contains instructions for SAS SG graphics procedures to use.
https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=grstatproc&docsetTarget=n0eben23mwnl3dn1cm95zbks0eea.htm&locale=en
These may be closest to the example you show to create similar graphic objects.
The SAS color naming conventions are multiple, flexible and sometimes a tad esoteric as to which common color names like "lavendar" may be supported. So if using such names you will need to investigate that as well as I doubt "deepskyblue1" is one of the accepted names.
... View more