=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/plot/ifplot.h,v retrieving revision 1.10 retrieving revision 1.13 diff -u -p -r1.10 -r1.13 --- OpenXM_contrib2/asir2000/plot/ifplot.h 2002/07/29 03:08:16 1.10 +++ OpenXM_contrib2/asir2000/plot/ifplot.h 2005/05/18 03:27:00 1.13 @@ -45,7 +45,7 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/asir2000/plot/ifplot.h,v 1.9 2002/07/11 03:34:34 takayama Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/plot/ifplot.h,v 1.12 2004/03/26 08:25:37 noro Exp $ */ #if defined(VISUAL) /* for Visual C++ */ @@ -88,6 +88,7 @@ #define MAXCANVAS 64 #define MAXGC 16 +#define DEFAULTPOLARSTEP 400 #define DEFAULTWIDTH 400 #define DEFAULTHEIGHT 400 @@ -95,6 +96,7 @@ #define MODE_CONPLOT 1 #define MODE_PLOT 2 #define MODE_INTERACTIVE 3 +#define MODE_POLARPLOT 4 #define DIR_X 0 #define DIR_Y 1 @@ -149,6 +151,9 @@ typedef struct RealVect { #define MKRVECT4(v,x,y,z,u)\ ((v)=(RealVect *)MALLOC_ATOMIC(sizeof(RealVect)+3*sizeof(int)),\ (v)->len=4,(v)->body[0]=(x),(v)->body[1]=(y),(v)->body[2]=(z),(v)->body[3]=(u)) +#define MKRVECT5(v,x,y,z,u,w)\ +((v)=(RealVect *)MALLOC_ATOMIC(sizeof(RealVect)+4*sizeof(int)),\ + (v)->len=4,(v)->body[0]=(x),(v)->body[1]=(y),(v)->body[2]=(z),(v)->body[3]=(u),(v)->body[4]=(w)) #define RV_POINT 1 #define RV_LINE 2 @@ -186,6 +191,7 @@ struct canvas { struct pa *pa; /* to register the history in the interactive mode */ NODE history; + int color; }; extern struct canvas *canvas[];