73 const char* lab =
NULL,
75 void x_expr(
const char*,
bool usepointer);
135 GLabel*
label(
float x,
float y,
const char*
s,
float n = 0,
int fixtype = -1);
203 float max(
int low,
int high),
min(
int,
int);
239 [[nodiscard]] std::size_t
size() {
240 return px_.capacity();
251 std::vector<neuron::container::data_handle<double>>
px_;
267 virtual void save(std::ostream&);
337 virtual void save(std::ostream&);
384 virtual void save(std::ostream&);
449 return text_.c_str();
const Brush * brush_palette[BRUSH_SIZE]
int brush(const Brush *) const
const Brush * brush(int) const
const Brush * brush(int index, int pattern, Coord width)
int color(const Color *) const
const Color * color_palette[COLOR_SIZE]
const Color * color(int) const
const Color * color(int, const char *)
const Color * color(int, const Color *)
void add(neuron::container::data_handle< double > dh)
neuron::container::data_handle< double > p(std::size_t i)
std::vector< neuron::container::data_handle< double > > px_
Object ** new_vect(GLabel *g=NULL) const
float get_val(int i) const
void need(Canvas *, const Allocation &, Extension &) const
virtual void draw(Canvas *, const Allocation &) const
void align(float x, float y)
virtual void allocate(Canvas *, const Allocation &, Extension &)
virtual void pick(Canvas *, const Allocation &, int depth, Hit &)
void relative(float scale)
const char * text() const
GPolyLine * labeled_line() const
GLabel(const char *s, const Color *, int fixtype=1, float size=12, float x_align=0., float y_align=0.)
virtual void save(std::ostream &, Coord, Coord)
void color(const Color *)
virtual void request(Requisition &) const
virtual Glyph * clone() const
const Color * color() const
virtual void request(Requisition &) const
void init(DataVec *, DataVec *, const Color *, const Brush *)
void brush(const Brush *)
const DataVec * y_data() const
const Brush * brush() const
virtual void allocate(Canvas *, const Allocation &, Extension &)
const DataVec * x_data() const
const Color * color() const
virtual void print(Printer *, const Allocation &) const
void color(const Color *)
void plot(Coord x, Coord y)
virtual void pick(Canvas *, const Allocation &, int depth, Hit &)
GPolyLine(DataVec *x, const Color *=NULL, const Brush *=NULL)
virtual void save(std::ostream &)
virtual void draw_specific(Canvas *, const Allocation &, int, int) const
bool near(Coord, Coord, float, const Transformer &) const
virtual void erase_line(Scene *, GlyphIndex)
int nearest(Coord, Coord, const Transformer &, int index=-1) const
virtual void draw(Canvas *, const Allocation &) const
GPolyLine(DataVec *x, DataVec *y, const Color *=NULL, const Brush *=NULL)
virtual void pick_vector()
void label_loc(Coord &x, Coord &y) const
virtual void save(std::ostream &o, Coord, Coord)
virtual void erase(Scene *s, GlyphIndex i, int type)
virtual bool is_polyline()
void change_line_color(GPolyLine *)
const Color * color() const
virtual void new_size(Coord x1, Coord y1, Coord x2, Coord y2)
static std::ostream * ascii_
void cross_action(char, GPolyLine *, int)
const Brush * brush() const
void family(const char *)
virtual bool change_label(GLabel *, const char *, GLabel *gl=NULL)
static void ascii(std::ostream *)
void line(Coord x, Coord y)
virtual GlyphIndex glyph_index(const Glyph *)
GraphLine * add_var(const char *, const Color *, const Brush *, bool usepointer, int fixtype=1, neuron::container::data_handle< double > p={}, const char *lab=NULL, Object *obj=NULL)
void ascii_save(std::ostream &o) const
void add_polyline(GPolyLine *)
TelltaleState * keep_lines_toggle_
virtual void see_range_plot(GraphVector *)
static bool label_chooser(const char *, char *, GLabel *, Coord x=400., Coord y=400.)
void family_label_chooser()
void begin_line(const char *s=NULL)
virtual void save_phase2(std::ostream &)
void cross_action(char, Coord, Coord)
GLabel * label(const char *s, int fixtype=-1)
void change_label_color(GLabel *)
void add_graphVector(GraphVector *)
virtual void save_phase1(std::ostream &)
void x_expr(const char *, bool usepointer)
GLabel * new_proto_label() const
virtual void delete_label(GLabel *)
neuron::container::data_handle< double > x_pval_
virtual void wholeplot(Coord &x1, Coord &y1, Coord &x2, Coord &y2) const
GPolyLine * current_polyline_
void relative(float scale)
HocCommand * cross_action_
void align(float x, float y)
virtual void draw(Canvas *, const Allocation &) const
void mark(Coord x, Coord y, char style='+', float size=12, const Color *=NULL, const Brush *=NULL)
GLabel * label(float x, float y, const char *s, float n=0, int fixtype=-1)
void begin_line(const Color *, const Brush *, const char *s=NULL)
std::vector< GraphLine * > line_list_
void extension_continue()
GLabel * label(float x, float y, const char *s, int fixtype, float scale, float x_align, float y_align, const Color *)
static std::ostream * ascii()
void axis(DimensionName, float min, float max, float pos=0., int ntics=-1, int nminor=0, int invert=0, bool number=true)
void set_cross_action(const char *, Object *, bool vectorcopy=false)
virtual void pick(Canvas *, const Allocation &, int depth, Hit &)
virtual void pick(Canvas *, const Allocation &, int depth, Hit &)
virtual void erase(Scene *, GlyphIndex, int erase_type)
virtual bool is_graphVector()
virtual void save(std::ostream &, Coord, Coord)
GraphItem(Glyph *g, bool=true, bool pick=true)
virtual bool is_polyline()
bool valid(bool check=false)
LineExtension * extension_
neuron::container::data_handle< double > pval_
const Brush * save_brush_
const Color * save_color_
const Color * save_color() const
void save_color(const Color *)
LineExtension * extension()
bool change_expr(const char *, Symlist **)
virtual void save(std::ostream &)
virtual void update(Observable *)
const char * name() const
GraphLine(const char *, DataVec *x, Symlist **, const Color *=NULL, const Brush *=NULL, bool usepointer=0, neuron::container::data_handle< double > pd={}, Object *obj=NULL)
void save_brush(const Brush *)
virtual void erase_line(Scene *, GlyphIndex)
void extension_continue()
virtual void pick(Canvas *, const Allocation &, int depth, Hit &)
void simgraph_continuous(double)
void simgraph_activate(bool)
const Brush * save_brush() const
DataVec * simgraph_x_sav_
virtual void save(std::ostream &)
virtual bool choose_sym(Graph *)
const char * name() const
GraphVector(const char *, const Color *=NULL, const Brush *=NULL)
virtual void request(Requisition &) const
virtual void update(Observable *)
void add(float, neuron::container::data_handle< double >)
unsigned int DimensionName
void move(Item *q1, Item *q2, Item *q3)
static void check(VecTNode &)
int const size_t const size_t n