
% make -f Makefile.unix install
will produce yaplot, the execulable file.
% yaplot test.mol % perc.pl | yaplot -
usage : yaplot [options] infiles...
-e x,y,z set eyepoint
-l x,y,z set lookpoint
-u x,y,z set upvector
-c filename specify palette file(default: yaplot.col)
-C n cache n frames on the memory (will speed up animation)
infiles multiple command files
You can specify single "-" for command file, which means
stdin. Multiple frame animation is, however, not available
because stdin cannot be accessed randomly by fseek().If you do not specify the palette file, "yaplot.col" in current directory is searched. If not found, the environment variable "YAPLOTCOL" is used instead. If not found, "yaplot.col" in your home directory will be used.
When the command is invoked, a 512x512 window is displayed. You can rotate, translate, or proceed frames by keys.
Eye point conversion rule is just same as that used in Rayshade. You can easily convert coordinate data into rayshade format.
| r {radius} | Specify the radius of the circle, ring, and stick |
|---|---|
| l {x} {y} {z} {x} {y} {z} | Draw a line |
| s {x} {y} {z} {x} {y} {z} | Draw a stick |
| p {x} {y} {z} {x} {y} {z} {x} {y} {z} ... | Draw a filled polygon |
| c {x} {y} {z} | Draw a circle |
| o {x} {y} {z} | Draw a ring mark |
| 3 {x} {y} {z} | Draw a small triangle mark |
| 4 {x} {y} {z} | Draw a small square mark |
| 5 {x} {y} {z} | Draw a small pentagon mark |
| 6 {x} {y} {z} | Draw a small hexagon mark |
| t {x} {y} {z} {text....} | Draw a string |
| @ {palette} | Change the current palette |
| # {comment} | Comment(ignored) |
| NULL line | End of a frame |