Scatter Demo
From FollowTheScore
{{#ploticus:
- proc page
pagesize: 20 30
// specify data using proc getdata
- proc getdata
data: "Evgeniy" "%USER%" 201306070958 "Evgeniy" "%USER%" 201306070958 "Evgeniy" "%USER%" 201306070947 "Evgeniy" "%USER%" 201306070934 "2010-11-25 Anniversary" "%USER%" 201011060814 "United Republic of Tanzania" "%USER%" 200909220819 "Problem with category containing a single quote character" "%USER%" 200907090651 "Problem with category containing a single quote character" "%USER%" 200907090327 "Problem with category containing a single quote character" "%USER%" 200907090326 "Problem with category containing a single quote character" "%USER%" 200907090317 "Problem with category containing a single quote character" "%USER%" 200907090316 "Problem with category containing a single quote character" "%USER%" 200907090315 "Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200905140355 "Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200905140346 "Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200905140339 "United Republic of Tanzania" "%USER%" 200905100505 "United Republic of Tanzania" "%USER%" 200905100459 "Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200904020241 "DPL Cache Warning" "%USER%" 200902270919 "DPL Cache Warning" "%USER%" 200902270829 "Evan Sultanik" "%USER%" 200803250919 "Display units" "%USER%" 200803230157 ".prop definition" "%USER%" 200803230114 ".prop definition" "%USER%" 200803230114 "Display units" "%USER%" 200803231253 "Display units" "%USER%" 200803231245 "Munich" "%USER%" 200803221017 "Munich" "%USER%" 200802160921 "Mechanics" "%USER%" 200803221017 "Mechanics" "%USER%" 200802171214 ".prop unique" "%USER%" 200803220828 ".prop unique" "%USER%" 200802060736 "Display units" "%USER%" 200803220826 "Display units" "%USER%" 200802040834 ".prop unique" "%USER%" 200803220815 ".prop unique" "%USER%" 200802060724 ".prop definition" "%USER%" 200803220815 ".prop definition" "%USER%" 200802060833 ".class definition" "%USER%" 200803220815 ".class definition" "%USER%" 200803051147 ".cat definition" "%USER%" 200803220815 ".cat definition" "%USER%" 200802260808 "Headingmode definition buggy output" "%USER%" 200711240554 "Headingmode definition buggy output" "%USER%" 200710281252 "Assigning absolute position of 0-0" "%USER%" 200710280943 "Headingmode definition buggy output" "%USER%" 200710230628 "Headingmode definition buggy output" "%USER%" 200710230624 "Headingmode definition buggy output" "%USER%" 200710230617 "Headingmode definition buggy output" "%USER%" 200710230610 "Headingmode definition buggy output" "%USER%" 200710230604 "Headingmode definition buggy output" "%USER%" 200710230601 "Headingmode definition buggy output" "%USER%" 200710230552 "Headingmode definition buggy output" "%USER%" 200710230549 "Headingmode definition buggy output" "%USER%" 200710230342 "Turnier Gruppe2" "%USER%" 200710070906 "Turnier" "%USER%" 200710070905 "Turnier Gruppe" "%USER%" 200710070905 "2007-07-22 Jocs especials a la Trinitat" "%USER%" 200708110136 "Impressionism" "%USER%" 200707210918 "Expressionism" "%USER%" 200707210918 "2007-07-22 Jocs especials a la Trinitat" "%USER%" 200707200329 "United Republic of Tanzania" "%USER%" 200707180703 "2007/09/15 better not forget anniversary!!" "%USER%" 200707051014 "2007/06/22 sprawdzanie kalendarza" "%USER%" 200706220153 "2007/05/03 Training Basketball Team" "%USER%" 200705010806 "2007/04/03 Daniels verjaardag" "%USER%" 200704131221 "2007 04 03 daniels verjaardag" "%USER%" 200704131221 "African Union member states" "%USER%" 200704120522 "2007/03/29 Something is happening" "%USER%" 200704040206 "2007/03/29 Something is happening" "%USER%" 200703300254 "2007/03/29 Something is happening" "%USER%" 200703300254 "2007/03/29 Something is happening" "%USER%" 200703300252 "2007/03/29 Something is happening" "%USER%" 200703300251 "Schnittstellen" "%USER%" 200703060752 "Schnittstellen Übersicht Mini dpl" "%USER%" 200703060745 "Schnittstellen Übersicht Mini" "%USER%" 200703060744 "Munich" "%USER%" 200702160830 "African Union member states" "%USER%" 200701200832
- proc categories
axis: x listsize: 1000 datafield: 2 axis: y listsize: 1000 datafield: 1
// set up plotting region using proc areadef
- proc areadef
rectangle: 1 1 1 1 xscaletype: categories xaxis.stubs: usecategories xaxis.tics: none xaxis.stubvert: yes yscaletype: categories yaxis.axisline: none yaxis.stubs: usecategories
autowidth: 0.1 autoheight: 0.1 location: 4.5 1.5
- proc xaxis
grid: color=orange ticincrement: 1
- proc yaxis
grid: color=orange ticincrement: 2
// draw pink points using proc scatterplot
- proc scatterplot
xfield: 2 yfield: 1 symbol: shape=nicecircle radius=0.05 fillcolor=pink cluster: yes
// do it a 2nd time to overlay outlines using proc scatterplot
- proc scatterplot
xfield: 2 yfield: 1 symbol: shape=nicecircle radius=0.05
}}