File:  [LON-CAPA] / doc / plot / sample_plot.html
Revision 1.1: download - view: text, annotated - select for diffs
Wed Dec 19 19:21:18 2001 UTC (22 years, 4 months ago) by matthew
Branches: MAIN
CVS tags: HEAD
Sample plot input file.

    1: <html>
    2: <title>
    3: A sample plot, hopefully.
    4: </title>
    5: <body>
    6: <h1>There should be a plot here someplace.... Or at least a broken image</h1>
    7: <plot 
    8: 	height      = "150" 
    9: 	width       = "200" 
   10: 	bgcolor     = "xffffff" 
   11: 	fgcolor     = "x000000" 
   12: 	transparent = "on" 
   13: 	grid        = "on" 
   14: 	border      = "off" 
   15: 	font        = "large" >
   16: 
   17: 	<!-- No term declaration because I can't think of one -->
   18: 
   19: 	<title>  Title text  </title>
   20: 	<xlabel> xlabel text </xlabel>
   21: 	<ylabel> ylabel text </ylabel>
   22: 
   23: 	<key position="upper right" title="Functions" box="on" />
   24: 
   25: 	<axis 
   26: 		color="x000000" 
   27: 		thickness="2.0" 
   28: 		xmin="-10.0"
   29: 		xmax=" 10.0"
   30: 		ymin="-10.0"
   31: 		ymax=" 10.0" />
   32: 
   33: 	<label xpos="1.0" ypos="2.0" justify="left" >Label text! </label>
   34: 
   35: 	<curve color="x000000" name="Funky Function 1" linestyle="lines" >
   36: 		<function> f(x) = sin(x)</function>
   37: 	</curve>
   38: 
   39: 	<curve color="x000000" name="Funky Function 2" linestyle="linespoints" >
   40: 		<data>-5,-4,-3,-2,-1, 0, 1, 2, 3, 4, 5</data>
   41: 		<data> 2, 2, 2, 2, 2, 0,-4,-4,-4,-4,-4</data>
   42: 		<data> 2, 2, 2, 2, 2, 0,-4,-4,-4,-4,-4</data>
   43: 		<data> 2, 2, 2, 2, 2, 0,-4,-4,-4,-4,-4</data>
   44: 		<data> 2, 2, 2, 2, 2, 0,-4,-4,-4,-4,-4</data>
   45: 		<data> 2, 2, 2, 2, 2, 0,-4,-4,-4,-4,-4</data>
   46: 	</curve>
   47: </plot>
   48: </body>
   49: </html>
   50: 

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