projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r185: *** empty log message ***
[ctsim.git]
/
include
/
ezplot.h
diff --git
a/include/ezplot.h
b/include/ezplot.h
index 06601db5515413c006fab7e8a9b21121bff585e6..22c2360873ad0ead0dc1d38032fa5b072fe9c269 100644
(file)
--- a/
include/ezplot.h
+++ b/
include/ezplot.h
@@
-7,7
+7,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ezplot.h,v 1.1
0 2000/07/28 08:28
:08 kevin Exp $
+** $Id: ezplot.h,v 1.1
2 2000/07/29 19:50
:08 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
**
** 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
@@
-130,12
+130,6
@@
class EZPlot {
int clr_number; /* color of axis number labels */
// Options
int clr_number; /* color of axis number labels */
// Options
- int o_reqcurves; /* # of curves specified in CURVES command */
- /* default value is 1, so that a call to EZPLOT
- will force a plot */
- bool o_unknowncurves; /* TRUE when the user specifies that the
- number of curves is unknown */
-
double o_xporigin, o_yporigin; /* origin of plot frame in NDC */
double o_xlength, o_ylength; /* length of plot frame in NDC */
double o_xporigin, o_yporigin; /* origin of plot frame in NDC */
double o_xlength, o_ylength; /* length of plot frame in NDC */
@@
-211,9
+205,10
@@
class EZPlot {
bool ezcmd (char *comm);
int do_cmd(int lx);
void bad_option(char *opt);
bool ezcmd (char *comm);
int do_cmd(int lx);
void bad_option(char *opt);
-
static void initkw(void
);
+
void initPlotSettings(
);
- int curveinteract;
+ static void initkw(void);
+
static bool ezset_initialized;
public:
static bool ezset_initialized;
public:
@@
-223,6
+218,7
@@
class EZPlot {
int ezset (char *command);
void addCurve (const float* x, const double* y, int num);
int ezset (char *command);
void addCurve (const float* x, const double* y, int num);
+ void addCurve (const double* x, const float* y, int num);
void addCurve (const double* x, const double* y, int num);
void addCurve (const double* y, int n);
void addCurve (const double* x, const double* y, int num);
void addCurve (const double* y, int n);
@@
-248,9
+244,6
@@
class EZPlot {
#define S_SYMBOL -18
#define S_EVERY -19
#define S_NONE -20
#define S_SYMBOL -18
#define S_EVERY -19
#define S_NONE -20
-#define S_CURVES -21
-#define S_UNKNOWN -22
-#define S_END -23
#define S_LEGEND -24
#define S_XLEGEND -25
#define S_YLEGEND -26
#define S_LEGEND -24
#define S_XLEGEND -25
#define S_YLEGEND -26