/*
 * Copyright 1988 Anant Agarwal
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose and without fee is hereby granted, provided
 * that the above copyright notice appear in all copies and that both that
 * copyright notice and this permission notice appear in supporting
 * documentation.  No representations about the suitability of this software
 * for any purpose.  It is provided "as is" without express or implied 
 * warranty.
 *
 * Author:  Anant Agarwal, MIT Laboratory for Computer Science
 */

#ifndef plot_h
#define plot_h
int lineno;
double CMPT;
  graphtype graph;
  curvetype *curves[MAXCURVES];
  axistype axis[PAIR];
	 tictype tics[MAXTICS * MAXTICSM];
  texttype *text[MAXCURVES];
LocalObjectType *obj[MAXOBJECTS];
int curobj;/* index to first empty object slot */
int curcur ;
int curtext ;
int curtic ;
int Xtics ;
boolean MinticNos;/* whether to print minor tic numbers */
boolean ShowMinTics;/* whether to print minor tics */
double NoConfInterval ;
int majorticfont;
int minorticfont;
double numberBelowXAxis;
double titleBelowXAxis;
double idLabelFromAxes;
double spaceBetKeys;
double translate;
double numberLeftYAxis;
double labelBelowXAxis;
double labelLeftYAxis;
double NumberBelowYMinorTic;
double  keylinewidth;
double icontotext;
double dummy; 
double defnumints;/* def number of intervals */
double boldthickmul;
int defGraphFont;
double defFillGray;
int defGraphKeyFont;
int defSymbolSize;
int defTextFont;
double defGraphThick;
int DefBarThickMul;
double DefAxisGray;
double DefCurFont;
double defAxisThick;
double defGraphXsize;
double defGraphYsize;
int defAxisFont;
int SuScriptSm;
double SupAboveText;
double SubBelowText;
double keySpacingMul;
double textBelowIcon;
double gs;/* graph font to symbol font scale */
double xpress ;
double ypress ;
double xtranslate ;
double ytranslate ;
int doc ;
boolean ShowXNos ;
boolean ShowYNos ;
boolean ShowXLine ;
boolean ShowYLine ;
boolean ShowAxes ;
boolean MirrorAxes ;
boolean NewOrigin ;
double FracDownMirror ;
boolean MirrorAxisNumbers ;
boolean MirrorAxisLabels ;
boolean landscape ;
boolean idlabel;
int XView ;
int IView ;
int IDrawEdit ;
int XGray ;
extern char Greek[] ;
extern char ticmark[] ;
extern char Phelvetica[] ;
extern char PhelveticaItalics[] ;
extern char PhelveticaBold[] ;
extern char PhelveticaBoldItalics[] ;
extern char Ptimesroman[] ;
extern char PtimesromanItalics[] ;
extern char PtimesromanBold[] ;
extern char PtimesromanBoldItalics[] ;
char *FF(/* fntnum */);
int FFsize(/* fntnum */);
double FFthick(/* fntnum */);
double FFaxisthick(/* fntnum */);
int FFheight(/* fntnum */);
int FFwidth(/* fntnum */);
#endif
