source: trunk/Jgraph/complex-examples/mlti.jgr

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

Jgraph: Debian changes by pzn@…

File size: 603 bytes
Line 
1(*
2
3 Jgraph file for the simple multicomputer picture:
4
5 Pc--P1--P2
6
7 *)
8
9newgraph
10 xaxis size 1.5 min 0 max 2 nodraw
11 yaxis size 0.4 min 0 max 1 nodraw
12
13(* Draw the lines connecting the processors *)
14
15newcurve
16 marktype none
17 linetype solid
18 pts
19 0 0 1 0 2 0
20
21(* Draw circles for the processors on top of the lines *)
22
23newcurve
24 marktype circle
25 marksize .3
26 linetype none
27 fill 1
28 pts
29 0 0 1 0 2 0
30
31(* Draw the labels for the processors *)
32
33newstring fontsize 9 x 0 y 0 hjc vjc : Pc
34newstring fontsize 9 x 1 y 0 hjc vjc : P1
35newstring fontsize 9 x 2 y 0 hjc vjc : P2
Note: See TracBrowser for help on using the repository browser.