Dear all,
I have following code:
data myattrmap; length linecolor $ 6 linepattern $ 5 markercolor $ 6 markersymbol $ 13; input ID $ value $ linecolor $ linepattern $ markercolor $ markersymbol $; datalines; myid young teal solid teal DiamondFilled myid old purple solid purple DiamondFilled ; run; proc print data = myattrmap; run; ods graphics/ reset=all width=16cm ; title "Results &var by concentration and leaf stage"; Proc SGpanel data = &lib..rides_anno_flag noautolegend dattrmap = myattrmap; PanelBy treatment / columns=2; series x=date y=&var / group=uniqueID grouplc=leaf lcattrid=myid /*lc line color*/ grouplp=leaf lpattrid=myid /*lc line pattern*/ groupmc=leaf mcattrid=myid /*lc marker color*/ groupms=leaf mcattrid=myid /*lc marker symbol*/ markerattrs=(size=10) name='grouping'; keylegend 'grouping' / type=linecolor; rowaxis display=(nolabel) grid; colaxis values=('11oct2023'd, '18oct2023'd, '25oct2023'd, '2nov2023'd) valuesformat = date7.; where flag = 0; run; title;
according to the SAS documentation, I should be able to control the marker size with markerattrs, but it does not seem to have an effect:
I am using sas-analytics-pro on SAS Studio (SAS Viya) version: V.04.00M0P031323
Can somebody clarify this?
Thanks, Veronique
OK, I found it ...
You need
markers markerattrs=(size=10);
instead of just
markerattrs=(size=10);
Koen
Not sure these blog posts contain the answer to your specific question, but wanted to let them know to you anyway:
BR, Koen
Another option ... try GTL with PROC SGRENDER.
Koen
OK, I found it ...
You need
markers markerattrs=(size=10);
instead of just
markerattrs=(size=10);
Koen
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.
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.