Refline 730/transparency=0.5 label=("Year 2") Labelattrs=(size=4 style=italic weight=bold color=red) lineattrs=(color=red pattern=34) labelloc=outside axis=x Refline 365/transparency=0.5 label=("Year 1") Y2axis values=(0 to 200000 by 10000) label="Cumulative FIX Consumption (IU)" labelattrs=(size=7) Yaxis values=(0 to 30 by 2) label="Cumulative Number of Bleeding Episodes" labelattrs=(size=7) Xaxis values=(0 to 2200 by 168) label="Study Day" minor Lineattrs=( pattern=1 thickness=2) NOMISSINGGROUP y2axis name="series2" attrid=myreg Group=subjid markers markerattrs=( size=5 symbol=starfilled) Lineattrs=(pattern=5 thickness=.5) NOMISSINGGROUP name="series" attrid=myreg Group=subjid markers markerattrs=( size=5 symbol=trianglefilled ) Styleattrs datasymbols=(trianglefilled starfilled) Proc sgplot data=adef_bleed_part noautolegend dattrmap=MyAttrMap The legend is only populating with subjects that i'm plotting but I would like a legend that shows a star and a triangle so I can indicate one is for the first series and the other one is for the second series since it's all on the same graph. However, I am not sure how to write syntax to show a trianglefilled and starfilled in the legend. In this particular code I want to show two symbols in the legend. Hi, my question is pretty straightfoward.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |