Date: Fri, 8 Jan 2010 14:58:33 +0100
Reply-To: Andre Wielki <wielki@INED.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Andre Wielki <wielki@INED.FR>
Subject: OT : THE new sas seasonnal greetings postcard !
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
As i have received yesterday this post card from the french writer of a
basic/medium book upon SAS
Sébastien Ringuedé
(http://www.pearson.fr/livre/?GCOI=27440100978750)
i think this is, as he said, the first electronic card generated with
ods graphics
see further at
http://www.sas-sr.com/
A well good idea Sebastien!
André
Data ba;
input x y l $;
cards;
2 8 B
4 7.5 O
6 8.5 N
8 8 N
10 7 E
3 4 A
5 3.5 N
7 4 N
9 4.5 E
11 4 E
7.25 1 2
8.5 0.75 0
9.25 1.25 1
10.5 1 0
;
data suite;
array x{10};
array y{10};
array l{10};
do j=1 to 20;
do i=1 to 10;
x{i}=ranuni(4)*15-1;
y{i}=ranuni(5)*15-1;
l{i}=int(ranuni(6)*15);
end;
output;
end;
run;
data ba2;
set ba suite;
run;
ods graphics / height=360px width=480px;
ods listing style=electronics;
footnote j=r color=white "www.sas-sr.com";
proc sgplot data=ba2 noautolegend;
yaxis min=0 max=10 display=none;
xaxis min=0 max=12.5 offsetmin=.0 offsetmax=.0 display=none;
scatter x=x1 y=y1 / markerattrs=(symbol=starfilled size=24pt) group=l1 TRANSPARENCY=.7;
scatter x=x2 y=y2 / markerattrs=(symbol=circlefilled size=18pt) group=l2 TRANSPARENCY=.5;
scatter x=x3 y=y3 / markerattrs=(symbol=starfilled size=14pt) group=l3 TRANSPARENCY=.35;
scatter x=x4 y=y4 / markerattrs=(symbol=diamondfilled size=14pt) group=l4 TRANSPARENCY=.4;
scatter x=x5 y=y5 / markerattrs=(symbol=starfilled size=22pt) group=l5 TRANSPARENCY=.8;
scatter x=x6 y=y6 / markerattrs=(symbol=circle size=36pt) group=l6 TRANSPARENCY=.5;
scatter x=x7 y=y7 / markerattrs=(symbol=circlefilled size=10pt) group=l7 TRANSPARENCY=.2;
scatter x=x8 y=y8 / markerattrs=(symbol=circle size=8pt) group=l8 TRANSPARENCY=.6;
scatter x=x9 y=y9 / markerattrs=(symbol=starfilled size=15pt) group=l9 TRANSPARENCY=.75;
scatter x=x y=y / markerchar=l markercharattrs=(size=64pt family="garamond");
run;
--
André WIELKI
INED (Institut National d'Etudes Démographiques)
Service Informatique
133 Boulevard Davout 75980 Paris Cedex 20
mél : wielki@ined.fr tél : 33 (0) 1 56 06 21 54