c                           
      structure /options_3d/

        integer*4 StartFrm
        integer*4 FrmInc
        integer*4 EndFrm
        logical*4 EraseFrm  
        logical*4 StepControl

        logical*4 WireFrame
        logical*4 HideFace
        logical*4 HiddenLine
        logical*4 StickFigure

        logical*4 SegCentered
        integer*4 CntrSegNum
        logical*4 JntCentered
        integer*4 CntrJntNum
                        
        logical*4 ShowSegCntr
        logical*4 ShowSegLCS  
        logical*4 ShowGCS
        logical*4 ShowFrcPlt
        logical*4 ShowFrmNum
                        
        logical*4 UseInitRotCor
 
        logical*4 Print
        logical*4 Screen
        logical*4 UseMonoDisplay
 
        logical*4 UseManWin
        real*4    WindowWidth
        real*4    ManVwPnt(3)
        real*4    ManVwDir(3)
        real*4    ManUpVec(3)
        real*4    ManVwCntr(3)
                          
        logical*4 ShowCP
        logical*4 ShowGRF
        logical*4 ShowGRM
        real*4    ScaleFRC
        real*4    ScaleMOM
      end structure
                   
      structure /Plot3D_flag/
        logical*4 SegPos     
        logical*4 AvgPos
        logical*4 MrkPos
        logical*4 JntPos
        logical*4 FrcPlt
        logical*4 FtGRL
        logical*4 CmbGRL
      end structure

      integer*4 BLACK,RED,GREEN,YELLOW,BLUE,MAGENTA,CYAN,WHITE

      parameter (BLACK=0)
      parameter (RED=1)
      parameter (GREEN=2)
      parameter (YELLOW=3)
      parameter (BLUE=4)
      parameter (MAGENTA=5)
      parameter (CYAN=6)
      parameter (WHITE=7)
