source: trunk/Jgraph/bailey.jgr@ 573

Last change on this file since 573 was 418, checked in by Nicholas Riley, 17 years ago

Jgraph 8.3 from http://www.cs.utk.edu/~plank/plank/jgraph/jgraph.tar.gz

File size: 500 bytes
RevLine 
[418]1
2(* Example of Unix spline(1) to smooth a curve.
3This is a file to draw sin(i) for i going from -pi to pi *)
4
5newgraph
6
7yaxis min -1 max 1 label : sin(i)
8xaxis label : i
9grid_lines
10border
11title : Example Unix spline(1) to interpolate points
12
13(* Plot the sin curve *)
14newline
15 label : data
16 pts include bailey.pts
17copycurve
18 label : splined
19 linetype dotted
20 pts shell : spline < bailey.pts
21
22(*
23bailey.pts file:
24-3.1416 0.0
25-1.81 -0.9715
26-0.55 -0.5226
27 0.71 0.6518
28 1.97 0.9213
29 3.1416 0.0
30*)
Note: See TracBrowser for help on using the repository browser.