PGV control file commands


Specification of PGV control file for Ver.1.5.19

Specification is...

  1. # started line is comment (COMMENT LINE). If top of line is spase (SPACE LINE), this line is not read. Other type line is NORMAL LINE. If NORMAL LINE has #, it is comment from here to end of line.
  2. Initialize block is begin from "[INIT]" line, and end to SPACE LINE.
  3. Macro block is begin from "[MACRO]" line, and end to SPACE LINE.
  4. If you want to brank line in each block, please use COMMENT LINE.
  5. Control state is begin from head of line. Line has command, space character and parameters.
  6. There are 3 types command. One is use in initialize block only. Another is use in macro block only. Other is use in both blocks.
Command is...

[INIT]
Only use in initialize block.
Written parameter is default.
xpos center Left position of Window. Parameter is value or "center".
ypos center Top position of Window. Parameter is value or "center".
xsize 500 Window holizontal size (dot).
ysize 500 Window vartical size (dot).
arrowlength 1.05 Axis arrow length. It is a ratio to area box.
arrowwidth 0.01 Axis arrow width (radius). It is a ratio to area box.
arrowheadlength 0.08 Axis arrow head length. It is a ratio to area box.
arrowheadwidth 0.03 Axis arrow head width (radius). It is a ratio to area box.
arrownamesize 0.10 Axis character size. It is a ratio to area box.
atomstickwidth 0.10 Stick width (radius) for molecular. Unit is atom unit.
atomnamesize 1.00 Character size for molecular. Unit is atom unit.
atomcolorstick 0.50 Not use.
freqwidth 0.10 Vector stick width (radius) for molecular. Unit is atom unit.
freqheadlength 0.40 Vector arrow head length for molecular. Unit is atom unit.
freqheadwidth 0.40 Vector arrow head width (radius) for molecular. Unit is atom unit.
freqbasefactor 1.00 Vector base factor to data.
freqdiv 2 Divede frame count for frequency animation.
When it is 0, there are 4 images (center image, plus maximum moved image, center, minue one). Frame count means added frame between center position and maximum position. Default 2 mean is 2 * 4 = 8, + 4 = 12 frames.
Maximum count is 10.
[MACRO]
Only use in macro block.
Parameter position is written "PARAM".
output PARAM Output file. PARAM string is below.
jpeg Output display image to jpeg format (compressed).
bmp Output display image to bmp format.
ppm Output display image to ppm format.
ps Output display image to PostScript format (coverted to B/W).
dxf Output polygon data to dxf format.
povray Output polygon data to Povray format.
wrl Output polygon data to VRML format.
xyz Output molecular data to xyz format.
pdb Output molecular data to pdb format.
anime Output 1 cycle frequency animation images to jpeg format (compressed).
pause Pause macro. If you want to start next step, click left mouse button.
quit Terminate PGV.
[INIT],[MACRO]
Use in both block.
Paramter position is written "PARAM".
polygon PARAM
polygon PARAM1,PARAM2
Select polygon display mode.
If you set one PARAM, program set same mode to other group.
solid Writte by plane.
wire Written by wire.
point Written by dot.
off Not display.
pointsize 1 Polygon dot (square) size. Mimimum is 1.
color PARAM Select polygon color.
red Red. If data has 2nd polygon group, it is colored green.
green Green. If data has 2nd polygon group, it is colored red.
blue Sky blue. If data has 2nd polygon group, it is colored yellow.
yellow Yellow. If data has 2nd polygon group, it is colored sky blue.
shade PARAM Select shading mode.
off Smooth.
on Rough. Each polygon is plane.
wire PARAM Select wire mode.
shine Shining. Cull mode is effective.
nofog Not shining. Cull mode is not effective, all wires are wrtten.
linearfog Same "No fog". Liner fog effect.
expfog Same "No fog". Exponential fog effect.
exp2fog Same "No fog". Exponential fog effect.
glass PARAM Select transparency.
off Not transparent.
on Half transparent.
culling PARAM Select culling mode.
off Surface toward front only.
on All planes (front and back).
bond PARAM Select display mode to molecular.
off None
ball Ball only.
ballstick Ball and stick.
ballsticknumber Ball, stick and rocorded number.
ballstickname Ball, stick and atom name.
whitestick White stick only.
colorstick Colored stick only.
atomballfactor PARAM Select ball size for molecular.
Float Display size is fill space size divide by this value. Default is 8.0.
atomballsurface PARAM Select ball smooth level.
Integer Select 0 - 4. 0 is very smooth. Default is 2.
namecolor PARAM Character color.
Integer Select 0 - 7. 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, 7:white Default is 3.
freq PARAM Select display mode for frequency vector.
off None
x1.0 Default length.
x1.5 Display 1.5 times length.
x2.0 Display 2.0 times length.
x2.5 Display 2.5 times length.
negative Reverce direction.
axis PARAM Select display mode for axis and area box.
off None.
axisbox Display axis and area box.
axis Display only axis.
box Display only area box.
back PARAM Select background color.
lightsky Light sky blue.
sky Sky blue.
lightgray Light gray.
gray Gray.
darkgray Dark gray.
darkgreen Dark green.
darkmagenta Dark magenta.
darkcyan Dark cyan.
white White. (Goot to print)
off Black.
light PARAM Select position of light.
init Initial (flont).
rightup XYZ plus.
rightdown XZ plus,Y minus.
leftup YZ plus, X minus.
leftdown Z plus, XY minus.
eye Operater eye position.
rotate PARAM Select rotate animation.
off None
right5 Rotate plus direction step by 5 degree.
right3 Rotate plus direction step by 3 degree.
right1 Rotate plus direction step by 1 degree.
left1 Rotate minus direction step by 1 degree.
left3 Rotate minus direction step by 3 degree.
left5 Rotate minus direction step by 5 degree.
animation PARAM Select animation mode for frequency.
off Stop.
on Start.
rotatex PARAM Rotate on X axis.
Float Set rotate angle by degree.
rotatey PARAM Rotate on Y axis.
Float Set rotate angle by degree.
rotatez PARAM Rotate on Z axis.
Float Set rotate angle by degree.
eyex PARAM Eye position on X axis.
Float Set value.
eyey PARAM Eye position on Y axis.
Float Set value.
centx PARAM Reference position on X axis.
Float Set value.
centy PARAM Reference position on Y axis.
Float Set value.
zoom PARAM Zoom factor.
Float Factor is a ratio to window size.
viewangle PARAM View angle.
Float Set angle by degree. Default is 40.0.
comment PARAM Display comment.
"phrase" Strings. If you set in [INIT], "-m" options take priority over this setting.
commentposition PARAM Comment position
top Left and top.
bottom Left and bottom.
commentfont PARAM Comment font.
font1 24 point Times roman proportional font.
font2 15x9 dot bitmap font.
font3 13x8 dot bitmap font.
font4 10 point Times roman proportional font.
none None.
commentcolor PARAM Comment color. Default is white, if background is white, default is black.
white While.
sky Sky blue.
purple Magenta.
blue Blue.
yellow Yellow.
green Green.
red Red.
black Black.


PGV EG Manual Page, last update 990709
Copyright(C) 1996-1999 F.Mizutani,CCIMS / mizutani@ims.ac.jp