Line | |
---|
1 | (*
|
---|
2 |
|
---|
3 | Jgraph file for the simple multicomputer picture:
|
---|
4 |
|
---|
5 | Pc--P1--P2
|
---|
6 |
|
---|
7 | *)
|
---|
8 |
|
---|
9 | newgraph
|
---|
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 |
|
---|
15 | newcurve
|
---|
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 |
|
---|
23 | newcurve
|
---|
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 |
|
---|
33 | newstring fontsize 9 x 0 y 0 hjc vjc : Pc
|
---|
34 | newstring fontsize 9 x 1 y 0 hjc vjc : P1
|
---|
35 | newstring fontsize 9 x 2 y 0 hjc vjc : P2
|
---|
Note:
See
TracBrowser
for help on using the repository browser.