54 int ntics = -1,
int nminor=0,
55 int invert = 0,
bool number =
true);
57 bool usepointer,
int fixtype = 1,
double*
p =
NULL,
59 void x_expr(
const char*,
bool usepointer);
66 void begin_line(
const char*
s =
NULL);
69 void mark(
Coord x,
Coord y,
char style=
'+',
float size=12,
72 virtual void erase_all();
74 virtual void delete_label(
GLabel*);
78 void keep_lines_toggle();
80 void family(
const char*);
81 void family_label_chooser();
91 void set_cross_action(
const char*,
Object*,
bool vectorcopy=
false);
103 GLabel* label(
float x,
float y,
const char*
s,
int fixtype,
104 float scale,
float x_align,
float y_align,
const Color*);
105 GLabel* label(
float x,
float y,
const char* s,
float n=0,
int fixtype = -1);
106 GLabel* label(
const char* s,
int fixtype = -1);
107 GLabel* new_proto_label()
const;
108 void fixed(
float scale);
109 void vfixed(
float scale);
111 void align(
float x,
float y);
114 void change_label_color(
GLabel*);
118 virtual void save_phase1(std::ostream&);
119 virtual void save_phase2(std::ostream&);
121 static bool label_chooser(
const char*,
char*,
GLabel*,
Coord x = 400.,
Coord y = 400.);
124 static void ascii(std::ostream*);
125 static std::ostream* ascii();
127 void extension_start();
128 void extension_continue();
129 void ascii_save(std::ostream&
o)
const;
169 float max()
const,
min()
const;
170 float max(
int low,
int high),
min(
int,
int);
171 int loc_max()
const, loc_min()
const;
176 int size()
const {
return size_; }
178 void running_start();
183 int count_,
size_, iMinLoc_, iMaxLoc_;
196 double*
p(
int i) {
return px_[
i]; }
216 virtual void save(std::ostream&);
217 virtual void pick_vector();
224 void brush(
const Brush*);
260 virtual void save(std::ostream&);
264 const char*
name()
const;
266 void extension_start();
267 void extension_continue();
270 void save_color(
const Color*);
271 void save_brush(
const Brush*);
272 bool change_expr(
const char*,
Symlist**);
276 void simgraph_activate(
bool);
277 void simgraph_init();
278 void simgraph_continuous(
double);
298 void add(
float,
double*);
299 virtual void save(std::ostream&);
300 const char*
name()
const;
301 bool trivial()
const;
303 virtual bool choose_sym(
Graph*);
307 void record_install();
308 void record_uninstall();
331 GLabel(
const char*
s,
const Color*,
int fixtype = 1,
float size = 12,
332 float x_align = 0.,
float y_align = 0.);
334 virtual Glyph* clone()
const;
342 void text(
const char*);
343 void fixed(
float scale);
344 void vfixed(
float scale);
346 void align(
float x,
float y);
349 bool fixed()
const {
return fixtype_ == 1;}
350 float scale()
const {
return scale_;}
351 const char*
text()
const {
return text_.string();}
384 enum {COLOR_SIZE = 100};
386 const Color* color_palette[COLOR_SIZE];
392 const Brush* brush(
int)
const;
394 int brush(
const Brush*)
const;
395 enum {BRUSH_SIZE = 25};
397 const Brush* brush_palette[BRUSH_SIZE];
static double fast_flush(void *v)
double max(double a, double b)
const Color * save_color_
virtual void save(std::ostream &o, Coord, Coord)
static double valid(void *v)
float get_val(int i) const
static void update(NrnThread *)
GPolyLine * current_polyline_
LineExtension * extension_
const Brush * save_brush() const
const char * text() const
const Color * color() const
const DataVec * x_data() const
virtual bool is_graphVector()
HocCommand * cross_action_
int const size_t const size_t n
static double check(double t, Daspk *ida)
virtual void erase(Scene *s, GlyphIndex i, int type)
static std::ostream * ascii_
const Brush * save_brush_
GraphItem(Glyph *g, bool=true, bool pick=true)
const Color * color() const
LineExtension * extension()
unsigned int DimensionName
const Brush * brush() const
const Brush * brush() const
GPolyLine * labeled_line() const
virtual void pick(Canvas *, const Allocation &, int depth, Hit &)
virtual void erase_line(Scene *, GlyphIndex)
declarePtrList(LineList, GraphLine)
virtual void remove(GlyphIndex)
static char line[MAXLINE]
TelltaleState * keep_lines_toggle_
DataVec * simgraph_x_sav_
virtual void erase(Scene *, GlyphIndex, int erase_type)
const DataVec * y_data() const
const Color * save_color() const
const Color * color() const
virtual bool is_polyline()