X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fezplot.h;h=744a33d42143d3bfa17afa1c349071ef799e61e5;hp=4494f01470613349566cc8a1e5f922588867fe5a;hb=031437896d0dc6cac70c16e5604b10f5aa4d0767;hpb=c481fbf2890e6e3a0a5479a9e53e685634ce411a diff --git a/include/ezplot.h b/include/ezplot.h index 4494f01..744a33d 100644 --- a/include/ezplot.h +++ b/include/ezplot.h @@ -2,17 +2,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ezplot.h,v 1.4 2000/05/24 22:48:17 kevin Exp $ -** $Log: ezplot.h,v $ -** Revision 1.4 2000/05/24 22:48:17 kevin -** First functional version of SDF library for X-window -** -** Revision 1.3 2000/05/07 12:46:19 kevin -** made c++ compatible -** -** Revision 1.2 2000/04/28 14:14:16 kevin -** *** empty log message *** -** +** $Id: ezplot.h,v 1.5 2000/06/13 16:20:31 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 @@ -27,6 +17,7 @@ ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ******************************************************************************/ + /*----------------------------------------------------------------------*/ /* EZPLOT */ /* */ @@ -35,10 +26,6 @@ #ifndef __H_EZPLOT #define __H_EZPLOT -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - #include #include @@ -328,27 +315,24 @@ extern struct ezplot_var ez; extern bool ezplot_firstcall; /* set to false on first call to EZSET or EZPLOT */ -/* axis.c */ -int axis_scale (double min, double max, int nint, double *minp, double *maxp, int *nintp); - -/* ezplot.c */ +/* ezplot.cpp */ SGP_ID ezplot(double x[], double y[], int num); void ezinit(void); void ezfree(void); void ezclear(void); -/* ezplot1d.c */ -void ezplot_1d(double *y, int n); - -/* ezset.c */ +/* ezset.cpp */ int ezset(char *command); -/* makefmt.c */ +/* ezplot1d.cpp */ +void ezplot_1d(double *y, int n); + +/* makefmt.cpp */ void make_numfmt(char *fmtstr, int *fldwid, int *nfrac, double min, double max, int nint); -#ifdef __cplusplus -} -#endif /* __cplusplus */ +/* axis.cpp */ +int axis_scale (double min, double max, int nint, double *minp, double *maxp, int *nintp); + #endif