|
Revision 4, 1.2 kB
(checked in by jms, 8 months ago)
|
Chargement de jps2ps dans le SVN.
|
| Line | |
|---|
| 1 |
/axeR { % x_min x_max lu (étendue du pointille, longueur du vecteur) |
|---|
| 2 |
3 dict begin |
|---|
| 3 |
/lu exch def |
|---|
| 4 |
/x1 exch def |
|---|
| 5 |
/x0 exch def |
|---|
| 6 |
gsave |
|---|
| 7 |
continu |
|---|
| 8 |
rouge |
|---|
| 9 |
[0 0 0 lu 0 0] (->) ligne3d |
|---|
| 10 |
currentlinewidth 0.5 mul setlinewidth |
|---|
| 11 |
pointilles |
|---|
| 12 |
[x0 0 0 x1 0 0] (-) ligne3d |
|---|
| 13 |
grestore |
|---|
| 14 |
end } def |
|---|
| 15 |
|
|---|
| 16 |
/axeV { % y_min y_max lu (étendue du pointille, longueur du vecteur) |
|---|
| 17 |
3 dict begin |
|---|
| 18 |
/lu exch def |
|---|
| 19 |
/y1 exch def |
|---|
| 20 |
/y0 exch def |
|---|
| 21 |
gsave |
|---|
| 22 |
continu |
|---|
| 23 |
vert |
|---|
| 24 |
[0 0 0 0 lu 0] (->) ligne3d |
|---|
| 25 |
currentlinewidth 0.5 mul setlinewidth |
|---|
| 26 |
pointilles |
|---|
| 27 |
[0 y0 0 0 y1 0] (-) ligne3d |
|---|
| 28 |
grestore |
|---|
| 29 |
end } def |
|---|
| 30 |
|
|---|
| 31 |
/axeB { % z_min z_max lu (étendue du pointille, longueur du vecteur) |
|---|
| 32 |
3 dict begin |
|---|
| 33 |
/lu exch def |
|---|
| 34 |
/z1 exch def |
|---|
| 35 |
/z0 exch def |
|---|
| 36 |
gsave |
|---|
| 37 |
continu |
|---|
| 38 |
bleu |
|---|
| 39 |
[0 0 0 0 0 lu] (->) ligne3d |
|---|
| 40 |
currentlinewidth 0.5 mul setlinewidth |
|---|
| 41 |
pointilles |
|---|
| 42 |
[0 0 z0 0 0 z1] (-) ligne3d |
|---|
| 43 |
grestore |
|---|
| 44 |
end } def |
|---|
| 45 |
|
|---|
| 46 |
/axesRVB { % xyz_min xyz_max lu (étendue du pointille, longueur des vecteurs) |
|---|
| 47 |
3 dict begin |
|---|
| 48 |
/lu exch def |
|---|
| 49 |
/w1 exch def |
|---|
| 50 |
/w0 exch def |
|---|
| 51 |
w0 w1 lu axeR |
|---|
| 52 |
w0 w1 lu axeV |
|---|
| 53 |
w0 w1 lu axeB |
|---|
| 54 |
end |
|---|
| 55 |
} def |
|---|