Annotation of doc/plot/plot.dtd, revision 1.2

1.2     ! matthew     1: <!-- $Id$ -->
1.1       matthew     2: 
                      3: <!NOTATION hexcolor SYSTEM '^x[0-9abcdef]{6}$' >
                      4: <!NOTATION num      SYSTEM '^[0-9]+\.?[0-9]*$' >
                      5: 
                      6: <!ELEMENT plot 
                      7: 	( term*, title?, xlabel?, ylabel?, key?, axis,
                      8:           label*, (curve+, label*)+ >
                      9: <!ATTLIST plot
                     10: 	height      "200" NDATA num
                     11: 	width       "200" NDATA num
                     12: 	bgcolor     "xffffff" NDATA hexcolor
                     13: 	fgcolor     "x000000" NDATA hexcolor
                     14: 	transparent (on|off)    "off"
                     15: 	grid        (on|off)    "off"
                     16: 	border      (on|off)    "on"
                     17: 	font        (tiny|small|medium|large|giant) "medium"
                     18: >
                     19: 
                     20: <!ELEMENT term   #PCDATA>
                     21: <!ATTLIST term   
                     22: 	type (postscript|gif|png)   "gif" 
                     23: >
                     24: 
                     25: <!ELEMENT title  #NMTOKENS>
                     26: <!ELEMENT xlabel #NMTOKENS>
                     27: <!ELEMENT ylabel #NMTOKENS>
                     28: 
                     29: <!ELEMENT key   (position?, title?)>
                     30: <!ELEMENT position #PCDATA >
                     31: <!ATTLIST key 
                     32: 	box    (on|off) "off"
                     33: >
                     34: 
                     35: <!ELEMENT axis EMPTY>
                     36: <!ATTLIST axis 
                     37: 	color     "x000000" NDATA hexcolor
                     38: 	thickness "1"       NDATA num
                     39: 	xmin      "-10.0"   NDATA num
                     40: 	xmax      " 10.0"   NDATA num
                     41: 	ymin      "-10.0"   NDATA num
                     42: 	ymax      " 10.0"   NDATA num
                     43: >
                     44: 
                     45: <!ELEMENT label #PCDATA>
                     46: <!ATTLIST label
                     47: 	xpos      NDATA num  #REQUIRED
                     48: 	ypos      NDATA num  #REQUIRED
                     49: 	justify   (right|left|center) "center"
                     50: >
                     51: 
                     52: <!ELEMENT curve (function? | data+ ) >
                     53: <!ATTLIST curve 
                     54: 	color     "x000000" NDATA hexcolor
                     55: 	name      #PCDATA   #REQUIRED
                     56: 	linestyle (lines|linespoints|dots|points|steps) "lines"
                     57: >
                     58: <!ELEMENT function #PCDATA >
                     59: <!ELEMENT data     #PCDATA >

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>