File: clickmap_time2.htm

package info (click to toggle)
ploticus-doc 2.40-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,604 kB
  • ctags: 159
  • sloc: pascal: 469; makefile: 63; sh: 11
file content (48 lines) | stat: -rw-r--r-- 1,112 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<html><h1>clickmap_time2</h1><img src="clickmap_time2.gif"><p>
<a href="gall.using.html">How to download and try this example</a><br>

<pre><b>Usage: pl -gif -map clickmap_time2.htm
<hr></b>

#setifnotgiven CGI = "http://ploticus.sourceforge.net/cgi-bin/showcgiargs"

#proc getdata
data:
   NBC	8:00	9:00	"Wind\non Water"
   NBC  9:00	9:30	"Encore!\nEncore!"
   NBC  9:30	10:00	"Conrad\nBloom"
   NBC	10:00	11:00	"Trinity"
   ABC	8:00	8:30	"Secret\nLives"
   ABC	8:30	9:00	"Sports\nNight"
   ABC	9:00	11:00	"Movie of the Week"
   CBS	8:00	8:30	"Cosby"
   CBS	8:30	9:00	"Kids say..."
   CBS	9:00	10:00	"Charmed"
   CBS	10:00	11:00	"To have\nand to Hold"

#proc areadef
   title: Evening television schedule
   rectangle: 1 1 5 2
   xscaletype: time
   xrange: 08:00 11:00
   yscaletype: categories
   ycategories: 
	NBC
	ABC
	CBS

#proc xaxis
   stubs: inc 1 hours

#proc yaxis
   stubs: categories

#proc bars
   clickmapurl: @CGI?channel=@@1&starttime=@@2&endtime=@@3&title=@@4
   color: powderblue2
   axis: x
   locfield: 1
   segmentfields: 2 3
   labelfield: 4
   longwayslabel: yes
   labeldetails: size=6