File:  [LON-CAPA] / doc / plot / plot.dtd
Revision 1.1: download - view: text, annotated - select for diffs
Thu Dec 13 16:20:18 2001 UTC (22 years, 4 months ago) by matthew
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

<!-- $Id -->

<!NOTATION hexcolor SYSTEM '^x[0-9abcdef]{6}$' >
<!NOTATION num      SYSTEM '^[0-9]+\.?[0-9]*$' >

<!ELEMENT plot 
	( term*, title?, xlabel?, ylabel?, key?, axis,
          label*, (curve+, label*)+ >
<!ATTLIST plot
	height      "200" NDATA num
	width       "200" NDATA num
	bgcolor     "xffffff" NDATA hexcolor
	fgcolor     "x000000" NDATA hexcolor
	transparent (on|off)    "off"
	grid        (on|off)    "off"
	border      (on|off)    "on"
	font        (tiny|small|medium|large|giant) "medium"
>

<!ELEMENT term   #PCDATA>
<!ATTLIST term   
	type (postscript|gif|png)   "gif" 
>

<!ELEMENT title  #NMTOKENS>
<!ELEMENT xlabel #NMTOKENS>
<!ELEMENT ylabel #NMTOKENS>

<!ELEMENT key   (position?, title?)>
<!ELEMENT position #PCDATA >
<!ATTLIST key 
	box    (on|off) "off"
>

<!ELEMENT axis EMPTY>
<!ATTLIST axis 
	color     "x000000" NDATA hexcolor
	thickness "1"       NDATA num
	xmin      "-10.0"   NDATA num
	xmax      " 10.0"   NDATA num
	ymin      "-10.0"   NDATA num
	ymax      " 10.0"   NDATA num
>

<!ELEMENT label #PCDATA>
<!ATTLIST label
	xpos      NDATA num  #REQUIRED
	ypos      NDATA num  #REQUIRED
	justify   (right|left|center) "center"
>

<!ELEMENT curve (function? | data+ ) >
<!ATTLIST curve 
	color     "x000000" NDATA hexcolor
	name      #PCDATA   #REQUIRED
	linestyle (lines|linespoints|dots|points|steps) "lines"
>
<!ELEMENT function #PCDATA >
<!ELEMENT data     #PCDATA >

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