milltest

How to download and try this example


// Usage: ploticus -png milltest.htm

// Demonstrates autorange in Y with numbers in the millions, and Y axis
// labeling.  Thanks to Mike Fischer (mfischer@aol.net).

#proc getdata fieldnames: row req data: 0 15317287 1 15519609 2 15607894 3 15659788 4 15590014 5 15707693 6 15877616 7 15954217 8 15998657 9 15907379 #proc areadef title: Web Requests (millions) rectangle: 1 1 6 3 frame: yes xrange: -1 21 yautorange: datafield=req nearest=100000 margin=200000 yaxis.stubs: inc .1 1000000 yaxis.stubformat: %.1f xaxis.stubs: inc 1 xaxis.stubrange: 0 20 xaxis.label: sample# #proc bars lenfield: req locfield: row thinbarline: color=red