source: trunk/Jgraph/sin.jgr@ 660

Last change on this file since 660 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: 523 bytes
Line 
1(* This is a file to draw sin(i) for i going from -10 to 10. The actual
2 * points were created by a c program which is included below. *)
3
4newgraph
5
6yaxis min -1 max 1 label : sin(i)
7xaxis min -10 max 10 label : i
8
9(* Plot the sin curve *)
10curve 1
11 marktype none
12 linetype solid
13 pts shell : ./sin
14 (* sin is the executable of the following c program:
15
16 #include <math.h>
17 main();
18 {
19 double x;
20 for (x = -10.0; x < 10.0; x += .03)
21 printf("%f %f\n", x, sin(x));
22 }
23
24 *)
Note: See TracBrowser for help on using the repository browser.