X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fezplot.h;h=11ac4e578142e40c8e3ea3f228ad8cf6ff4b1ffa;hb=2d39e823ba389fc68e5317c422b55be006094252;hp=744a33d42143d3bfa17afa1c349071ef799e61e5;hpb=031437896d0dc6cac70c16e5604b10f5aa4d0767;p=ctsim.git diff --git a/include/ezplot.h b/include/ezplot.h index 744a33d..11ac4e5 100644 --- a/include/ezplot.h +++ b/include/ezplot.h @@ -2,7 +2,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ezplot.h,v 1.5 2000/06/13 16:20:31 kevin Exp $ +** $Id: ezplot.h,v 1.8 2000/06/20 17:54:51 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -29,12 +29,10 @@ #include #include -#include "kstddef.h" #include -#include "sgp.h" #include -#include "kmath.h" -#include "cio.h" +#include "ctsupport.h" +#include "sgp.h" #define MAXLABEL 40 /* maximum length of axis label */ #define MAXTITLE 40 /* maximum length of a title */ @@ -54,7 +52,7 @@ struct ezp_curve_st { }; #define XBUF_DEF 600 -#define YBUF_DEF XBUF_DEF * (72. / 120.) * 0.75 +#define YBUF_DEF 600 #define PRTMODE_DEF 1 /*----------------------------------------------------------------------*/ @@ -316,6 +314,7 @@ extern bool ezplot_firstcall; /* set to false on first call to EZSET or EZPLOT /* ezplot.cpp */ +SGP_ID ezplot(float x[], double y[], int num); SGP_ID ezplot(double x[], double y[], int num); void ezinit(void); void ezfree(void);