SASで年賀状をつくりました(ほぼ「SASで年賀状」の焼き直し)
2023年もどうぞよろしくお願いいたします!
年賀状をつくるプログラム (SAS9.4M7で動作確認)
*** 描画用のパーツ ; data rabbit; x1= 0; y1= 0; x2= 0; y2=-6.5; x3=-0.31; y3= 1.2; x4= 0.31; y4= 1.2; x5= 0; y5= 0.15; x6= 0; y6= 0.7; x7=-0.5; y7= 5; x8= 0.5; y8= 5; x9=-0.5; y9= 5.5; x10=0.5; y10=5.5; x11=-0.8; y11=0.1; x12=0.8; y12=0.1; run; *** 描画 ; title ; ods graphics on / height=10cm width=14.8cm; proc sgplot data=rabbit noautolegend; styleattrs wallcolor=khaki; /* Text */ inset "HAPPY NEW YEAR" / position=top textattrs=(color=brown size=31cm); inset "20" / position=bottomleft textattrs=(color=brown size=140cm ); inset "23" / position=bottomright textattrs=(color=brown size=140cm ); /* rabbit */ scatter x=x1 y=y1 / markerattrs=(symbol=circlefilled size=3cm color=white); scatter x=x2 y=y2 / markerattrs=(symbol=circlefilled size=4cm color=white); scatter x=x3 y=Y3 / markerattrs=(symbol=circlefilled size=0.2cm color=black); scatter x=x4 y=Y4 / markerattrs=(symbol=circlefilled size=0.2cm color=black); scatter x=x5 y=y5 / markerattrs=(symbol=ArrowDown size=0.5cm color=black); scatter x=x6 y=y6 / markerattrs=(symbol=TriangleDownFilled size=0.2cm color=black); scatter x=x7 y=y7 / markerattrs=(symbol=CircleFilled size=1cm color=white); scatter x=x8 y=y8 / markerattrs=(symbol=CircleFilled size=1cm color=white); scatter x=x9 y=y9 / markerattrs=(symbol=CircleFilled size=1cm color=white); scatter x=x10 y=y10 / markerattrs=(symbol=CircleFilled size=1cm color=white); scatter x=x7 y=y7 / markerattrs=(symbol=CircleFilled size=0.7cm color=mistyrose); scatter x=x8 y=y8 / markerattrs=(symbol=CircleFilled size=0.7cm color=mistyrose); scatter x=x9 y=y9 / markerattrs=(symbol=CircleFilled size=0.7cm color=mistyrose); scatter x=x10 y=y10 / markerattrs=(symbol=CircleFilled size=0.7cm color=mistyrose); scatter x=x11 y=y11 / markerattrs=(symbol=CircleFilled size=0.4cm color=pink); scatter x=x12 y=y12 / markerattrs=(symbol=CircleFilled size=0.4cm color=pink); xaxis min=-3 max=3 display=none; yaxis min=-5 max=1 display=none; run; |
0 件のコメント:
コメントを投稿