source: trunk/Jgraph/sin2.jgr@ 419

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

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

File size: 469 bytes
Line 
1(* Now this is a sin wave from 0.1 to 100 with logarithmic axes *)
2
3newgraph
4
5yaxis min -1 max 1
6 label : sin(i)
7xaxis log
8 label : i
9
10title : I vs sin(i);
11
12(* Plot the sin curve *)
13curve 1
14 marktype none
15 linetype solid
16 pts include sin2.pts
17 (* sin2.pts was created by the following c program:
18
19 #include <math.h>
20 main();
21 {
22 double x;
23 for (x = 0.1; x < 100.0; x += .03)
24 printf("%f %f\n", x, sin(x));
25 }
26
27 *)
28
Note: See TracBrowser for help on using the repository browser.