Template:DPL Example 103 barchart

From FollowTheScore
Revision as of 11:40, 13 March 2009 by Gero (talk | contribs)
Jump to: navigation, search

{{#ploticus:

  1. proc getdata
 data:


// set up plotting area using proc areadef

  1. proc areadef
 rectangle: 1 1 3.5 2
 xrange: 0 100
 yrange: 0 100
 title: 
 frame: color=0.8

// do x axis using proc xaxis

  1. proc xaxis
 stubs inc 25
 axisline: none
 tics: none 
 label: 
 grid: color=rgb(.6,1,.6)
 stubformat: %g%%

// do bars using proc bars

  1. proc bars
 axis: x
 lenfield: 2
 color: pink
 showvalues: yes
 labelfield: 1
 longwayslabel: yes
 labeldetails: size=6 
 reverseorder: yes
 outline: no

}}