source: trunk/Jgraph/ex1.jgr@ 509

Last change on this file since 509 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: 954 bytes
Line 
1(* This is a graph for Figure 1 of the USENIX jgraph abstract. It shows
2 three simple curves plotted with jgraph.
3
4 There are two graphs plotted -- the first is the actual jgraph. The
5 second is a text string showing the input for the graph. Print it
6 out -- you'll see what I mean.
7 *)
8
9newgraph
10xaxis size 2
11yaxis size 1.5
12
13newcurve pts 0 6 1 9 2 11 3 14 4 18 5 20
14newcurve marktype triangle linetype solid
15 pts 0 3 1 4 2 7 3 9 4 10 5 13
16newcurve marktype none linetype dashed
17 pts 0 0 1 2 2 3 3 5 4 6 5 9
18
19copygraph
20x_translate -3.5
21border
22xaxis nodraw min 0 max 1 size 2.8
23yaxis nodraw min 0 max 1
24
25newstring hjl vjc x .05 y .5 font Courier fontsize 7 :
26newgraph\
27 newcurve \
28 pts 0 6 1 9 2 11 3 14 4 18 5 20\
29 newcurve \
30 marktype triangle \
31 linetype solid\
32 pts 0 3 1 4 2 7 3 9 4 10 5 13\
33 newcurve \
34 marktype none \
35 linetype dashed\
36 pts 0 0 1 2 2 3 3 5 4 6 5 9
Note: See TracBrowser for help on using the repository browser.