Scatter Demo

From FollowTheScore
Jump to: navigation, search

{{#ploticus:

  1. proc page
 pagesize: 20 30

// specify data using proc getdata

  1. proc getdata
 data:
"Evgeniy" "%USER%" 201306071058
"Evgeniy" "%USER%" 201306071058
"Evgeniy" "%USER%" 201306071047
"Evgeniy" "%USER%" 201306071034
"2010-11-25 Anniversary" "%USER%" 201011060914
"United Republic of Tanzania" "%USER%" 200909220919
"Problem with category containing a single quote character" "%USER%" 200907090751
"Problem with category containing a single quote character" "%USER%" 200907090427
"Problem with category containing a single quote character" "%USER%" 200907090426
"Problem with category containing a single quote character" "%USER%" 200907090417
"Problem with category containing a single quote character" "%USER%" 200907090416
"Problem with category containing a single quote character" "%USER%" 200907090415
"Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200905140455
"Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200905140446
"Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200905140439
"United Republic of Tanzania" "%USER%" 200905100605
"United Republic of Tanzania" "%USER%" 200905100559
"Add "minimum-number-of-revisions" like Criteria for page selection" "%USER%" 200904020341
"DPL Cache Warning" "%USER%" 200902271019
"DPL Cache Warning" "%USER%" 200902270929
"Evan Sultanik" "%USER%" 200803251019
"Display units" "%USER%" 200803230257
".prop definition" "%USER%" 200803230214
".prop definition" "%USER%" 200803230214
"Display units" "%USER%" 200803230153
"Display units" "%USER%" 200803230145
"Munich" "%USER%" 200803221117
"Munich" "%USER%" 200802161021
"Mechanics" "%USER%" 200803221117
"Mechanics" "%USER%" 200802170114
".prop unique" "%USER%" 200803220928
".prop unique" "%USER%" 200802060836
"Display units" "%USER%" 200803220926
"Display units" "%USER%" 200802040934
".prop unique" "%USER%" 200803220915
".prop unique" "%USER%" 200802060824
".prop definition" "%USER%" 200803220915
".prop definition" "%USER%" 200802060933
".class definition" "%USER%" 200803220915
".class definition" "%USER%" 200803061247
".cat definition" "%USER%" 200803220915
".cat definition" "%USER%" 200802260908
"Headingmode definition buggy output" "%USER%" 200711240654
"Headingmode definition buggy output" "%USER%" 200710280152
"Assigning absolute position of 0-0" "%USER%" 200710281043
"Headingmode definition buggy output" "%USER%" 200710230728
"Headingmode definition buggy output" "%USER%" 200710230724
"Headingmode definition buggy output" "%USER%" 200710230717
"Headingmode definition buggy output" "%USER%" 200710230710
"Headingmode definition buggy output" "%USER%" 200710230704
"Headingmode definition buggy output" "%USER%" 200710230701
"Headingmode definition buggy output" "%USER%" 200710230652
"Headingmode definition buggy output" "%USER%" 200710230649
"Headingmode definition buggy output" "%USER%" 200710230442
"Turnier Gruppe2" "%USER%" 200710071006
"Turnier" "%USER%" 200710071005
"Turnier Gruppe" "%USER%" 200710071005
"2007-07-22 Jocs especials a la Trinitat" "%USER%" 200708110236
"Impressionism" "%USER%" 200707211018
"Expressionism" "%USER%" 200707211018
"2007-07-22 Jocs especials a la Trinitat" "%USER%" 200707200429
"United Republic of Tanzania" "%USER%" 200707180803
"2007/09/15 better not forget anniversary!!" "%USER%" 200707051114
"2007/06/22 sprawdzanie kalendarza" "%USER%" 200706220253
"2007/05/03 Training Basketball Team" "%USER%" 200705010906
"2007/04/03 Daniels verjaardag" "%USER%" 200704130121
"2007 04 03 daniels verjaardag" "%USER%" 200704130121
"African Union member states" "%USER%" 200704120622
"2007/03/29 Something is happening" "%USER%" 200704040306
"2007/03/29 Something is happening" "%USER%" 200703300354
"2007/03/29 Something is happening" "%USER%" 200703300354
"2007/03/29 Something is happening" "%USER%" 200703300352
"2007/03/29 Something is happening" "%USER%" 200703300351
"Schnittstellen" "%USER%" 200703060852
"Schnittstellen Übersicht Mini dpl" "%USER%" 200703060845
"Schnittstellen Übersicht Mini" "%USER%" 200703060844
"Munich" "%USER%" 200702160930
"African Union member states" "%USER%" 200701200932


  1. proc categories
 axis: x
 listsize: 1000
 datafield: 2
 axis: y
 listsize: 1000
 datafield: 1

// set up plotting region using proc areadef

  1. 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
  1. proc xaxis
 grid: color=orange 
 ticincrement: 1
  1. proc yaxis
 grid: color=orange
 ticincrement: 2

// draw pink points using proc scatterplot

  1. 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

  1. proc scatterplot
 xfield: 2
 yfield: 1
 symbol: shape=nicecircle radius=0.05

}} See Scatter Demo 2 for a larger example ..