25 #if !defined (octave_graphics_h)
26 #define octave_graphics_h 1
54 #if !defined (OCTAVE_DEFAULT_FONTNAME)
55 #define OCTAVE_DEFAULT_FONTNAME "*"
71 error (
"invalid axis scale");
77 error (
"invalid axis scale");
81 virtual double scale (
double d)
const
83 error (
"invalid axis scale");
89 error (
"invalid axis scale");
142 {
return log10 (d); }
145 {
return pow (10.0, d); }
151 void do_scale (
const double *src,
double *dest,
int n)
const
153 for (
int i = 0; i < n; i++)
154 dest[i] = log10 (src[i]);
182 {
return -log10 (-d); }
185 {
return -
pow (10.0, -d); }
191 void do_scale (
const double *src,
double *dest,
int n)
const
193 for (
int i = 0; i < n; i++)
194 dest[i] = -log10 (-src[i]);
252 else if (s ==
"neglog")
254 else if (s ==
"linear")
307 virtual bool is_radio (
void)
const {
return false; }
316 bool do_notify_toolkit =
true);
320 error (
"get: invalid property \"%s\"",
name.c_str ());
327 error (
"values_as_string: invalid property \"%s\"",
name.c_str ());
328 return std::string ();
333 error (
"values_as_cell: invalid property \"%s\"",
name.c_str ());
359 for (i = 0; i < l.
length (); i++)
361 if (v.internal_rep () == l(i).internal_rep ())
369 for (
int j = i; j < l.
length () - 1; j++)
383 for (
int i = l.
length () - 1; i >= 0 ; i--)
385 for (
int j = 0; j < lp.
length (); j++)
387 if (l(i).internal_rep () == lp(j).internal_rep ())
408 error (
"set: invalid property \"%s\"",
name.c_str ());
414 typedef std::map<listener_mode, octave_value_list>::iterator
416 typedef std::map<listener_mode, octave_value_list>::const_iterator
434 const std::string& val =
"")
467 error (
"set: invalid string property value for \"%s\"",
484 const std::string& val =
"",
const char& sep =
'|',
492 size_t new_pos = val.find_first_of (
separator, pos);
494 if (new_pos == std::string::npos)
500 str.
append (val.substr (pos, new_pos - pos));
507 const Cell& c,
const char& sep =
'|',
516 strings[i] = c(i).string_value ();
521 error (
"set: invalid order property value for \"%s\"",
575 while (pos != std::string::npos)
577 size_t new_pos = new_str.find_first_of (
separator, pos);
579 if (new_pos == std::string::npos)
581 strings.
append (new_str.substr (pos));
585 strings.
append (new_str.substr (pos, new_pos - pos));
593 if (strings[i] !=
str[i])
622 if (!replace && strings[i] !=
str[i])
649 if (strings[i] !=
str[i])
666 error (
"set: invalid string property value for \"%s\"",
685 const std::string& val =
"")
699 std::ostringstream buf;
701 value[i] = buf.str ();
718 value[i] = c(i).string_value ();
721 double d = c(i).double_value ();
725 std::ostringstream buf;
727 value[i] = buf.str ();
795 value[i] = c(i).string_value ();
798 double d = c(i).double_value ();
802 std::ostringstream buf;
804 value[i] = buf.str ();
825 std::ostringstream buf;
827 value[i] = buf.str ();
834 error (
"set: invalid string property value for \"%s\"",
878 error (
"invalid value = %s", val.c_str ());
889 size_t len = val.length ();
891 std::string first_match;
893 for (std::set<caseless_str>::const_iterator p =
possible_vals.begin ();
896 if (p->compare (val, len))
898 if (len == p->length ())
948 const std::string& v)
994 if (s.length () != match.length ())
996 "%s: allowing %s to match %s value %s",
997 "set", s.c_str (),
get_name ().c_str (),
1004 error (
"set: invalid value for radio property \"%s\" (value = %s)",
1008 error (
"set: invalid value for radio property \"%s\"",
1037 error (
"invalid color specification: %s", str.c_str ());
1060 {
return ! (*
this == c); }
1068 for (
int i = 0; i < 3; i++)
1072 error (
"invalid RGB color specification");
1115 const std::string& v)
1145 bool is (
const std::string& v)
const
1151 error (
"color has no rgb value");
1159 error (
"color has no radio value");
1228 error (
"set: invalid value for double property \"%s\"",
1249 const std::string& v)
1279 bool is (
const std::string& v)
const
1293 error (
"%s: property has no radio value");
1409 error (
"invalid value for array property \"%s\"",
1496 if (dv(0) > 1 && dv(1) == 1)
1700 *p = new_gh.
value ();
1705 error (
"children_list::renumber: child not found!");
1723 bool add_hidden =
true;
1729 if (visible_kids.
numel () == new_kids.
numel ())
1745 error (
"set: new children must be a permutation of existing children");
1750 error (
"set: expecting children to be array of graphics handles");
1755 Matrix tmp = new_kids_column;
1760 children_list.clear ();
1767 children_list.push_back (tmp.
xelem (i));
1776 children_list.clear ();
1778 children_list.push_front (val.
xelem (i));
1783 children_list.clear ();
1784 for (const_children_list_iterator p = val.begin (); p != val.end (); p++)
1785 children_list.push_front (*p);
1792 Matrix retval (children_list.size (), 1);
1795 for (const_children_list_iterator p = children_list.begin ();
1796 p != children_list.end (); p++)
1803 for (children_list_iterator p = children_list.begin ();
1804 p != children_list.end (); p++)
1808 children_list.erase (p);
1817 children_list.push_front (val);
1863 error (
"invalid value for callback property \"%s\"",
1901 {
return rep->
ok (); }
1934 bool do_notify_toolkit =
true)
1935 {
return rep->
set (val, do_run, do_notify_toolkit); }
2009 const_iterator
find (
const std::string pname)
const
2013 for (it = (*this).begin (); it != (*this).end (); it++)
2014 if (pname.compare ((*it).first) == 0)
2017 return (*this).end ();
2020 iterator
find (
const std::string pname)
2024 for (it = (*this).begin (); it != (*this).end (); it++)
2025 if (pname.compare ((*it).first) == 0)
2028 return (*this).end ();
2035 const_iterator it =
find (pname);
2037 if (it != (*this).end ())
2038 retval = (*it).second;
2045 iterator it =
find (pname);
2047 if (it == (*this).end ())
2050 return (*this).back ().second;
2053 return (*it).second;
2058 iterator it =
find (pname);
2059 if (it != (*this).end ())
2065 std::vector <pval_pair>::erase (it);
2097 plist_map_iterator
find (
const std::string& go_name)
2102 plist_map_const_iterator
find (
const std::string& go_name)
const
2137 const std::string&,
bool,
2138 const std::string& =
"")
const
2144 return Matrix (1, 2, 0.0);
2156 return Matrix (1, 2, 0.0);
2171 {
gripe_invalid (
"base_graphics_toolkit::initialize");
return false; }
2195 error (
"%s: invalid graphics toolkit", fname.c_str ());
2248 const std::string& file,
bool mono,
2249 const std::string& debug_file =
"")
const
2369 ::error (
"unable to create gh_manager!");
2392 typedef std::set<std::string>::const_iterator
2395 typedef std::map<std::string, graphics_toolkit>::iterator
2398 typedef std::map<std::string, graphics_toolkit>::const_iterator
2409 loaded_toolkits[tk.
get_name ()] = tk;
2414 loaded_toolkits.erase (name);
2421 if (p != loaded_toolkits.end ())
2429 Cell m (1 , available_toolkits.size ());
2433 p != available_toolkits.end (); p++)
2441 Cell m (1 , loaded_toolkits.size ());
2445 p != loaded_toolkits.end (); p++)
2453 while (! loaded_toolkits.empty ())
2457 std::string name = p->first;
2463 if (loaded_toolkits.find (name) != loaded_toolkits.end ())
2487 void mark_modified (
void);
2505 all_props[name] = p;
2524 virtual property get_property (
const caseless_str& pname);
2536 if (children.remove_child (h.
value ()))
2538 children.run_listeners ();
2545 children.adopt (h.
value ());
2546 children.run_listeners ();
2555 {
return Matrix (1, 4, 0.0); }
2557 virtual void update_boundingbox (
void);
2559 virtual void update_autopos (
const std::string& elem_type);
2573 return children.get_children ();
2578 return children.get_all ();
2583 return children.get_hidden ();
2595 virtual void update_axis_limits (
const std::string& axis_type)
const;
2597 virtual void update_axis_limits (
const std::string& axis_type,
2600 virtual void update_uicontextmenu (
void)
const;
2604 children.delete_children (
clear);
2609 children.renumber (old_gh, new_gh);
2638 std::set<std::string> dynamic_property_names (
void)
const;
2640 bool has_dynamic_property (
const std::string& pname);
2651 property get_property_dynamic (
const caseless_str& pname);
2656 static std::set<std::string> core_property_names (
void);
2658 static std::set<std::string> readonly_property_names (
void);
2660 static bool has_core_property (
const caseless_str& pname);
2662 static bool has_readonly_property (
const caseless_str& pname);
2664 std::set<std::string> all_property_names (
void)
const;
2693 ID_BEINGDELETED = 0,
2695 ID_BUTTONDOWNFCN = 2,
2700 ID_HANDLEVISIBILITY = 7,
2702 ID_INTERRUPTIBLE = 9,
2705 ID_SELECTIONHIGHLIGHT = 12,
2708 ID_UICONTEXTMENU = 15,
2711 ID___MODIFIED__ = 18,
2712 ID___MYHANDLE__ = 19
2771 if (beingdeleted.
set (val,
true))
2782 if (busyaction.
set (val,
true))
2793 if (buttondownfcn.
set (val,
true))
2804 if (children.
set (val,
true))
2815 if (clipping.
set (val,
true))
2826 if (createfcn.
set (val,
true))
2837 if (deletefcn.
set (val,
true))
2848 if (handlevisibility.
set (val,
true))
2859 if (hittest.
set (val,
true))
2870 if (interruptible.
set (val,
true))
2881 if (selected.
set (val,
true))
2892 if (selectionhighlight.
set (val,
true))
2903 if (uicontextmenu.
set (val,
true))
2905 update_uicontextmenu ();
2915 if (userdata.
set (val,
true))
2926 if (visible.
set (val,
true))
2948 std::map<caseless_str, property, cmp_caseless_str>
all_props;
2952 { insert_property (name,
property (&p,
true)); }
2971 error (
"base_graphics_object::mark_modified: invalid graphics object");
2979 error (
"base_graphics_object::override_defaults: invalid graphics object");
2983 const std::string go_name)
const;
2990 error (
"base_graphics_object::set_from_list: invalid graphics object");
2998 error (
"base_graphics_object::set: invalid graphics object");
3003 error (
"base_graphics_object::set_defaults: invalid graphics object");
3012 error (
"base_graphics_object::get: invalid graphics object");
3023 error (
"base_graphics_object::get: invalid graphics object");
3034 error (
"base_graphics_object::get_defaults: invalid graphics object");
3041 error (
"base_graphics_object::get_defaults_list: invalid graphics object");
3047 error (
"base_graphics_object::get_factory_defaults: invalid graphics object");
3053 error (
"base_graphics_object::get_factory_defaults_list: invalid graphics object");
3074 error (
"base_graphics_object::get_parent: invalid graphics object");
3085 error (
"base_graphics_object::get_handle: invalid graphics object");
3095 error (
"base_graphics_object::remove_child: invalid graphics object");
3103 error (
"base_graphics_object::adopt: invalid graphics object");
3111 error (
"base_graphics_object::reparent: invalid graphics object");
3118 std::string msg = (
type () +
"::defaults");
3122 error (
"base_graphics_object::default: invalid graphics object");
3128 error (
"base_graphics_object::get_properties: invalid graphics object");
3135 error (
"base_graphics_object::get_properties: invalid graphics object");
3148 virtual std::string
type (
void)
const
3154 bool isa (
const std::string& go_name)
const
3156 return type () == go_name;
3165 error (
"base_graphics_object::get_toolkit: invalid graphics object");
3186 virtual void remove_all_listeners (
void);
3202 toolkit_flag =
false;
3247 if (--rep->count == 0)
3259 if (--rep->count == 0)
3267 rep->override_defaults (obj);
3272 rep->override_defaults (*rep);
3276 const std::string go_name)
const
3278 rep->build_user_defaults_map (def, go_name);
3285 rep->set (name, val);
3304 return name.compare (
"default")
3306 : (name.compare (
"factory")
3307 ? get_factory_defaults () : rep->get (name));
3322 return rep->get_default (name);
3327 return rep->get_factory_default (name);
3334 return rep->get_defaults_list ();
3339 return rep->get_factory_defaults ();
3344 return rep->get_factory_defaults_list ();
3349 return rep->has_readonly_property (pname);
3356 return rep->value_as_string (prop);
3375 bool isa (
const std::string& go_name)
const {
return rep->isa (go_name); }
3381 return rep->get_properties ();
3386 rep->update_axis_limits (axis_type);
3392 rep->update_axis_limits (axis_type, h);
3397 std::string
type (
void)
const {
return rep->type (); }
3399 operator bool (
void)
const {
return rep->valid_object (); }
3407 {
return get_properties ().get_alim (); }
3410 {
return get_properties ().get_clim (); }
3413 {
return get_properties ().get_xlim (); }
3416 {
return get_properties ().get_ylim (); }
3419 {
return get_properties ().get_zlim (); }
3422 {
return get_properties ().is_aliminclude (); }
3425 {
return get_properties ().is_climinclude (); }
3428 {
return get_properties ().is_xliminclude (); }
3431 {
return get_properties ().is_yliminclude (); }
3434 {
return get_properties ().is_zliminclude (); }
3437 {
return get_properties ().is_handle_visible (); }
3443 { rep->add_property_listener (nm, v, mode); }
3447 { rep->delete_property_listener (nm, v, mode); }
3453 void update (
int id) { rep->update (*
this,
id); }
3456 { rep->reset_default_properties (); }
3557 ID_CALLBACKOBJECT = 1000,
3558 ID_COMMANDWINDOWSIZE = 1001,
3559 ID_CURRENTFIGURE = 1002,
3561 ID_DIARYFILE = 1004,
3563 ID_ERRORMESSAGE = 1006,
3564 ID_FIXEDWIDTHFONTNAME = 1007,
3566 ID_FORMATSPACING = 1009,
3568 ID_MONITORPOSITIONS = 1011,
3569 ID_POINTERLOCATION = 1012,
3570 ID_POINTERWINDOW = 1013,
3571 ID_RECURSIONLIMIT = 1014,
3572 ID_SCREENDEPTH = 1015,
3573 ID_SCREENPIXELSPERINCH = 1016,
3574 ID_SCREENSIZE = 1017,
3575 ID_SHOWHIDDENHANDLES = 1018,
3585 bool is_diary (
void)
const;
3586 std::string get_diary (
void)
const;
3588 std::string get_diaryfile (
void)
const;
3590 bool is_echo (
void)
const;
3591 std::string get_echo (
void)
const;
3593 std::string get_errormessage (
void)
const;
3597 bool format_is (
const std::string& v)
const;
3598 std::string get_format (
void)
const;
3600 bool formatspacing_is (
const std::string& v)
const;
3601 std::string get_formatspacing (
void)
const;
3611 double get_recursionlimit (
void)
const;
3622 bool units_is (
const std::string& v)
const {
return units.
is (v); }
3632 if (commandwindowsize.
set (val,
true))
3651 if (errormessage.
set (val,
true))
3662 if (fixedwidthfontname.
set (val,
true))
3677 if (language.
set (val,
true))
3688 if (monitorpositions.
set (val,
true))
3699 if (pointerlocation.
set (val,
true))
3710 if (pointerwindow.
set (val,
true))
3723 if (screendepth.
set (val,
true))
3734 if (screenpixelsperinch.
set (val,
true))
3745 if (screensize.
set (val,
true))
3756 if (showhiddenhandles.
set (val,
true))
3767 if (units.
set (val,
true))
3775 void update_units (
void);
3807 if (name.
compare (
"default", 7))
3811 default_properties.set (name.substr (7), value);
3813 xproperties.
set (name, value);
3820 if (name.compare (
"default", 7))
3821 return get_default (name.substr (7));
3822 else if (name.compare (
"factory", 7))
3823 return get_factory_default (name.substr (7));
3825 retval = xproperties.
get (name);
3832 octave_value retval = default_properties.lookup (name);
3837 retval = factory_properties.lookup (name);
3840 error (
"get: invalid default property '%s'", name.c_str ());
3848 octave_value retval = factory_properties.lookup (name);
3851 error (
"get: invalid factory default property '%s'", name.c_str ());
3858 return default_properties.as_struct (
"default");
3863 return default_properties;
3868 return factory_properties.as_struct (
"factory");
3873 return factory_properties;
3882 void reset_default_properties (
void);
3910 integerhandle = val;
3937 error (
"set___graphics_toolkit__: invalid graphics toolkit");
3941 if (nm != get___graphics_toolkit__ ())
3949 error (
"set___graphics_toolkit__ must be a string");
3956 bool do_notify_toolkit =
true);
3959 bool do_notify_toolkit =
true);
3964 void set_boundingbox (
const Matrix& bb,
bool internal =
false,
3965 bool do_notify_toolkit =
true);
3967 Matrix map_from_boundingbox (
double x,
double y)
const;
3969 Matrix map_to_boundingbox (
double x,
double y)
const;
3973 void update_paperunits (
const caseless_str& old_paperunits);
3975 std::string get_title (
void)
const;
4093 ID_BUTTONDOWNFCN = 2001,
4094 ID_CLOSEREQUESTFCN = 2002,
4097 ID_CURRENTAXES = 2005,
4098 ID_CURRENTCHARACTER = 2006,
4099 ID_CURRENTOBJECT = 2007,
4100 ID_CURRENTPOINT = 2008,
4101 ID_DOCKCONTROLS = 2009,
4102 ID_DOUBLEBUFFER = 2010,
4104 ID_INTEGERHANDLE = 2012,
4105 ID_INVERTHARDCOPY = 2013,
4106 ID_KEYPRESSFCN = 2014,
4107 ID_KEYRELEASEFCN = 2015,
4109 ID_MINCOLORMAP = 2017,
4112 ID_NUMBERTITLE = 2020,
4113 ID_OUTERPOSITION = 2021,
4114 ID_PAPERORIENTATION = 2022,
4115 ID_PAPERPOSITION = 2023,
4116 ID_PAPERPOSITIONMODE = 2024,
4117 ID_PAPERSIZE = 2025,
4118 ID_PAPERTYPE = 2026,
4119 ID_PAPERUNITS = 2027,
4121 ID_POINTERSHAPECDATA = 2029,
4122 ID_POINTERSHAPEHOTSPOT = 2030,
4125 ID_RENDERERMODE = 2033,
4127 ID_RESIZEFCN = 2035,
4128 ID_SELECTIONTYPE = 2036,
4131 ID_WINDOWBUTTONDOWNFCN = 2039,
4132 ID_WINDOWBUTTONMOTIONFCN = 2040,
4133 ID_WINDOWBUTTONUPFCN = 2041,
4134 ID_WINDOWKEYPRESSFCN = 2042,
4135 ID_WINDOWKEYRELEASEFCN = 2043,
4136 ID_WINDOWSCROLLWHEELFCN = 2044,
4137 ID_WINDOWSTYLE = 2045,
4139 ID_WVISUALMODE = 2047,
4142 ID_XVISUALMODE = 2050,
4143 ID___MOUSE_MODE__ = 2051,
4144 ID___PAN_MODE__ = 2052,
4145 ID___ROTATE_MODE__ = 2053,
4146 ID___ZOOM_MODE__ = 2054,
4147 ID___ENHANCED__ = 2055,
4148 ID___GRAPHICS_TOOLKIT__ = 2056,
4149 ID___GUIDATA__ = 2057,
4150 ID___PLOT_STREAM__ = 2058
4162 bool color_is (
const std::string& v)
const {
return color.
is (v); }
4254 bool units_is (
const std::string& v)
const {
return units.
is (v); }
4313 if (alphamap.
set (val,
true))
4324 if (buttondownfcn.
set (val,
true))
4335 if (closerequestfcn.
set (val,
true))
4346 if (color.
set (val,
true))
4357 if (colormap.
set (val,
true))
4370 if (currentcharacter.
set (val,
true))
4381 if (currentobject.
set (val,
true))
4392 if (currentpoint.
set (val,
true))
4403 if (dockcontrols.
set (val,
true))
4414 if (doublebuffer.
set (val,
true))
4425 if (filename.
set (val,
true))
4438 if (inverthardcopy.
set (val,
true))
4449 if (keypressfcn.
set (val,
true))
4460 if (keyreleasefcn.
set (val,
true))
4471 if (menubar.
set (val,
true))
4482 if (mincolormap.
set (val,
true))
4493 if (name.
set (val,
true))
4504 if (nextplot.
set (val,
true))
4515 if (numbertitle.
set (val,
true))
4526 if (paperorientation.
set (val,
true))
4528 update_paperorientation ();
4534 void update_paperorientation (
void);
4540 if (paperposition.
set (val,
false))
4542 set_paperpositionmode (
"manual");
4547 set_paperpositionmode (
"manual");
4555 if (paperpositionmode.
set (val,
true))
4557 update_paperpositionmode ();
4567 if (papersize.
set (val,
true))
4569 update_papersize ();
4575 void update_papersize (
void);
4579 void update_papertype (
void);
4587 if (pointer.
set (val,
true))
4598 if (pointershapecdata.
set (val,
true))
4609 if (pointershapehotspot.
set (val,
true))
4620 if (renderer.
set (val,
true))
4631 if (renderermode.
set (val,
true))
4642 if (resize.
set (val,
true))
4653 if (resizefcn.
set (val,
true))
4664 if (selectiontype.
set (val,
true))
4675 if (toolbar.
set (val,
true))
4688 if (windowbuttondownfcn.
set (val,
true))
4699 if (windowbuttonmotionfcn.
set (val,
true))
4710 if (windowbuttonupfcn.
set (val,
true))
4721 if (windowkeypressfcn.
set (val,
true))
4732 if (windowkeyreleasefcn.
set (val,
true))
4743 if (windowscrollwheelfcn.
set (val,
true))
4754 if (windowstyle.
set (val,
true))
4765 if (wvisual.
set (val,
true))
4776 if (wvisualmode.
set (val,
true))
4787 if (xdisplay.
set (val,
true))
4798 if (xvisual.
set (val,
true))
4809 if (xvisualmode.
set (val,
true))
4822 if (__pan_mode__.
set (val,
true))
4833 if (__rotate_mode__.
set (val,
true))
4844 if (__zoom_mode__.
set (val,
true))
4855 if (__enhanced__.
set (val,
true))
4866 if (__guidata__.
set (val,
true))
4877 if (__plot_stream__.
set (val,
true))
4899 Matrix get_auto_paperposition (
void);
4903 if (paperpositionmode.
is (
"auto"))
4904 paperposition.
set (get_auto_paperposition ());
4936 if (name.
compare (
"default", 7))
4940 default_properties.set (name.substr (7), value);
4942 xproperties.
set (name, value);
4949 if (name.compare (
"default", 7))
4950 retval = get_default (name.substr (7));
4952 retval = xproperties.
get (name);
4961 return default_properties.as_struct (
"default");
4966 return default_properties;
4975 void reset_default_properties (
void);
4995 :
xform (xform_eye ()), xform_inv (xform_eye ()),
4996 sx (
"linear"), sy (
"linear"), sz (
"linear"), zlim (1, 2, 0.0)
5004 :
xform (xm), xform_inv (xim), sx (x), sy (y), sz (z), zlim (zl) { }
5007 :
xform (g.
xform), xform_inv (g.xform_inv), sx (g.sx),
5008 sy (g.sy), sz (g.sz), zlim (g.zlim) { }
5026 static Matrix xform_eye (
void);
5029 bool use_scale =
true)
const;
5032 bool use_scale =
true)
const;
5035 {
return untransform (x, y, (zlim(0)+zlim(1))/2, use_scale); }
5043 bool has_z = (m.
columns () > 2);
5045 if (sx.is_linear () && sy.is_linear ()
5046 && (! has_z || sz.is_linear ()))
5053 for (
int i = 0; i < r; i++)
5055 retval(i,0) = sx.scale (m(i,0));
5056 retval(i,1) = sy.scale (m(i,1));
5058 retval(i,2) = sz.scale (m(i,2));
5095 Matrix get_extent (
bool with_text =
false,
5096 bool only_text_height=
false)
const;
5098 double get_fontsize_points (
double box_pix_height = 0)
const;
5102 if (units_is (
"normalized"))
5109 void update_camera (
void);
5110 void update_axes_layout (
void);
5111 void update_aspectratios (
void);
5114 update_aspectratios ();
5116 update_axes_layout ();
5119 void sync_positions (
void);
5122 void update_xlabel_position (
void);
5123 void update_ylabel_position (
void);
5124 void update_zlabel_position (
void);
5125 void update_title_position (
void);
5128 {
return graphics_xform (x_render, x_render_inv, sx, sy, sz, x_zlim); }
5176 {
return get_transform ().untransform (px, py, (x_zlim(0)+x_zlim(1))/2); }
5179 {
return get_transform ().transform (x, y, z); }
5181 void zoom_about_point (
const std::string& mode,
double x,
double y,
5182 double factor,
bool push_to_zoom_stack =
true);
5183 void zoom (
const std::string& mode,
double factor,
5184 bool push_to_zoom_stack =
true);
5185 void zoom (
const std::string& mode,
const Matrix& xl,
const Matrix& yl,
5186 bool push_to_zoom_stack =
true);
5188 void translate_view (
const std::string& mode,
5189 double x0,
double x1,
double y0,
double y1,
5190 bool push_to_zoom_stack =
true);
5192 void pan (
const std::string& mode,
double factor,
5193 bool push_to_zoom_stack =
true);
5195 void rotate3d (
double x0,
double x1,
double y0,
double y1,
5196 bool push_to_zoom_stack =
true);
5198 void rotate_view (
double delta_az,
double delta_el,
5199 bool push_to_zoom_stack =
true);
5202 void push_zoom_stack (
void);
5203 void clear_zoom_stack (
bool do_unzoom =
true);
5207 void update_fontunits (
const caseless_str& old_fontunits);
5218 double xPlane, xPlaneN, yPlane, yPlaneN, zPlane,
zPlaneN;
5219 double xpTick, xpTickN, ypTick, ypTickN, zpTick,
zpTickN;
5391 ID_ACTIVEPOSITIONPROPERTY = 3000,
5394 ID_AMBIENTLIGHTCOLOR = 3003,
5396 ID_CAMERAPOSITION = 3005,
5397 ID_CAMERAPOSITIONMODE = 3006,
5398 ID_CAMERATARGET = 3007,
5399 ID_CAMERATARGETMODE = 3008,
5400 ID_CAMERAUPVECTOR = 3009,
5401 ID_CAMERAUPVECTORMODE = 3010,
5402 ID_CAMERAVIEWANGLE = 3011,
5403 ID_CAMERAVIEWANGLEMODE = 3012,
5407 ID_COLORORDER = 3016,
5408 ID_CURRENTPOINT = 3017,
5409 ID_DATAASPECTRATIO = 3018,
5410 ID_DATAASPECTRATIOMODE = 3019,
5412 ID_FONTANGLE = 3021,
5415 ID_FONTUNITS = 3024,
5416 ID_FONTWEIGHT = 3025,
5417 ID_GRIDLINESTYLE = 3026,
5418 ID_INTERPRETER = 3027,
5420 ID_LINESTYLEORDER = 3029,
5421 ID_LINEWIDTH = 3030,
5422 ID_MINORGRIDLINESTYLE = 3031,
5423 ID_MOUSEWHEELZOOM = 3032,
5425 ID_OUTERPOSITION = 3034,
5426 ID_PLOTBOXASPECTRATIO = 3035,
5427 ID_PLOTBOXASPECTRATIOMODE = 3036,
5429 ID_PROJECTION = 3038,
5431 ID_TICKDIRMODE = 3040,
5432 ID_TICKLENGTH = 3041,
5433 ID_TIGHTINSET = 3042,
5437 ID_XAXISLOCATION = 3046,
5444 ID_XMINORGRID = 3053,
5445 ID_XMINORTICK = 3054,
5448 ID_XTICKLABEL = 3057,
5449 ID_XTICKLABELMODE = 3058,
5450 ID_XTICKMODE = 3059,
5451 ID_YAXISLOCATION = 3060,
5458 ID_YMINORGRID = 3067,
5459 ID_YMINORTICK = 3068,
5462 ID_YTICKLABEL = 3071,
5463 ID_YTICKLABELMODE = 3072,
5464 ID_YTICKMODE = 3073,
5471 ID_ZMINORGRID = 3080,
5472 ID_ZMINORTICK = 3081,
5475 ID_ZTICKLABEL = 3084,
5476 ID_ZTICKLABELMODE = 3085,
5477 ID_ZTICKMODE = 3086,
5478 ID___HOLD_ALL__ = 3087,
5479 ID_AUTOPOS_TAG = 3088,
5480 ID_LOOSEINSET = 3089,
5481 ID_X_VIEWTRANSFORM = 3090,
5482 ID_X_PROJECTIONTRANSFORM = 3091,
5483 ID_X_VIEWPORTTRANSFORM = 3092,
5484 ID_X_NORMRENDERTRANSFORM = 3093,
5485 ID_X_RENDERTRANSFORM = 3094,
5489 ID_FONTSIZE_POINTS = 3098
5534 bool color_is (
const std::string& v)
const {
return color.
is (v); }
5569 bool layer_is (
const std::string& v)
const {
return layer.
is (v); }
5608 bool units_is (
const std::string& v)
const {
return units.
is (v); }
5621 bool xdir_is (
const std::string& v)
const {
return xdir.
is (v); }
5661 bool ydir_is (
const std::string& v)
const {
return ydir.
is (v); }
5698 bool zdir_is (
const std::string& v)
const {
return zdir.
is (v); }
5759 if (activepositionproperty.
set (val,
true))
5770 if (alim.
set (val,
false))
5772 set_alimmode (
"manual");
5777 set_alimmode (
"manual");
5785 if (alimmode.
set (val,
true))
5796 if (ambientlightcolor.
set (val,
true))
5807 if (box.
set (val,
true))
5818 if (cameraposition.
set (val,
false))
5820 set_camerapositionmode (
"manual");
5825 set_camerapositionmode (
"manual");
5833 if (camerapositionmode.
set (val,
true))
5844 if (cameratarget.
set (val,
false))
5846 set_cameratargetmode (
"manual");
5851 set_cameratargetmode (
"manual");
5859 if (cameratargetmode.
set (val,
true))
5870 if (cameraupvector.
set (val,
false))
5872 set_cameraupvectormode (
"manual");
5877 set_cameraupvectormode (
"manual");
5885 if (cameraupvectormode.
set (val,
true))
5896 if (cameraviewangle.
set (val,
false))
5898 set_cameraviewanglemode (
"manual");
5903 set_cameraviewanglemode (
"manual");
5911 if (cameraviewanglemode.
set (val,
true))
5922 if (clim.
set (val,
false))
5924 set_climmode (
"manual");
5929 set_climmode (
"manual");
5937 if (climmode.
set (val,
false))
5950 if (color.
set (val,
true))
5961 if (colororder.
set (val,
true))
5972 if (currentpoint.
set (val,
true))
5983 if (dataaspectratio.
set (val,
false))
5985 set_dataaspectratiomode (
"manual");
5986 update_dataaspectratio ();
5991 set_dataaspectratiomode (
"manual");
5999 if (dataaspectratiomode.
set (val,
true))
6001 update_dataaspectratiomode ();
6011 if (drawmode.
set (val,
true))
6022 if (fontangle.
set (val,
true))
6024 update_fontangle ();
6034 if (fontname.
set (val,
true))
6046 if (fontsize.
set (val,
true))
6056 void update_fontunits (
void);
6062 if (fontweight.
set (val,
true))
6064 update_fontweight ();
6074 if (gridlinestyle.
set (val,
true))
6085 if (interpreter.
set (val,
true))
6096 if (layer.
set (val,
true))
6110 if (linewidth.
set (val,
true))
6121 if (minorgridlinestyle.
set (val,
true))
6132 if (mousewheelzoom.
set (val,
true))
6143 if (nextplot.
set (val,
true))
6154 if (outerposition.
set (val,
true))
6156 update_outerposition ();
6166 if (plotboxaspectratio.
set (val,
false))
6168 set_plotboxaspectratiomode (
"manual");
6169 update_plotboxaspectratio ();
6174 set_plotboxaspectratiomode (
"manual");
6182 if (plotboxaspectratiomode.
set (val,
true))
6184 update_plotboxaspectratiomode ();
6194 if (position.
set (val,
true))
6206 if (projection.
set (val,
true))
6217 if (tickdir.
set (val,
false))
6219 set_tickdirmode (
"manual");
6225 set_tickdirmode (
"manual");
6233 if (tickdirmode.
set (val,
true))
6235 update_tickdirmode ();
6245 if (ticklength.
set (val,
true))
6247 update_ticklength ();
6257 if (tightinset.
set (val,
true))
6268 void update_units (
void);
6274 if (view.
set (val,
true))
6286 if (xaxislocation.
set (val,
true))
6288 update_xaxislocation ();
6298 if (xcolor.
set (val,
true))
6309 if (xdir.
set (val,
true))
6321 if (xgrid.
set (val,
true))
6334 if (xlim.
set (val,
false))
6336 set_xlimmode (
"manual");
6342 set_xlimmode (
"manual");
6350 if (xlimmode.
set (val,
false))
6363 if (xminorgrid.
set (val,
true))
6374 if (xminortick.
set (val,
true))
6385 if (xscale.
set (val,
false))
6399 if (xtick.
set (val,
false))
6401 set_xtickmode (
"manual");
6407 set_xtickmode (
"manual");
6417 if (xticklabelmode.
set (val,
true))
6419 update_xticklabelmode ();
6429 if (xtickmode.
set (val,
true))
6431 update_xtickmode ();
6441 if (yaxislocation.
set (val,
true))
6443 update_yaxislocation ();
6453 if (ycolor.
set (val,
true))
6464 if (ydir.
set (val,
true))
6476 if (ygrid.
set (val,
true))
6489 if (ylim.
set (val,
false))
6491 set_ylimmode (
"manual");
6497 set_ylimmode (
"manual");
6505 if (ylimmode.
set (val,
false))
6518 if (yminorgrid.
set (val,
true))
6529 if (yminortick.
set (val,
true))
6540 if (yscale.
set (val,
false))
6554 if (ytick.
set (val,
false))
6556 set_ytickmode (
"manual");
6562 set_ytickmode (
"manual");
6572 if (yticklabelmode.
set (val,
true))
6574 update_yticklabelmode ();
6584 if (ytickmode.
set (val,
true))
6586 update_ytickmode ();
6596 if (zcolor.
set (val,
true))
6607 if (zdir.
set (val,
true))
6619 if (zgrid.
set (val,
true))
6632 if (zlim.
set (val,
false))
6634 set_zlimmode (
"manual");
6640 set_zlimmode (
"manual");
6648 if (zlimmode.
set (val,
false))
6661 if (zminorgrid.
set (val,
true))
6672 if (zminortick.
set (val,
true))
6683 if (zscale.
set (val,
false))
6697 if (ztick.
set (val,
false))
6699 set_ztickmode (
"manual");
6705 set_ztickmode (
"manual");
6715 if (zticklabelmode.
set (val,
true))
6717 update_zticklabelmode ();
6727 if (ztickmode.
set (val,
true))
6729 update_ztickmode ();
6739 if (__hold_all__.
set (val,
true))
6750 if (autopos_tag.
set (val,
true))
6761 if (looseinset.
set (val,
true))
6763 update_looseinset ();
6773 if (x_viewtransform.
set (val,
true))
6784 if (x_projectiontransform.
set (val,
true))
6795 if (x_viewporttransform.
set (val,
true))
6806 if (x_normrendertransform.
set (val,
true))
6817 if (x_rendertransform.
set (val,
true))
6828 if (xmtick.
set (val,
true))
6839 if (ymtick.
set (val,
true))
6850 if (zmtick.
set (val,
true))
6861 if (fontsize_points.
set (val,
true))
6877 std::string retval =
scale;
6879 if (scale ==
"log" && lims.
numel () > 1 && lims(0) < 0 && lims(1) < 0)
6910 update_axes_layout ();
6911 update_ylabel_position ();
6916 update_axes_layout ();
6917 update_xlabel_position ();
6924 void update_ticklength (
void);
6930 if (xticklabelmode.
is (
"auto"))
6931 calc_ticklabels (xtick, xticklabel, xscale.
is (
"log"));
6936 if (yticklabelmode.
is (
"auto"))
6937 calc_ticklabels (ytick, yticklabel, yscale.
is (
"log"));
6942 if (zticklabelmode.
is (
"auto"))
6943 calc_ticklabels (ztick, zticklabel, zscale.
is (
"log"));
6949 if (xtickmode.
is (
"auto"))
6951 calc_ticks_and_lims (xlim, xtick, xmtick, xlimmode.
is (
"auto"),
6958 if (ytickmode.
is (
"auto"))
6960 calc_ticks_and_lims (ylim, ytick, ymtick, ylimmode.
is (
"auto"),
6967 if (ztickmode.
is (
"auto"))
6969 calc_ticks_and_lims (zlim, ztick, zmtick, zlimmode.
is (
"auto"),
6977 if (xticklabelmode.
is (
"auto"))
6978 calc_ticklabels (xtick, xticklabel, xscale.
is (
"log"));
6982 if (yticklabelmode.
is (
"auto"))
6983 calc_ticklabels (ytick, yticklabel, yscale.
is (
"log"));
6987 if (zticklabelmode.
is (
"auto"))
6988 calc_ticklabels (ztick, zticklabel, zscale.
is (
"log"));
6991 void update_font (
void);
7015 set_activepositionproperty (
"outerposition");
7017 set_units (
"normalized");
7022 outerbox(2) = outerbox(2) + outerbox(0);
7023 outerbox(3) = outerbox(3) + outerbox(1);
7024 innerbox(0) = outerbox(0) +
std::max (linset(0), tinset(0));
7025 innerbox(1) = outerbox(1) +
std::max (linset(1), tinset(1));
7026 innerbox(2) = outerbox(2) -
std::max (linset(2), tinset(2));
7027 innerbox(3) = outerbox(3) -
std::max (linset(3), tinset(3));
7028 innerbox(2) = innerbox(2) - innerbox(0);
7029 innerbox(3) = innerbox(3) - innerbox(1);
7030 position = innerbox;
7031 set_units (old_units);
7032 update_transform ();
7037 set_activepositionproperty (
"position");
7039 set_units (
"normalized");
7044 innerbox(2) = innerbox(2) + innerbox(0);
7045 innerbox(3) = innerbox(3) + innerbox(1);
7046 outerbox(0) = innerbox(0) -
std::max (linset(0), tinset(0));
7047 outerbox(1) = innerbox(1) -
std::max (linset(1), tinset(1));
7048 outerbox(2) = innerbox(2) +
std::max (linset(2), tinset(2));
7049 outerbox(3) = innerbox(3) +
std::max (linset(3), tinset(3));
7050 outerbox(2) = outerbox(2) - outerbox(0);
7051 outerbox(3) = outerbox(3) - outerbox(1);
7052 outerposition = outerbox;
7053 set_units (old_units);
7054 update_transform ();
7060 set_units (
"normalized");
7062 innerbox(2) = innerbox(2) + innerbox(0);
7063 innerbox(3) = innerbox(3) + innerbox(1);
7065 outerbox(2) = outerbox(2) + outerbox(0);
7066 outerbox(3) = outerbox(3) + outerbox(1);
7069 if (activepositionproperty.
is (
"position"))
7071 outerbox(0) = innerbox(0) -
std::max (linset(0), tinset(0));
7072 outerbox(1) = innerbox(1) -
std::max (linset(1), tinset(1));
7073 outerbox(2) = innerbox(2) +
std::max (linset(2), tinset(2));
7074 outerbox(3) = innerbox(3) +
std::max (linset(3), tinset(3));
7075 outerbox(2) = outerbox(2) - outerbox(0);
7076 outerbox(3) = outerbox(3) - outerbox(1);
7077 outerposition = outerbox;
7081 innerbox(0) = outerbox(0) +
std::max (linset(0), tinset(0));
7082 innerbox(1) = outerbox(1) +
std::max (linset(1), tinset(1));
7083 innerbox(2) = outerbox(2) -
std::max (linset(2), tinset(2));
7084 innerbox(3) = outerbox(3) -
std::max (linset(3), tinset(3));
7085 innerbox(2) = innerbox(2) - innerbox(0);
7086 innerbox(3) = innerbox(3) - innerbox(1);
7087 position = innerbox;
7089 set_units (old_units);
7090 update_transform ();
7093 double calc_tick_sep (
double minval,
double maxval);
7096 bool limmode_is_auto,
bool is_logscale);
7115 else if (l(0) == l(1))
7127 double min_pos,
double max_neg,
7132 if (xtickmode.
is (
"auto"))
7133 calc_ticks_and_lims (xlim, xtick, xmtick, xlimmode.
is (
"auto"),
7135 if (xticklabelmode.
is (
"auto"))
7136 calc_ticklabels (xtick, xticklabel, xscale.
is (
"log"));
7142 update_axes_layout ();
7147 if (ytickmode.
is (
"auto"))
7148 calc_ticks_and_lims (ylim, ytick, ymtick, ylimmode.
is (
"auto"),
7150 if (yticklabelmode.
is (
"auto"))
7151 calc_ticklabels (ytick, yticklabel, yscale.
is (
"log"));
7157 update_axes_layout ();
7162 if (ztickmode.
is (
"auto"))
7163 calc_ticks_and_lims (zlim, ztick, zmtick, zlimmode.
is (
"auto"),
7165 if (zticklabelmode.
is (
"auto"))
7166 calc_ticklabels (ztick, zticklabel, zscale.
is (
"log"));
7172 update_axes_layout ();
7205 if (name.
compare (
"default", 7))
7209 default_properties.set (name.substr (7), value);
7211 xproperties.
set (name, value);
7224 if (name.compare (
"default", 7))
7225 retval = get_default (name.substr (7));
7227 retval = xproperties.
get (name);
7236 return default_properties.as_struct (
"default");
7241 return default_properties;
7255 void reset_default_properties (
void);
7359 ID_DISPLAYNAME = 4001,
7360 ID_ERASEMODE = 4002,
7361 ID_INTERPRETER = 4003,
7362 ID_LINESTYLE = 4004,
7363 ID_LINEWIDTH = 4005,
7365 ID_MARKEREDGECOLOR = 4007,
7366 ID_MARKERFACECOLOR = 4008,
7367 ID_MARKERSIZE = 4009,
7369 ID_XDATASOURCE = 4011,
7371 ID_YDATASOURCE = 4013,
7373 ID_ZDATASOURCE = 4015,
7377 ID_XLIMINCLUDE = 4019,
7378 ID_YLIMINCLUDE = 4020,
7379 ID_ZLIMINCLUDE = 4021
7383 bool color_is (
const std::string& v)
const {
return color.
is (v); }
7447 if (color.
set (val,
true))
7458 if (displayname.
set (val,
true))
7469 if (erasemode.
set (val,
true))
7480 if (interpreter.
set (val,
true))
7491 if (linestyle.
set (val,
true))
7502 if (linewidth.
set (val,
true))
7513 if (marker.
set (val,
true))
7524 if (markeredgecolor.
set (val,
true))
7535 if (markerfacecolor.
set (val,
true))
7546 if (markersize.
set (val,
true))
7557 if (xdata.
set (val,
true))
7569 if (xdatasource.
set (val,
true))
7580 if (ydata.
set (val,
true))
7592 if (ydatasource.
set (val,
true))
7603 if (zdata.
set (val,
true))
7615 if (zdatasource.
set (val,
true))
7626 if (xlim.
set (val,
false))
7639 if (ylim.
set (val,
false))
7652 if (zlim.
set (val,
false))
7665 if (xliminclude.
set (val,
false))
7678 if (yliminclude.
set (val,
false))
7691 if (zliminclude.
set (val,
false))
7702 Matrix compute_xlim (
void)
const;
7703 Matrix compute_ylim (
void)
const;
7712 set_zliminclude (get_zdata ().numel () > 0);
7749 double get_fontsize_points (
double box_pix_height = 0)
const;
7757 if (new_val.
numel () == 2)
7761 new_val = new_val.
resize (dv,
true);
7764 if (position.
set (new_val,
false))
7766 set_positionmode (
"manual");
7772 set_positionmode (
"manual");
7865 ID_BACKGROUNDCOLOR = 5000,
7867 ID_DISPLAYNAME = 5002,
7868 ID_EDGECOLOR = 5003,
7870 ID_ERASEMODE = 5005,
7872 ID_FONTANGLE = 5007,
7875 ID_FONTUNITS = 5010,
7876 ID_FONTWEIGHT = 5011,
7877 ID_HORIZONTALALIGNMENT = 5012,
7878 ID_INTERPRETER = 5013,
7879 ID_LINESTYLE = 5014,
7880 ID_LINEWIDTH = 5015,
7886 ID_VERTICALALIGNMENT = 5021,
7890 ID_XLIMINCLUDE = 5025,
7891 ID_YLIMINCLUDE = 5026,
7892 ID_ZLIMINCLUDE = 5027,
7893 ID_POSITIONMODE = 5028,
7894 ID_ROTATIONMODE = 5029,
7895 ID_HORIZONTALALIGNMENTMODE = 5030,
7896 ID_VERTICALALIGNMENTMODE = 5031,
7897 ID_AUTOPOS_TAG = 5032,
7898 ID_FONTSIZE_POINTS = 5033
7907 bool color_is (
const std::string& v)
const {
return color.
is (v); }
7958 bool units_is (
const std::string& v)
const {
return units.
is (v); }
7999 if (backgroundcolor.
set (val,
true))
8010 if (color.
set (val,
true))
8022 if (displayname.
set (val,
true))
8033 if (edgecolor.
set (val,
true))
8044 if (editing.
set (val,
true))
8055 if (erasemode.
set (val,
true))
8066 if (extent.
set (val,
true))
8077 if (fontangle.
set (val,
true))
8079 update_fontangle ();
8089 if (fontname.
set (val,
true))
8101 if (fontsize.
set (val,
true))
8111 void update_fontunits (
void);
8117 if (fontweight.
set (val,
true))
8119 update_fontweight ();
8129 if (horizontalalignment.
set (val,
false))
8131 set_horizontalalignmentmode (
"manual");
8132 update_horizontalalignment ();
8137 set_horizontalalignmentmode (
"manual");
8145 if (interpreter.
set (val,
true))
8147 update_interpreter ();
8157 if (linestyle.
set (val,
true))
8168 if (linewidth.
set (val,
true))
8179 if (margin.
set (val,
true))
8190 if (rotation.
set (val,
false))
8192 set_rotationmode (
"manual");
8198 set_rotationmode (
"manual");
8206 if (
string.set (val,
true))
8218 if (units.
set (val,
true))
8230 if (verticalalignment.
set (val,
false))
8232 set_verticalalignmentmode (
"manual");
8233 update_verticalalignment ();
8238 set_verticalalignmentmode (
"manual");
8246 if (xlim.
set (val,
false))
8259 if (ylim.
set (val,
false))
8272 if (zlim.
set (val,
false))
8285 if (xliminclude.
set (val,
false))
8298 if (yliminclude.
set (val,
false))
8311 if (zliminclude.
set (val,
false))
8324 if (positionmode.
set (val,
true))
8326 update_positionmode ();
8336 if (rotationmode.
set (val,
true))
8338 update_rotationmode ();
8348 if (horizontalalignmentmode.
set (val,
true))
8350 update_horizontalalignmentmode ();
8360 if (verticalalignmentmode.
set (val,
true))
8362 update_verticalalignmentmode ();
8372 if (autopos_tag.
set (val,
true))
8383 if (fontsize_points.
set (val,
true))
8391 Matrix get_data_position (
void)
const;
8392 Matrix get_extent_matrix (
void)
const;
8403 cached_units = get_units ();
8410 Matrix pos = get_data_position ();
8413 lim =
Matrix (1, 3, pos(0));
8414 lim(2) = (lim(2) <= 0 ?
octave_Inf : lim(2));
8417 lim =
Matrix (1, 3, pos(1));
8418 lim(2) = (lim(2) <= 0 ?
octave_Inf : lim(2));
8421 if (pos.
numel () == 3)
8423 lim =
Matrix (1, 3, pos(2));
8424 lim(2) = (lim(2) <= 0 ?
octave_Inf : lim(2));
8425 set_zliminclude (
"on");
8429 set_zliminclude (
"off");
8432 void update_text_extent (
void);
8434 void request_autopos (
void);
8440 void update_font (
void);
8452 void update_units (
void);
8453 void update_fontunits (
const caseless_str& old_fontunits);
8496 {
return (aliminclude.is_on () && alphadatamapping.is (
"scaled")); }
8498 {
return aliminclude.current_value (); }
8501 {
return (climinclude.is_on () && cdatamapping.is (
"scaled")); }
8503 {
return climinclude.current_value (); }
8583 ID_ALPHADATA = 6000,
8584 ID_ALPHADATAMAPPING = 6001,
8586 ID_CDATAMAPPING = 6003,
8587 ID_DISPLAYNAME = 6004,
8588 ID_ERASEMODE = 6005,
8595 ID_ALIMINCLUDE = 6012,
8596 ID_CLIMINCLUDE = 6013,
8597 ID_XLIMINCLUDE = 6014,
8598 ID_YLIMINCLUDE = 6015,
8599 ID_XDATAMODE = 6016,
8647 if (alphadata.
set (val,
true))
8649 update_alphadata ();
8659 if (alphadatamapping.
set (val,
false))
8672 if (cdata.
set (val,
true))
8684 if (cdatamapping.
set (val,
false))
8697 if (displayname.
set (val,
true))
8708 if (erasemode.
set (val,
true))
8719 if (xdata.
set (val,
false))
8721 set_xdatamode (
"manual");
8727 set_xdatamode (
"manual");
8735 if (ydata.
set (val,
false))
8737 set_ydatamode (
"manual");
8743 set_ydatamode (
"manual");
8751 if (alim.
set (val,
false))
8764 if (clim.
set (val,
false))
8777 if (xlim.
set (val,
false))
8790 if (ylim.
set (val,
false))
8803 if (aliminclude.
set (val,
false))
8816 if (climinclude.
set (val,
false))
8829 if (xliminclude.
set (val,
false))
8842 if (yliminclude.
set (val,
false))
8855 if (xdatamode.
set (val,
true))
8866 if (ydatamode.
set (val,
true))
8896 if (alphadatamapping_is (
"scaled"))
8904 if (cdatamapping_is (
"scaled"))
8909 if (xdatamode.
is (
"auto"))
8912 if (ydatamode.
is (
"auto"))
8919 set_xdatamode (
"auto");
8921 if (xdatamode.
is (
"auto"))
8923 set_xdata (get_auto_xdata ());
8924 set_xdatamode (
"auto");
8928 float dp = pixel_xsize ();
8930 limits(0) = limits(0) - dp;
8931 limits(1) = limits(1) + dp;
8938 set_ydatamode (
"auto");
8940 if (ydatamode.
is (
"auto"))
8942 set_ydata (get_auto_ydata ());
8943 set_ydatamode (
"auto");
8947 float dp = pixel_ysize ();
8949 limits(0) = limits(0) - dp;
8950 limits(1) = limits(1) + dp;
8983 if (l > 0 && limits(0) != limits(1))
8984 dp = (limits(1) - limits(0))/(2*l);
8987 if (limits(1) == limits(2))
8990 dp = (limits(1) - limits(0))/2;
8998 return pixel_size ((get_cdata ().dims ())(1), xdata.
get_limits ());
9003 return pixel_size ((get_cdata ().dims ())(0), ydata.
get_limits ());
9049 return ! msg.empty ();
9053 {
return (aliminclude.is_on () && alphadatamapping.is (
"scaled")); }
9055 {
return aliminclude.current_value (); }
9058 {
return (climinclude.is_on () && cdatamapping.is (
"scaled")); }
9060 {
return climinclude.current_value (); }
9161 ID_ALPHADATAMAPPING = 7000,
9162 ID_AMBIENTSTRENGTH = 7001,
9163 ID_BACKFACELIGHTING = 7002,
9165 ID_CDATAMAPPING = 7004,
9166 ID_DIFFUSESTRENGTH = 7005,
9167 ID_DISPLAYNAME = 7006,
9168 ID_EDGEALPHA = 7007,
9169 ID_EDGECOLOR = 7008,
9170 ID_EDGELIGHTING = 7009,
9171 ID_ERASEMODE = 7010,
9172 ID_FACEALPHA = 7011,
9173 ID_FACECOLOR = 7012,
9174 ID_FACELIGHTING = 7013,
9176 ID_FACEVERTEXALPHADATA = 7015,
9177 ID_FACEVERTEXCDATA = 7016,
9178 ID_INTERPRETER = 7017,
9179 ID_LINESTYLE = 7018,
9180 ID_LINEWIDTH = 7019,
9182 ID_MARKEREDGECOLOR = 7021,
9183 ID_MARKERFACECOLOR = 7022,
9184 ID_MARKERSIZE = 7023,
9185 ID_NORMALMODE = 7024,
9186 ID_SPECULARCOLORREFLECTANCE = 7025,
9187 ID_SPECULAREXPONENT = 7026,
9188 ID_SPECULARSTRENGTH = 7027,
9189 ID_VERTEXNORMALS = 7028,
9199 ID_ALIMINCLUDE = 7038,
9200 ID_CLIMINCLUDE = 7039,
9201 ID_XLIMINCLUDE = 7040,
9202 ID_YLIMINCLUDE = 7041,
9203 ID_ZLIMINCLUDE = 7042
9324 if (alphadatamapping.
set (val,
false))
9337 if (ambientstrength.
set (val,
true))
9348 if (backfacelighting.
set (val,
true))
9359 if (cdata.
set (val,
true))
9371 if (cdatamapping.
set (val,
false))
9384 if (diffusestrength.
set (val,
true))
9395 if (displayname.
set (val,
true))
9406 if (edgealpha.
set (val,
true))
9417 if (edgecolor.
set (val,
true))
9428 if (edgelighting.
set (val,
true))
9439 if (erasemode.
set (val,
true))
9450 if (facealpha.
set (val,
true))
9461 if (facecolor.
set (val,
true))
9472 if (facelighting.
set (val,
true))
9483 if (faces.
set (val,
true))
9495 if (facevertexalphadata.
set (val,
true))
9506 if (facevertexcdata.
set (val,
true))
9508 update_facevertexcdata ();
9518 if (interpreter.
set (val,
true))
9529 if (linestyle.
set (val,
true))
9540 if (linewidth.
set (val,
true))
9551 if (marker.
set (val,
true))
9562 if (markeredgecolor.
set (val,
true))
9573 if (markerfacecolor.
set (val,
true))
9584 if (markersize.
set (val,
true))
9595 if (normalmode.
set (val,
true))
9606 if (specularcolorreflectance.
set (val,
true))
9617 if (specularexponent.
set (val,
true))
9628 if (specularstrength.
set (val,
true))
9639 if (vertexnormals.
set (val,
true))
9650 if (vertices.
set (val,
true))
9662 if (xdata.
set (val,
true))
9674 if (ydata.
set (val,
true))
9686 if (zdata.
set (val,
true))
9698 if (alim.
set (val,
false))
9711 if (clim.
set (val,
false))
9724 if (xlim.
set (val,
false))
9737 if (ylim.
set (val,
false))
9750 if (zlim.
set (val,
false))
9763 if (aliminclude.
set (val,
false))
9776 if (climinclude.
set (val,
false))
9789 if (xliminclude.
set (val,
false))
9802 if (yliminclude.
set (val,
false))
9815 if (zliminclude.
set (val,
false))
9851 void update_fvc (
void);
9855 if (get_xdata ().is_empty ())
9873 if (get_ydata ().is_empty ())
9896 if (cdatamapping_is (
"scaled"))
9903 void update_data (
void);
9942 {
return (aliminclude.is_on () && alphadatamapping.is (
"scaled")); }
9944 {
return aliminclude.current_value (); }
9947 {
return (climinclude.is_on () && cdatamapping.is (
"scaled")); }
9949 {
return climinclude.current_value (); }
10052 ID_ALPHADATA = 8000,
10053 ID_ALPHADATAMAPPING = 8001,
10054 ID_AMBIENTSTRENGTH = 8002,
10055 ID_BACKFACELIGHTING = 8003,
10057 ID_CDATAMAPPING = 8005,
10058 ID_CDATASOURCE = 8006,
10059 ID_DIFFUSESTRENGTH = 8007,
10060 ID_DISPLAYNAME = 8008,
10061 ID_EDGEALPHA = 8009,
10062 ID_EDGECOLOR = 8010,
10063 ID_EDGELIGHTING = 8011,
10064 ID_ERASEMODE = 8012,
10065 ID_FACEALPHA = 8013,
10066 ID_FACECOLOR = 8014,
10067 ID_FACELIGHTING = 8015,
10068 ID_INTERPRETER = 8016,
10069 ID_LINESTYLE = 8017,
10070 ID_LINEWIDTH = 8018,
10072 ID_MARKEREDGECOLOR = 8020,
10073 ID_MARKERFACECOLOR = 8021,
10074 ID_MARKERSIZE = 8022,
10075 ID_MESHSTYLE = 8023,
10076 ID_NORMALMODE = 8024,
10077 ID_SPECULARCOLORREFLECTANCE = 8025,
10078 ID_SPECULAREXPONENT = 8026,
10079 ID_SPECULARSTRENGTH = 8027,
10080 ID_VERTEXNORMALS = 8028,
10082 ID_XDATASOURCE = 8030,
10084 ID_YDATASOURCE = 8032,
10086 ID_ZDATASOURCE = 8034,
10092 ID_ALIMINCLUDE = 8040,
10093 ID_CLIMINCLUDE = 8041,
10094 ID_XLIMINCLUDE = 8042,
10095 ID_YLIMINCLUDE = 8043,
10096 ID_ZLIMINCLUDE = 8044
10222 if (alphadata.
set (val,
true))
10224 update_alphadata ();
10234 if (alphadatamapping.
set (val,
false))
10247 if (ambientstrength.
set (val,
true))
10258 if (backfacelighting.
set (val,
true))
10269 if (cdata.
set (val,
true))
10281 if (cdatamapping.
set (val,
false))
10294 if (cdatasource.
set (val,
true))
10305 if (diffusestrength.
set (val,
true))
10316 if (displayname.
set (val,
true))
10327 if (edgealpha.
set (val,
true))
10338 if (edgecolor.
set (val,
true))
10349 if (edgelighting.
set (val,
true))
10360 if (erasemode.
set (val,
true))
10371 if (facealpha.
set (val,
true))
10382 if (facecolor.
set (val,
true))
10393 if (facelighting.
set (val,
true))
10404 if (interpreter.
set (val,
true))
10415 if (linestyle.
set (val,
true))
10426 if (linewidth.
set (val,
true))
10437 if (marker.
set (val,
true))
10448 if (markeredgecolor.
set (val,
true))
10459 if (markerfacecolor.
set (val,
true))
10470 if (markersize.
set (val,
true))
10481 if (meshstyle.
set (val,
true))
10492 if (normalmode.
set (val,
true))
10494 update_normalmode ();
10504 if (specularcolorreflectance.
set (val,
true))
10515 if (specularexponent.
set (val,
true))
10526 if (specularstrength.
set (val,
true))
10537 if (vertexnormals.
set (val,
true))
10539 update_vertexnormals ();
10549 if (xdata.
set (val,
true))
10561 if (xdatasource.
set (val,
true))
10572 if (ydata.
set (val,
true))
10584 if (ydatasource.
set (val,
true))
10595 if (zdata.
set (val,
true))
10607 if (zdatasource.
set (val,
true))
10618 if (alim.
set (val,
false))
10631 if (clim.
set (val,
false))
10644 if (xlim.
set (val,
false))
10657 if (ylim.
set (val,
false))
10670 if (zlim.
set (val,
false))
10683 if (aliminclude.
set (val,
false))
10696 if (climinclude.
set (val,
false))
10709 if (xliminclude.
set (val,
false))
10722 if (yliminclude.
set (val,
false))
10735 if (zliminclude.
set (val,
false))
10765 if (alphadatamapping_is (
"scaled"))
10773 if (cdatamapping_is (
"scaled"))
10797 void update_normals (
void);
10800 { update_normals (); }
10803 { set_normalmode (
"manual"); }
10920 ID_DISPLAYNAME = 9000,
10921 ID_ERASEMODE = 9001,
10927 ID_ALIMINCLUDE = 9007,
10928 ID_CLIMINCLUDE = 9008,
10929 ID_XLIMINCLUDE = 9009,
10930 ID_YLIMINCLUDE = 9010,
10931 ID_ZLIMINCLUDE = 9011
10969 if (displayname.
set (val,
true))
10980 if (erasemode.
set (val,
true))
10991 if (alim.
set (val,
true))
11002 if (clim.
set (val,
true))
11013 if (xlim.
set (val,
true))
11024 if (ylim.
set (val,
true))
11035 if (zlim.
set (val,
true))
11046 if (aliminclude.
set (val,
true))
11057 if (climinclude.
set (val,
true))
11068 if (xliminclude.
set (val,
true))
11079 if (yliminclude.
set (val,
true))
11090 if (zliminclude.
set (val,
true))
11099 void update_limits (
void)
const;
11224 ID___OBJECT__ = 10000,
11225 ID_ACCELERATOR = 10001,
11226 ID_CALLBACK = 10002,
11227 ID_CHECKED = 10003,
11229 ID_FOREGROUNDCOLOR = 10005,
11231 ID_POSITION = 10007,
11232 ID_SEPARATOR = 10008,
11233 ID_FLTK_LABEL = 10009
11268 if (__object__.
set (val,
true))
11279 if (accelerator.
set (val,
true))
11290 if (callback.
set (val,
true))
11301 if (checked.
set (val,
true))
11312 if (enable.
set (val,
true))
11323 if (foregroundcolor.
set (val,
true))
11334 if (label.
set (val,
true))
11345 if (position.
set (val,
true))
11356 if (separator.
set (val,
true))
11367 if (fltk_label.
set (val,
true))
11416 { dependent_obj_list.push_back (gh); }
11421 {
return dependent_obj_list; }
11482 ID___OBJECT__ = 11000,
11483 ID_CALLBACK = 11001,
11484 ID_POSITION = 11002
11499 if (__object__.
set (val,
true))
11510 if (callback.
set (val,
true))
11521 if (position.
set (val,
true))
11550 ~uicontextmenu (
void);
11579 double get_fontsize_points (
double box_pix_height = 0)
const;
11663 ID___OBJECT__ = 12000,
11664 ID_BACKGROUNDCOLOR = 12001,
11665 ID_CALLBACK = 12002,
11667 ID_CLIPPING = 12004,
11670 ID_FONTANGLE = 12007,
11671 ID_FONTNAME = 12008,
11672 ID_FONTSIZE = 12009,
11673 ID_FONTUNITS = 12010,
11674 ID_FONTWEIGHT = 12011,
11675 ID_FOREGROUNDCOLOR = 12012,
11676 ID_HORIZONTALALIGNMENT = 12013,
11677 ID_KEYPRESSFCN = 12014,
11678 ID_LISTBOXTOP = 12015,
11681 ID_POSITION = 12018,
11682 ID_SLIDERSTEP = 12019,
11685 ID_TOOLTIPSTRING = 12022,
11688 ID_VERTICALALIGNMENT = 12025
11767 if (__object__.
set (val,
true))
11778 if (backgroundcolor.
set (val,
true))
11789 if (callback.
set (val,
true))
11800 if (cdata.
set (val,
true))
11811 if (clipping.
set (val,
true))
11822 if (enable.
set (val,
true))
11833 if (extent.
set (val,
true))
11844 if (fontangle.
set (val,
true))
11846 update_fontangle ();
11856 if (fontname.
set (val,
true))
11858 update_fontname ();
11868 if (fontsize.
set (val,
true))
11870 update_fontsize ();
11882 if (fontweight.
set (val,
true))
11884 update_fontweight ();
11894 if (foregroundcolor.
set (val,
true))
11905 if (horizontalalignment.
set (val,
true))
11916 if (keypressfcn.
set (val,
true))
11927 if (listboxtop.
set (val,
true))
11938 if (max.
set (val,
true))
11949 if (min.
set (val,
true))
11960 if (position.
set (val,
true))
11971 if (sliderstep.
set (val,
true))
11982 if (
string.set (val,
true))
11996 if (tooltipstring.
set (val,
true))
12007 if (units.
set (val,
true))
12019 if (value.
set (val,
true))
12030 if (verticalalignment.
set (val,
true))
12049 cached_units = get_units ();
12052 void update_text_extent (
void);
12059 void update_fontunits (
const caseless_str& old_units);
12061 void update_units (
void);
12101 double get_fontsize_points (
double box_pix_height = 0)
const;
12176 ID___OBJECT__ = 13000,
12177 ID_BACKGROUNDCOLOR = 13001,
12178 ID_BORDERTYPE = 13002,
12179 ID_BORDERWIDTH = 13003,
12180 ID_FONTANGLE = 13004,
12181 ID_FONTNAME = 13005,
12182 ID_FONTSIZE = 13006,
12183 ID_FONTUNITS = 13007,
12184 ID_FONTWEIGHT = 13008,
12185 ID_FOREGROUNDCOLOR = 13009,
12186 ID_HIGHLIGHTCOLOR = 13010,
12187 ID_POSITION = 13011,
12188 ID_RESIZEFCN = 13012,
12189 ID_SHADOWCOLOR = 13013,
12191 ID_TITLEPOSITION = 13015,
12253 if (__object__.
set (val,
true))
12264 if (backgroundcolor.
set (val,
true))
12275 if (bordertype.
set (val,
true))
12286 if (borderwidth.
set (val,
true))
12297 if (fontangle.
set (val,
true))
12308 if (fontname.
set (val,
true))
12319 if (fontsize.
set (val,
true))
12332 if (fontweight.
set (val,
true))
12343 if (foregroundcolor.
set (val,
true))
12354 if (highlightcolor.
set (val,
true))
12365 if (position.
set (val,
true))
12376 if (resizefcn.
set (val,
true))
12387 if (shadowcolor.
set (val,
true))
12398 if (title.
set (val,
true))
12409 if (titleposition.
set (val,
true))
12426 void update_fontunits (
const caseless_str& old_units);
12520 ID___OBJECT__ = 14000
12530 if (__object__.
set (val,
true))
12569 if (name.
compare (
"default", 7))
12573 default_properties.set (name.substr (7), value);
12575 xproperties.
set (name, value);
12582 if (name.compare (
"default", 7))
12583 retval = get_default (name.substr (7));
12585 retval = xproperties.
get (name);
12594 return default_properties.as_struct (
"default");
12599 return default_properties;
12608 void reset_default_properties (
void);
12692 ID___OBJECT__ = 15000,
12694 ID_CLICKEDCALLBACK = 15002,
12696 ID_SEPARATOR = 15004,
12697 ID_TOOLTIPSTRING = 15005
12720 if (__object__.
set (val,
true))
12731 if (cdata.
set (val,
true))
12742 if (clickedcallback.
set (val,
true))
12753 if (enable.
set (val,
true))
12764 if (separator.
set (val,
true))
12775 if (tooltipstring.
set (val,
true))
12891 ID___OBJECT__ = 16000,
12893 ID_CLICKEDCALLBACK = 16002,
12895 ID_OFFCALLBACK = 16004,
12896 ID_ONCALLBACK = 16005,
12897 ID_SEPARATOR = 16006,
12899 ID_TOOLTIPSTRING = 16008
12931 if (__object__.
set (val,
true))
12942 if (cdata.
set (val,
true))
12953 if (clickedcallback.
set (val,
true))
12964 if (enable.
set (val,
true))
12975 if (offcallback.
set (val,
true))
12986 if (oncallback.
set (val,
true))
12997 if (separator.
set (val,
true))
13008 if (state.
set (val,
true))
13019 if (tooltipstring.
set (val,
true))
13066 const std::string& func);
13085 virtual void execute (
void) = 0;
13129 {
return (
rep != 0); }
13133 const std::string& name,
13147 bool notify_toolkit =
true);
13160 static void create_instance (
void);
13164 bool retval =
true;
13167 create_instance ();
13171 ::error (
"unable to create gh_manager!");
13183 return instance_ok ()
13184 ? instance->do_get_handle (integer_figure_handle)
13190 if (instance_ok ())
13191 instance->do_free (h);
13197 if (instance_ok ())
13198 instance->do_renumber_figure (old_gh, new_gh);
13203 return instance_ok () ? instance->do_lookup (val) :
graphics_handle ();
13214 return get_object (
lookup (val));
13219 return instance_ok () ? instance->do_get_object (h) :
graphics_object ();
13225 bool integer_figure_handle =
false,
13226 bool do_createfcn =
true,
13227 bool do_notify_toolkit =
true)
13229 return instance_ok ()
13230 ? instance->do_make_graphics_handle (go_name, parent,
13231 integer_figure_handle,
13232 do_createfcn, do_notify_toolkit)
13237 bool do_notify_toolkit =
true)
13239 return instance_ok ()
13240 ? instance->do_make_figure_handle (val, do_notify_toolkit)
13246 if (instance_ok ())
13247 instance->do_push_figure (h);
13252 if (instance_ok ())
13253 instance->do_pop_figure (h);
13258 return instance_ok ()
13264 return instance_ok ()
13265 ? instance->do_handle_list (show_hidden) :
Matrix ();
13270 if (instance_ok ())
13271 instance->do_lock ();
13276 if (instance_ok ())
13277 return instance->do_try_lock ();
13284 if (instance_ok ())
13285 instance->do_unlock ();
13290 return instance_ok ()
13291 ? instance->do_figure_handle_list (show_hidden) :
Matrix ();
13297 if (instance_ok ())
13298 instance->do_execute_listener (h, l);
13302 const std::string& name,
13314 cb = go.
get (name);
13318 execute_callback (h, cb, data);
13325 if (instance_ok ())
13326 instance->do_execute_callback (h, cb, data);
13330 const std::string& name,
13333 if (instance_ok ())
13334 instance->do_post_callback (h, name, data);
13339 if (instance_ok ())
13340 instance->do_post_function (fcn, data);
13344 const octave_value& value,
bool notify_toolkit =
true)
13346 if (instance_ok ())
13347 instance->do_post_set (h, name, value, notify_toolkit);
13352 return (instance_ok () ? instance->do_process_events () : 0);
13357 return (instance_ok () ? instance->do_process_events (
true) : 0);
13362 if (instance_ok ())
13363 instance->do_enable_event_processing (enable);
13368 bool retval =
false;
13380 if (instance_ok ())
13381 instance->do_close_all_figures ();
13390 ? instance->graphics_lock
13406 typedef std::map<graphics_handle, graphics_object>::iterator
iterator;
13407 typedef std::map<graphics_handle, graphics_object>::const_iterator
13450 iterator p = (
xisnan (val) ? handle_map.end () : handle_map.find (val));
13457 iterator p = (h.
ok () ? handle_map.find (h) : handle_map.end ());
13464 bool integer_figure_handle,
13466 bool do_notify_toolkit);
13468 graphics_handle do_make_figure_handle (
double val,
bool do_notify_toolkit);
13472 Matrix retval (1, handle_map.size ());
13475 for (
const_iterator p = handle_map.begin (); p != handle_map.end (); p++)
13480 retval(i++) = h.
value ();
13483 retval.resize (1, i);
13490 Matrix retval (1, figure_list.size ());
13493 for (const_figure_list_iterator p = figure_list.begin ();
13494 p != figure_list.end ();
13500 retval(i++) = h.
value ();
13503 retval.resize (1, i);
13516 for (const_figure_list_iterator p = figure_list.begin ();
13517 p != figure_list.end ();
13540 void do_post_callback (
const graphics_handle& h,
const std::string& name,
13546 const octave_value& value,
bool notify_toolkit =
true);
13548 int do_process_events (
bool force =
false);
13550 void do_close_all_figures (
void);
13554 if (instance_ok ())
13558 void do_restore_gcbo (
void);
13562 void do_enable_event_processing (
bool enable =
true);
13566 double& min_pos,
double& max_neg,
13567 const Matrix& kids,
char limit_type);
bool_property zliminclude
std::string get_fontunits(void) const
void set_callback(const octave_value &val)
void set_interpreter(const octave_value &val)
octave_value get_zcolor(void) const
static void close_all_figures(void)
void validate(void) const
enum double_radio_property::current_enum current_type
bool is_climinclude(void) const
bool_property zliminclude
void set_createfcn(const octave_value &val)
radio_property yticklabelmode
void do_register_toolkit(const std::string &name)
bool do_set(const octave_value &newval)
virtual base_property * clone(void) const
std::string get_linestyle(void) const
void set_specularstrength(const octave_value &val)
std::string get_interpreter(void) const
std::map< graphics_handle, graphics_object >::iterator iterator
void set_faces(const octave_value &val)
const std::string & current_value(void) const
radio_property verticalalignment
void set_activepositionproperty(const octave_value &val)
static void pop_figure(const graphics_handle &h)
std::string graphics_object_name(void) const
static graphics_event create_set_event(const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit=true)
bool camerapositionmode_is(const std::string &v) const
std::string get_marker(void) const
static bool has_readonly_property(const caseless_str &pname)
bool is_radio(void) const
octave_value get_xlim(void) const
void set_linewidth(const octave_value &val)
void warning_with_id(const char *id, const char *fmt,...)
bool has_readonly_property(const caseless_str &pname) const
bool facealpha_is_double(void) const
array_property colororder
graphics_event(const graphics_event &e)
void do_unload_toolkit(const std::string &name)
Matrix scale(const Matrix &m) const
void set_resizefcn(const octave_value &val)
static void clear(octave_shlib &oct_file)
std::string do_default_toolkit(void)
octave_value get_default(const caseless_str &name) const
static void unload_all_toolkits(void)
plist_map_iterator find(const std::string &go_name)
bool valid_object(void) const
octave_value get_xticklabel(void) const
octave_value get_clim(void) const
bool ytickmode_is(const std::string &v) const
Matrix get_children(void) const
Matrix do_handle_list(bool show_hidden)
std::string get_interpreter(void) const
callback_property keypressfcn
void set_drawmode(const octave_value &val)
void set_fontname(const octave_value &val)
void set_climinclude(const octave_value &val)
static std::string go_name
color_property(const std::string &nm, const graphics_handle &h, const color_values &c=color_values(), const radio_values &v=radio_values())
std::string get_clipping(void) const
bool_property yliminclude
graphics_handle get_parent(void) const
double get_zPlaneN(void) const
octave_value get_position(void) const
octave_value get_alphadata(void) const
Matrix get_markeredgecolor_rgb(void) const
std::string get_title(void) const
Matrix get_opengl_matrix_1(void) const
octave_value get_zlim(void) const
radio_property activepositionproperty
void add_constraint(const std::string &type)
std::string get_zticklabelmode(void) const
auto_lock(bool wait=true)
radio_property horizontalalignmentmode
base_graphics_object(const base_graphics_object &)
std::string get_busyaction(void) const
void set_displayname(const octave_value &val)
radio_property verticalalignmentmode
void delete_listener(const octave_value &v=octave_value(), listener_mode mode=POSTSET)
std::string get_zliminclude(void) const
std::string get_linestyle(void) const
void set_ambientstrength(const octave_value &val)
radio_property interpreter
std::string get_xlimmode(void) const
bool is_zliminclude(void) const
virtual void reparent(const graphics_handle &np)
void set_ylimmode(const octave_value &val)
void set_zlim(const octave_value &val)
bool handlevisibility_is(const std::string &v) const
row_vector_property(const std::string &nm, const graphics_handle &h, const octave_value &m)
std::string get_xliminclude(void) const
std::set< std::string > dynamic_properties
radio_values & operator=(const radio_values &a)
octave_refcount< int > count
Matrix get_markeredgecolor_rgb(void) const
void set_alphadata(const octave_value &val)
base_property * clone(void) const
void set_interpreter(const octave_value &val)
std::string get_facelighting(void) const
static void post_callback(const graphics_handle &h, const std::string &name, const octave_value &data=Matrix())
void set_xlim(const octave_value &val)
void set_linestyle(const octave_value &val)
std::string values_as_string(void) const
std::string string_value(void) const
void set_zlim(const octave_value &val)
std::string get_backfacelighting(void) const
text_label_property(const std::string &s, const graphics_handle &h, const NDArray &nda)
Matrix get_facecolor_rgb(void) const
double get_borderwidth(void) const
double_radio_property edgealpha
static std::string go_name
octave_value get_cameraupvector(void) const
void set_xscale(const octave_value &val)
bool is_real_type(void) const
std::string values_as_string(void) const
std::string get_alphadatamapping(void) const
void set_name(const std::string &name)
void set_zdata(const octave_value &val)
OCTINTERP_API bool validate(const octave_value &v)
bool enable_is(const std::string &v) const
virtual bool do_set(const octave_value &)
void set_fontweight(const octave_value &val)
octave_value get_ambientlightcolor(void) const
bool linestyle_is(const std::string &v) const
octave_value get_position(void) const
void update_looseinset(void)
octave_value get_xcolor(void) const
double get_fontsize(void) const
NDArray scale(const NDArray &m) const
octave_idx_type nelem(void) const
bool zcolor_is(const std::string &v) const
void set_ydata(const octave_value &val)
color_property(const std::string &nm, const graphics_handle &h, const radio_values &v)
int get_zstate(void) const
std::map< graphics_handle, graphics_object > handle_map
void update_zticklabelmode(void)
double get_edgealpha_double(void) const
OCTINTERP_API bool is_equal(const octave_value &v) const
void update_alphadata(void)
bool interpreter_is(const std::string &v) const
enum color_property::current_enum current_type
bool color_is_rgb(void) const
virtual bool is_climinclude(void) const
void set_selected(const octave_value &val)
bool valid_object(void) const
bool projection_is(const std::string &v) const
void set_cdata(const octave_value &val)
bool cdatamapping_is(const std::string &v) const
bool xlimmode_is(const std::string &v) const
radio_property minorgridlinestyle
bool backgroundcolor_is_rgb(void) const
std::string get_backfacelighting(void) const
bool is_visible(void) const
Cell values_as_cell(void) const
bool interpreter_is(const std::string &v) const
property(base_property *bp, bool persist=false)
double_property linewidth
double double_value(void) const
base_properties & get_properties(void)
void set___object__(const octave_value &val)
bool_property xliminclude
row_vector_property ytick
double_radio_property(const std::string &nm, const graphics_handle &h, const std::string &v)
void update_alphadata(void)
std::string get_verticalalignment(void) const
row_vector_property value
void set_zdatasource(const octave_value &val)
void override_defaults(base_graphics_object &obj)
void(* event_fcn)(void *)
bool is_xliminclude(void) const
virtual property get_property(const caseless_str &pname)
color_property & operator=(const octave_value &val)
property_list get_defaults_list(void) const
float pixel_size(octave_idx_type dim, const Matrix limits)
bool backgroundcolor_is_rgb(void) const
octave_value get_xlim(void) const
base_property * clone(void) const
static graphics_object get_object(const graphics_handle &h)
bool alphadatamapping_is(const std::string &v) const
octave_value reshape(const dim_vector &dv) const
octave_idx_type rows(void) const
static graphics_toolkit get_toolkit(void)
std::string get_yaxislocation(void) const
std::set< graphics_handle > handle_free_list
std::string get_zliminclude(void) const
double_property specularcolorreflectance
radio_property fontweight
void set_ylim(const octave_value &val)
Matrix get_backgroundcolor_rgb(void) const
void set_backfacelighting(const octave_value &val)
bool fontangle_is(const std::string &v) const
double get_x_max(void) const
void update_fontsize(void)
void set_linewidth(const octave_value &val)
octave_value get_edgecolor(void) const
std::string get_fontunits(void) const
octave_value get_zlim(void) const
void set_ytick(const octave_value &val)
void set_min(const octave_value &val)
bool_property(const bool_property &p)
static std::set< std::string > core_property_names(void)
void set_xdata(const octave_value &val)
bool zticklabelmode_is(const std::string &v) const
static void register_toolkit(const std::string &name)
void set_displayname(const octave_value &val)
bool gridlinestyle_is(const std::string &v) const
bool_property xliminclude
void set_clim(const octave_value &val)
void erase(const std::string pname)
bool edgealpha_is(const std::string &v) const
bool do_set(const octave_value &val)
void set_markeredgecolor(const octave_value &val)
octave_value full_value(void) const
bool foregroundcolor_is(const std::string &v) const
double_property markersize
graphics_handle get_xlabel(void) const
void set_horizontalalignmentmode(const octave_value &val)
octave_value get_markerfacecolor(void) const
octave_value get_edgecolor(void) const
void set_ydata(const octave_value &val)
static Cell available_toolkits_list(void)
base_property * clone(void) const
color_property(const radio_values &v, const color_values &c)
std::string get_layer(void) const
std::string get_cdatamapping(void) const
bool_property aliminclude
void set_cameraupvectormode(const octave_value &val)
bool color_is_rgb(void) const
radio_property & operator=(const octave_value &val)
std::string get_tooltipstring(void) const
void set_normalmode(const octave_value &val)
std::string get_xtickmode(void) const
std::string get_xticklabelmode(void) const
void insert_property(const std::string &name, property p)
octave_value get_plotboxaspectratio(void) const
double_property fontsize_points
bool yaxislocation_is(const std::string &v) const
bool isa(const std::string &go_name) const
octave_value get_ylim(void) const
virtual bool is_radio(void) const
bool markeredgecolor_is_rgb(void) const
octave_value get_currentpoint(void) const
double_property markersize
void set_cdata(const octave_value &val)
std::string get_dataaspectratiomode(void) const
octave_value get_factory_defaults(void) const
virtual std::string values_as_string(void) const
octave_value & operator[](const std::string pname)
void update_yaxislocation(void)
std::string string_value(void) const
std::string get_yticklabelmode(void) const
virtual void init_integerhandle(const octave_value &)
graphics_handle get_zlabel(void) const
void set_enable(const octave_value &val)
std::string get_fontangle(void) const
bool linestyle_is(const std::string &v) const
void set_rotationmode(const octave_value &val)
void set_zliminclude(const octave_value &val)
virtual bool is_aliminclude(void) const
octave_value get_cdata(void) const
radio_property alphadatamapping
octave_value get_buttondownfcn(void) const
void set_selectionhighlight(const octave_value &val)
bool erasemode_is(const std::string &v) const
octave_value get_xdata(void) const
bool_property aliminclude
OCTINTERP_API graphics_handle gcf(void)
std::set< caseless_str > possible_vals
color_property backgroundcolor
bool_property interruptible
void set_linewidth(const octave_value &val)
void set_highlightcolor(const octave_value &val)
void update_ztickmode(void)
std::set< std::string >::const_iterator const_available_toolkits_iterator
octave_idx_type numel(void) const
Number of elements in the array.
bool get_nearhoriz(void) const
Matrix do_get_all_children(void) const
std::string get_type(void) const
void update_fontangle(void)
void set_alphadatamapping(const octave_value &val)
bool units_is(const std::string &v) const
void set_markersize(const octave_value &val)
void set_markersize(const octave_value &val)
std::map< listener_mode, octave_value_list >::iterator listener_map_iterator
void set_yaxislocation(const octave_value &val)
array_property sliderstep
handle_property(const handle_property &p)
void set_ztick(const octave_value &val)
bool minorgridlinestyle_is(const std::string &v) const
virtual void defaults(void) const
void set_value(const octave_value &val)
octave_idx_type length(void) const
base_property * clone(void) const
void set_specularstrength(const octave_value &val)
std::string get_autopos_tag(void) const
OCTINTERP_API bool do_set(const octave_value &v)
void set_aliminclude(const octave_value &val)
void set_marker(const octave_value &val)
static void execute_callback(const graphics_handle &h, const octave_value &cb, const octave_value &data=Matrix())
bool is_zliminclude(void) const
const base_properties & get_properties(void) const
std::string get___hold_all__(void) const
std::string get_fontweight(void) const
std::string value_as_string(const std::string &prop)
bool is_radio(void) const
Matrix get_backgroundcolor_rgb(void) const
double max_neg(void) const
void update_tickdir(void)
const base_properties & get_properties(void) const
bool is_climinclude(void) const
void set_verticalalignmentmode(const octave_value &val)
row_vector_property zmtick
base_property(const base_property &p)
virtual ~base_property(void)
bool is_scalar_type(void) const
octave_value get_x_viewtransform(void) const
row_vector_property ydata
std::string get_autopos_tag(void) const
std::string default_value(void) const
array_property plotboxaspectratio
static bool has_readonly_property(const caseless_str &pname)
double_property specularstrength
void set_box(const octave_value &val)
bool is_climinclude(void) const
Matrix get_color_rgb(void) const
bool fontweight_is(const std::string &v) const
bool is_defined(void) const
void set_fontsize(const octave_value &val)
octave_value get_zdata(void) const
void set_ylim(const octave_value &val)
virtual ~base_graphics_event(void)
bool operator==(const color_values &c) const
double get_linewidth(void) const
bool backgroundcolor_is(const std::string &v) const
array_property cameraposition
void insert_static_property(const std::string &name, base_property &p)
void adopt(const graphics_handle &h)
bool busyaction_is(const std::string &v) const
std::string get_xliminclude(void) const
color_values & operator=(const color_values &c)
static bool has_readonly_property(const caseless_str &pname)
std::string get_erasemode(void) const
void execute_deletefcn(const octave_value &data=octave_value()) const
void set_hidden(bool flag)
octave_value get_alim(void) const
patch(const graphics_handle &mh, const graphics_handle &p)
double_property fontsize_points
bool is_xliminclude(void) const
bool interpreter_is(const std::string &v) const
std::string get_horizontalalignment(void) const
Cell cell_value(void) const
double_property listboxtop
std::string get_minorgridlinestyle(void) const
void set_fontangle(const octave_value &val)
void set_color(const octave_value &val)
void set_alim(const octave_value &val)
double get_z_max(void) const
octave_value get_alim(void) const
void set_deletefcn(const octave_value &val)
bool cameraupvectormode_is(const std::string &v) const
std::set< std::string > type_constraints
void set_zliminclude(const octave_value &val)
bool operator!=(const color_values &c) const
void set_parent(const graphics_handle &h)
const_iterator find(const std::string pname) const
const base_properties & get_properties(void) const
bool yscale_is(const std::string &v) const
bool isa(const std::string &go_name) const
static bool try_lock(void)
octave_value get_zlim(void) const
bool cdatamapping_is(const std::string &v) const
void set_zdata(const octave_value &val)
void set_alim(const octave_value &val)
octave_value get_faces(void) const
double get_fy(void) const
void set_tickdirmode(const octave_value &val)
bool is_yliminclude(void) const
octave_value get_markeredgecolor(void) const
void reparent(const graphics_handle &new_parent)
virtual void add_listener(const caseless_str &, const octave_value &, listener_mode=POSTSET)
radio_property interpreter
bool verticalalignment_is(const std::string &v) const
graphics_object(const graphics_object &obj)
static bool has_readonly_property(const caseless_str &pname)
Complex xmax(const Complex &x, const Complex &y)
array_property cameratarget
octave_value lookup(const std::string pname) const
void set_erasemode(const octave_value &val)
static std::string go_name
static void push_figure(const graphics_handle &h)
virtual octave_value get_xlim(void) const
bool markerfacecolor_is(const std::string &v) const
OCTINTERP_API void run_listeners(listener_mode mode=POSTSET)
Cell values_as_cell(void) const
bool_property climinclude
bool positionmode_is(const std::string &v) const
void set_from_list(property_list &plist)
virtual octave_value get_alim(void) const
double_property mousewheelzoom
array_property(const std::string &nm, const graphics_handle &h, const octave_value &m)
virtual graphics_toolkit get_toolkit(void) const
bool shadowcolor_is(const std::string &v) const
radio_property yaxislocation
void set_markeredgecolor(const octave_value &val)
void update_dataaspectratio(void)
std::string get_camerapositionmode(void) const
bool has_readonly_property(const caseless_str &pname) const
bool fontunits_is(const std::string &v) const
graphics_toolkit get_toolkit(void) const
bool_property __modified__
const std::string & current_value(void) const
virtual std::string graphics_object_name(void) const
void set_backfacelighting(const octave_value &val)
double scale(double d) const
pval_map_type::const_iterator pval_map_const_iterator
octave_value get_userdata(void) const
static void execute_listener(const graphics_handle &h, const octave_value &l)
row_vector_property xdata
void update_fontname(void)
octave_value get_x_normrendertransform(void) const
bool edgelighting_is(const std::string &v) const
void set_cdata(const octave_value &val)
void error(const char *fmt,...)
color_property markerfacecolor
radio_property(const std::string &nm, const graphics_handle &h, const radio_values &v=radio_values())
void update_xticklabelmode(void)
bool zscale_is(const std::string &v) const
std::string get_gridlinestyle(void) const
bool markeredgecolor_is_rgb(void) const
void do_scale(const double *src, double *dest, int n) const
void update_rotationmode(void)
octave_value get_string(void) const
void set_x_normrendertransform(const octave_value &val)
void set_keypressfcn(const octave_value &val)
void set_plotboxaspectratio(const octave_value &val)
base_graphics_event * rep
array_property facevertexcdata
std::string get_climinclude(void) const
bool_property & operator=(const octave_value &val)
void set_visible(const octave_value &val)
std::string get_ytickmode(void) const
void set(const caseless_str &name, const octave_value &val)
void set_horizontalalignment(const octave_value &val)
void set_tickdir(const octave_value &val)
std::string get_units(void) const
bool erasemode_is(const std::string &v) const
std::string graphics_object_name(void) const
bool xcolor_is_rgb(void) const
std::list< dim_vector > size_constraints
const base_properties & get_properties(void) const
radio_property projection
void set_cameraupvector(const octave_value &val)
bool titleposition_is(const std::string &v) const
octave_value get_zlim(void) const
virtual Matrix get_boundingbox(bool=false, const Matrix &=Matrix()) const
static string_vector names(const map_type &lst)
pval_map_type::iterator pval_map_iterator
base_property * clone(void) const
octave_value get_ylim(void) const
virtual void initialize(const graphics_object &go)
static Matrix figure_handle_list(bool show_hidden=false)
bool linestyle_is(const std::string &v) const
void set_bordertype(const octave_value &val)
void set_fontweight(const octave_value &val)
std::string get_ylimmode(void) const
void set_fontname(const octave_value &val)
array_property x_projectiontransform
void adopt(const graphics_handle &h)
double get_linewidth(void) const
void set_erasemode(const octave_value &val)
radio_property normalmode
OCTINTERP_API bool str2rgb(const std::string &str)
property(const property &p)
bool contains(const std::string &val, std::string &match)
string_array_property string
base_scaler * clone(void) const
string_vector get_string_vector(void) const
void set_ydata(const octave_value &val)
color_property highlightcolor
base_property(const std::string &s, const graphics_handle &h)
std::set< graphics_handle >::iterator free_list_iterator
void set_clim(const octave_value &val)
static void restore_gcbo(void)
bool valid_toolkit_object(void) const
radio_property(const std::string &nm, const graphics_handle &h, const std::string &v)
void set_xmtick(const octave_value &val)
property_list get_defaults_list(void) const
axes(const graphics_handle &mh, const graphics_handle &p)
std::string get_tickdir(void) const
void set_meshstyle(const octave_value &val)
bool backfacelighting_is(const std::string &v) const
bool verticalalignmentmode_is(const std::string &v) const
void set_diffusestrength(const octave_value &val)
void set_marker(const octave_value &val)
double get_diffusestrength(void) const
std::string get_aliminclude(void) const
bool edgecolor_is_rgb(void) const
static void load_toolkit(const graphics_toolkit &tk)
octave_value resize(const dim_vector &dv, bool fill=false) const
Cell do_available_toolkits_list(void) const
double get_ambientstrength(void) const
bool xcolor_is(const std::string &v) const
Complex xmin(const Complex &x, const Complex &y)
bool is_selectionhighlight(void) const
void update_interpreter(void)
void do_restore_gcbo(void)
std::string graphics_object_name(void) const
std::string get_titleposition(void) const
base_graphics_object(void)
octave_value get_clim(void) const
bool fontunits_is(const std::string &v) const
bool normalmode_is(const std::string &v) const
string_array_property(const std::string &s, const graphics_handle &h, const std::string &val="", const char &sep= '|', const desired_enum &typ=string_t)
octave_value get_edgealpha(void) const
void set_position(const octave_value &val)
octave_value get_xdata(void) const
bool erasemode_is(const std::string &v) const
std::string get_fontunits(void) const
void set_xtick(const octave_value &val)
bool is_clipping(void) const
void add_listener(const octave_value &v, listener_mode mode=POSTSET)
static graphics_handle make_graphics_handle(const std::string &go_name, const graphics_handle &parent, bool integer_figure_handle=false, bool do_createfcn=true, bool do_notify_toolkit=true)
base_property * clone(void) const
bool has_readonly_property(const caseless_str &pname) const
std::string get_erasemode(void) const
bool ydatamode_is(const std::string &v) const
radio_property edgelighting
octave_idx_type lookup(const T *x, octave_idx_type n, T y)
void set_ycolor(const octave_value &val)
octave_value get_ymtick(void) const
std::string get_tickdirmode(void) const
octave_value get_backgroundcolor(void) const
void set_max(const octave_value &val)
bool is_yliminclude(void) const
bool foregroundcolor_is_rgb(void) const
bool backgroundcolor_is(const std::string &v) const
bool rotationmode_is(const std::string &v) const
void set_autopos_tag(const octave_value &val)
std::string get_xaxislocation(void) const
std::string get___modified__(void) const
octave_value get_alim(void) const
text_label_property string
Cell values_as_cell(void) const
double get_markersize(void) const
array_property x_viewtransform
bool foregroundcolor_is_rgb(void) const
std::string get_style(void) const
bool facecolor_is(const std::string &v) const
void set_fontsize_points(const octave_value &val)
octave_value get_alphadata(void) const
std::string get_cdatamapping(void) const
void set_xminortick(const octave_value &val)
color_property shadowcolor
bool interpreter_is(const std::string &v) const
std::string get_yliminclude(void) const
bool markeredgecolor_is(const std::string &v) const
octave_value get_ylim(void) const
children_property(const std::string &nm, const graphics_handle &h, const Matrix &val)
bool ambientlightcolor_is_rgb(void) const
bool do_set(const octave_value &v)
void set_zgrid(const octave_value &val)
void set_xaxislocation(const octave_value &val)
string_property ydatasource
virtual void set_from_list(property_list &plist)
double_radio_property & operator=(const octave_value &val)
static bool is_handle_visible(const graphics_handle &h)
void set_linewidth(const octave_value &val)
octave_value get_ytick(void) const
void set_displayname(const octave_value &val)
bool cdatamapping_is(const std::string &v) const
bool ylimmode_is(const std::string &v) const
std::string get_marker(void) const
virtual void delete_children(bool clear=false)
void set_rotation(const octave_value &val)
std::string get_positionmode(void) const
color_values(const color_values &c)
virtual Matrix scale(const Matrix &m) const
std::string get_ydatasource(void) const
std::string get_units(void) const
string_property zdatasource
std::string get_rotationmode(void) const
string_property cdatasource
color_property markerfacecolor
bool edgecolor_is(const std::string &v) const
octave_value get_xmtick(void) const
bool erasemode_is(const std::string &v) const
octave_value get_facevertexalphadata(void) const
std::string get_xscale(void) const
pval_vector pval_map_type
radio_property positionmode
static std::string default_toolkit(void)
octave_value get_ylim(void) const
std::string get_climinclude(void) const
string_property displayname
double get_xticklen(void) const
bool xdir_is(const std::string &v) const
std::string string_value(void) const
void set_cameratarget(const octave_value &val)
void delete_property_listener(const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
void update_position(void)
std::string graphics_object_name(void) const
NDArray scale(const NDArray &m) const
void set_specularcolorreflectance(const octave_value &val)
bool zlimmode_is(const std::string &v) const
void set_aliminclude(const octave_value &val)
void set_ticklength(const octave_value &val)
radio_property alphadatamapping
void set_verticalalignment(const octave_value &val)
color_property foregroundcolor
bool verticalalignment_is(const std::string &v) const
double get_facealpha_double(void) const
bool is(const caseless_str &v) const
radio_property cameraviewanglemode
bool is_zminortick(void) const
virtual std::string type(void) const
bool units_is(const std::string &v) const
std::string get_name(void) const
children_property & operator=(const octave_value &val)
octave_value get_edgecolor(void) const
std::string get_drawmode(void) const
std::string get_interpreter(void) const
std::string row_as_string(octave_idx_type, bool strip_ws=false) const
Matrix get_edgecolor_rgb(void) const
octave_mutex graphics_lock
desired_enum desired_type
void set_tightinset(const octave_value &val)
octave_value get_facealpha(void) const
virtual property_list get_factory_defaults_list(void) const
void set_zscale(const octave_value &val)
graphics_handle current_val
std::string get_tag(void) const
octave_value get_view(void) const
static void unregister_toolkit(const std::string &name)
virtual graphics_handle get_parent(void) const
std::string get_cdatamapping(void) const
bool markerfacecolor_is(const std::string &v) const
virtual void set(const caseless_str &pname, const octave_value &pval)
std::map< graphics_handle, graphics_object >::const_iterator const_iterator
void renumber_child(graphics_handle old_gh, graphics_handle new_gh)
std::string get_editing(void) const
void set_markerfacecolor(const octave_value &val)
void set_cdata(const octave_value &val)
void update_axis_limits(const std::string &axis_type)
void set_xlim(const octave_value &val)
double_property borderwidth
bool alphadatamapping_is(const std::string &v) const
void set_view(const octave_value &val)
void set_hidden(bool flag)
void set_clipping(const octave_value &val)
graphics_handle do_current_figure(void) const
double_property ambientstrength
std::string get_zminorgrid(void) const
Matrix get_markerfacecolor_rgb(void) const
octave_idx_type rows(void) const
property_list get_factory_defaults_list(void) const
Matrix get_backgroundcolor_rgb(void) const
octave_value get(bool all=false) const
bool is_aliminclude(void) const
bool_property yliminclude
F77_RET_T const double const double double * d
std::string graphics_object_name(void) const
void set_ylim(const octave_value &val)
color_values(const std::string &str)
void set_yliminclude(const octave_value &val)
octave_value get___object__(void) const
static graphics_handle lookup(const octave_value &val)
std::string get_fontweight(void) const
void fix_limits(array_property &lims)
void delete_listener(const octave_value &v=octave_value(), listener_mode mode=POSTSET)
Matrix get_foregroundcolor_rgb(void) const
void set_alimmode(const octave_value &val)
std::string get_selectionhighlight(void) const
void set_ydata(const octave_value &val)
bool markerfacecolor_is_rgb(void) const
double get_xpTickN(void) const
bool validate(const std::string &val, std::string &match)
void set_xliminclude(const octave_value &val)
string_vector all_strings(bool pad=false) const
void set_cdatasource(const octave_value &val)
bool highlightcolor_is(const std::string &v) const
std::string get_enable(void) const
OCTINTERP_API bool do_set(const octave_value &newval)
property_list default_properties
text_label_property(const std::string &s, const graphics_handle &h, const Cell &c)
color_property markeredgecolor
graphics_xform get_transform(void) const
bool has_readonly_property(const caseless_str &pname) const
void override_defaults(base_graphics_object &obj)
string_array_property(const string_array_property &p)
base_property * clone(void) const
bool climmode_is(const std::string &v) const
base_properties & get_properties(void)
octave_value get_xdata(void) const
void set_ylim(const octave_value &val)
bool has_readonly_property(const caseless_str &pname) const
void set_edgecolor(const octave_value &val)
void set_xliminclude(const octave_value &val)
bool do_set(const octave_value &v)
octave_value get_ylim(void) const
void set_markersize(const octave_value &val)
double_property specularexponent
ColumnVector coord2pixel(double x, double y, double z) const
double_radio_property(const double_radio_property &p)
void set_displayname(const octave_value &val)
void set_yminorgrid(const octave_value &val)
bool_property(const std::string &nm, const graphics_handle &h, bool val)
void set_zlim(const octave_value &val)
color_property(const std::string &nm, const graphics_handle &h, const color_property &v)
void set_color(const octave_value &val)
virtual void update_boundingbox(void)
bool dataaspectratiomode_is(const std::string &v) const
string_array_property & operator=(const octave_value &val)
bool markerfacecolor_is_rgb(void) const
bool do_set(const octave_value &v)
void set_diffusestrength(const octave_value &val)
void set_climinclude(const octave_value &val)
void set_xdatasource(const octave_value &val)
bool markeredgecolor_is_rgb(void) const
color_property foregroundcolor
any_property(const any_property &p)
bool is_xliminclude(void) const
std::map< caseless_str, property, cmp_caseless_str > all_props
std::string get_zgrid(void) const
octave_value get(void) const
void set_xdata(const octave_value &val)
bool fontweight_is(const std::string &v) const
void set_erasemode(const octave_value &val)
virtual void adopt(const graphics_handle &h)
octave_value get_ydata(void) const
Cell cell_value(void) const
double get_edgealpha_double(void) const
octave_value get(void) const
void set_vertices(const octave_value &val)
bool color_is(const std::string &v) const
octave_value get_alim(void) const
std::string get_verticalalignment(void) const
double get_specularexponent(void) const
void set_interruptible(const octave_value &val)
octave_value get_backgroundcolor(void) const
callback_property & operator=(const octave_value &val)
base_property * clone(void) const
void set_xliminclude(const octave_value &val)
text_label_property & operator=(const octave_value &val)
void do_scale(const double *src, double *dest, int n) const
double get_diffusestrength(void) const
bool marker_is(const std::string &v) const
bool edgealpha_is_double(void) const
std::string get_normalmode(void) const
void set_dataaspectratiomode(const octave_value &val)
static property_list::pval_map_type factory_defaults(void)
array_property cameraupvector
bool ztickmode_is(const std::string &v) const
array_property dataaspectratio
virtual void finalize(const graphics_object &go)
virtual bool valid_object(void) const
bool is_hittest(void) const
bool edgecolor_is(const std::string &v) const
void set_ydatasource(const octave_value &val)
virtual ~base_scaler(void)
void set_fontname(const octave_value &val)
bool is_aliminclude(void) const
bool_property climinclude
const dim_vector & dims(void) const
Return a const-reference so that dims ()(i) works efficiently.
radio_property handlevisibility
void update_yticklabelmode(void)
void set_defaults(const std::string &mode)
radio_property zticklabelmode
double get_zpTickN(void) const
base_property * clone(void) const
void set_xtickmode(const octave_value &val)
std::string get_erasemode(void) const
void do_adopt_child(double val)
void execute_createfcn(const octave_value &data=octave_value()) const
Matrix get_hidden(void) const
static void free(const graphics_handle &h)
bool get_xyzSym(void) const
void set_clipping(const octave_value &val)
bool has_readonly_property(const caseless_str &pname) const
double_radio_property facealpha
string_property zdatasource
void set_alim(const octave_value &val)
std::string get_fontangle(void) const
std::string values_as_string(void) const
void set_fontsize(const octave_value &val)
std::string get_aliminclude(void) const
OCTINTERP_API graphics_handle gca(void)
Matrix get_limits(void) const
static bool instance_ok(void)
void set_edgecolor(const octave_value &val)
void set_tooltipstring(const octave_value &val)
virtual base_scaler * clone() const
std::string get_bordertype(void) const
Array< std::string > cellstr_value(void) const
double unscale(double d) const
bool_property yliminclude
bool is_radio(void) const
radio_property gridlinestyle
std::string get_aliminclude(void) const
void set_yscale(const octave_value &val)
octave_value get_createfcn(void) const
void set_position(const octave_value &val)
radio_property backfacelighting
any_property & operator=(const octave_value &val)
std::string get_yliminclude(void) const
void set_interpreter(const octave_value &val)
octave_value get_clim(void) const
bool fontweight_is(const std::string &v) const
string_property displayname
text_label_property(const text_label_property &p)
virtual octave_value get_defaults(void) const
bool markerfacecolor_is_rgb(void) const
void set_alphadatamapping(const octave_value &val)
bool_property(const std::string &nm, const graphics_handle &h, const char *val)
bool_property yliminclude
virtual octave_value get_clim(void) const
string_property xdatasource
std::string get_displayname(void) const
void update_vertices(void)
scaler & operator=(const scaler &s)
static bool has_readonly_property(const caseless_str &pname)
void set_foregroundcolor(const octave_value &val)
bool_property xliminclude
radio_property horizontalalignment
virtual void execute(void)=0
std::string get_meshstyle(void) const
octave_value get_callback(void) const
std::string get_yminorgrid(void) const
const std::string & current_value(void) const
double unscale(double d) const
double get_specularstrength(void) const
string_array_property(const std::string &s, const graphics_handle &h, const Cell &c, const char &sep= '|', const desired_enum &typ=string_t)
bool is_hidden(void) const
virtual octave_value get_factory_defaults(void) const
Matrix get_transform_matrix(void) const
bool erasemode_is(const std::string &v) const
void set_alphadata(const octave_value &val)
static void replace(QString &text, const QRegExp &re, const QString &after)
string_property displayname
std::list< double >::iterator children_list_iterator
std::list< graphics_handle >::iterator figure_list_iterator
color_values(double r=0, double g=0, double b=1)
void update_fontangle(void)
const scaler & get_y_scaler(void) const
void delete_children(bool clear=false)
void set_currentpoint(const octave_value &val)
std::string get_xdatasource(void) const
Matrix get_markerfacecolor_rgb(void) const
bool bordertype_is(const std::string &v) const
virtual void update(const graphics_object &go, int id)
void set_x_viewtransform(const octave_value &val)
void set_projection(const octave_value &val)
octave_value get_foregroundcolor(void) const
property & operator=(const octave_value &val)
graphics_handle get_parent(void) const
virtual octave_value get_zlim(void) const
static std::string go_name
Matrix get_inverse_transform_matrix(void) const
Matrix get_children(void) const
bool is_sparse_type(void) const
std::set< graphics_handle >::const_iterator const_free_list_iterator
Array< T > sort(int dim=0, sortmode mode=ASCENDING) const
bool xdatamode_is(const std::string &v) const
Cell cell_value(void) const
bool fontunits_is(const std::string &v) const
graphics_toolkit do_get_toolkit(void) const
void set_units(const octave_value &val)
octave_idx_type numel(const octave_value_list &idx)
void set_linewidth(const octave_value &val)
color_property(const std::string &nm, const graphics_handle &h, const std::string &v)
void update_verticalalignment(void)
Matrix get_ycolor_rgb(void) const
std::string get_fontunits(void) const
void set_displayname(const octave_value &val)
OCTINTERP_API void close_all_figures(void)
bool is_real_scalar(void) const
void set_fontsize(const octave_value &val)
bool is_xliminclude(void) const
void set_xticklabelmode(const octave_value &val)
string_property displayname
Matrix get_ambientlightcolor_rgb(void) const
string_vector string_vector_value(void) const
double min_pos(void) const
void set_listboxtop(const octave_value &val)
bool is_beingdeleted(void) const
void set_xdir(const octave_value &val)
octave_value get_zticklabel(void) const
std::string string_value(bool force=false) const
void set_ylim(const octave_value &val)
plist_map_iterator end(void)
bool is_xliminclude(void) const
void set_edgelighting(const octave_value &val)
void update_outerposition(void)
void defaults(void) const
std::map< listener_mode, octave_value_list > listener_map
bool is_climinclude(void) const
std::string graphics_object_name(void) const
bool_property zliminclude
text(const graphics_handle &mh, const graphics_handle &p)
double get_markersize(void) const
virtual void delete_listener(const caseless_str &, const octave_value &, listener_mode=POSTSET)
void set_xliminclude(const octave_value &val)
std::string get_alimmode(void) const
void set_ytickmode(const octave_value &val)
virtual Cell values_as_cell(void) const
bool is_editing(void) const
octave_value get_x_rendertransform(void) const
static std::string go_name
ColumnVector xform_vector(void)
base_scaler * clone(void) const
radio_property autopos_tag
bool backgroundcolor_is(const std::string &v) const
void set_aliminclude(const octave_value &val)
octave_value get_factory_default(const caseless_str &name) const
virtual ~base_properties(void)
virtual void adopt(const graphics_handle &h)
bool xscale_is(const std::string &v) const
bool fontangle_is(const std::string &v) const
void resize(octave_idx_type n, const std::string &rfv=std::string())
color_property markeredgecolor
bool fontangle_is(const std::string &v) const
Matrix scale(const Matrix &m) const
std::string get_interpreter(void) const
bool set(const octave_value &val, bool do_run=true, bool do_notify_toolkit=true)
void set_xlim(const octave_value &val)
void set_specularcolorreflectance(const octave_value &val)
double get_mousewheelzoom(void) const
radio_property normalmode
int get_ystate(void) const
callback_property callback
std::string get_beingdeleted(void) const
octave_refcount< int > count
std::string get_zliminclude(void) const
bool is_double(void) const
double get_fx(void) const
octave_value get(void) const
void gripe_not_implemented(const char *fcn)
void set_alphadatamapping(const octave_value &val)
bool has_readonly_property(const caseless_str &pname) const
bool do_set(const octave_value &v)
std::string get_edgelighting(void) const
Matrix get_zcolor_rgb(void) const
double get_yPlane(void) const
void do_delete_children(bool clear)
octave_value get_zmtick(void) const
handle_property uicontextmenu
plist_map_const_iterator begin(void) const
uicontrol(const graphics_handle &mh, const graphics_handle &p)
void renumber(graphics_handle old_gh, graphics_handle new_gh)
row_vector_property zdata
property_list(const plist_map_type &m=plist_map_type())
std::string get_zlimmode(void) const
double get_specularcolorreflectance(void) const
octave_value get_ydata(void) const
double get_ypTickN(void) const
void set_editing(const octave_value &val)
octave_value get_resizefcn(void) const
std::string get_zscale(void) const
bool is_string(void) const
bool facealpha_is(const std::string &v) const
virtual void update_autopos(const std::string &elem_type)
Matrix get_shadowcolor_rgb(void) const
bool facealpha_is(const std::string &v) const
radio_property cameraupvectormode
base_graphics_event(void)
base_properties & get_properties(void)
std::string get_ydatasource(void) const
octave_value get(void) const
color_property markerfacecolor
void set_foregroundcolor(const octave_value &val)
octave_value get_vertexnormals(void) const
row_vector_property xmtick
double get_margin(void) const
virtual octave_value get(void) const
void update_fontsize(void)
void set_yliminclude(const octave_value &val)
void set_alim(const octave_value &val)
std::set< std::string > all_property_names(void) const
virtual bool has_readonly_property(const caseless_str &pname) const
std::string graphics_object_name(void) const
std::string get_box(void) const
void set_facealpha(const octave_value &val)
std::string get_ztickmode(void) const
std::string get_cameraupvectormode(void) const
iterator find(const std::string pname)
const T * data(void) const
void update_fontweight(void)
bool get_y2Dright(void) const
radio_property tickdirmode
std::string get_visible(void) const
bool is_handle_visible(void) const
void set___modified__(const octave_value &val)
base_properties & get_properties(void)
std::string get_ygrid(void) const
double min_val(void) const
void add_constraint(const dim_vector &dims)
void set_xlim(const octave_value &val)
bool zdir_is(const std::string &v) const
Matrix get_edgecolor_rgb(void) const
row_vector_property ymtick
octave_value get_clim(void) const
string_vector & append(const std::string &s)
double get_fontsize(void) const
void set_zliminclude(const octave_value &val)
callback_property(const std::string &nm, const graphics_handle &h, const octave_value &m)
octave_value get_facecolor(void) const
void set_interpreter(const octave_value &val)
radio_property plotboxaspectratiomode
std::string get_alphadatamapping(void) const
void set_alim(const octave_value &val)
bool has_readonly_property(const caseless_str &pname) const
octave_value get_cdata(void) const
std::string get_cameraviewanglemode(void) const
array_property looseinset
Matrix do_get_children(bool return_hidden) const
octave_value get_clim(void) const
octave_value get_markeredgecolor(void) const
octave_value get_clim(void) const
Cell values_as_cell(void) const
std::string get_alphadatamapping(void) const
bool edgecolor_is_rgb(void) const
virtual double unscale(double d) const
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)
virtual const base_properties & get_properties(void) const
graphics_event & operator=(const graphics_event &e)
bool autopos_tag_is(const std::string &v) const
void set_yliminclude(const octave_value &val)
bool do_set(const octave_value &val)
void set_zticklabelmode(const octave_value &val)
std::list< double > children_list
double_property linewidth
double get_listboxtop(void) const
double_property diffusestrength
bool normalmode_is(const std::string &v) const
void set_edgecolor(const octave_value &val)
bool is_yliminclude(void) const
handle_property(const std::string &nm, const graphics_handle &h, const graphics_handle &val=graphics_handle())
double get_specularstrength(void) const
octave_value get_alim(void) const
radio_property cameratargetmode
std::string graphics_object_name(void) const
bool markeredgecolor_is(const std::string &v) const
radio_property alphadatamapping
bool ambientlightcolor_is(const std::string &v) const
bool is_cellstr(void) const
void update_normalmode(void)
void set_x_viewporttransform(const octave_value &val)
#define panic_impossible()
void do_init_children(const Matrix &val)
void set_defaults(base_graphics_object &obj, const std::string &mode)
void set_zdatasource(const octave_value &val)
octave_value get(bool all=false) const
virtual void remove_child(const graphics_handle &h)
bool cameratargetmode_is(const std::string &v) const
virtual base_properties & get_properties(void)
std::map< std::string, graphics_toolkit >::const_iterator const_loaded_toolkits_iterator
bool plotboxaspectratiomode_is(const std::string &v) const
radio_property verticalalignment
graphics_object(base_graphics_object *new_rep)
bool horizontalalignment_is(const std::string &v) const
std::string get_climinclude(void) const
std::string get_linestyle(void) const
octave_value get_sliderstep(void) const
void set_marker(const octave_value &val)
string_property xdatasource
Matrix get_foregroundcolor_rgb(void) const
radio_property edgelighting
virtual ~base_graphics_object(void)
bool units_is(const std::string &v) const
void set_xdata(const octave_value &val)
double get_y_max(void) const
void set_ylim(const octave_value &val)
std::string get_zdir(void) const
static void unload_toolkit(const std::string &name)
double_radio_property edgealpha
callback_property deletefcn
base_properties & get_properties(void)
Matrix do_figure_handle_list(bool show_hidden)
std::string get_fontname(void) const
virtual void remove_child(const graphics_handle &h)
void set_position(const octave_value &val)
base_property * clone(void) const
std::string get_units(void) const
double get_ytickoffset(void) const
row_vector_property xdata
std::string get_xdatasource(void) const
std::string get_displayname(void) const
void set_climinclude(const octave_value &val)
const base_properties & get_properties(void) const
static std::string go_name
bool drawmode_is(const std::string &v) const
void reset_default_properties(void)
void set_cameraviewangle(const octave_value &val)
Matrix get_color_rgb(void) const
bool is_cellstr(void) const
void set_parent(const graphics_handle &h)
bool is_radio(void) const
double get_xPlaneN(void) const
void set_position(const octave_value &val)
any_property linestyleorder
void set_displayname(const octave_value &val)
bool is_hidden(void) const
static Matrix handle_list(bool show_hidden=false)
const base_properties & get_properties(void) const
std::string get_marker(void) const
octave_value get_dataaspectratio(void) const
void set_clim(const octave_value &val)
void update_xtickmode(void)
static bool has_readonly_property(const caseless_str &pname)
octave_value get_xlim(void) const
bool valid_object(void) const
octave_value get_zlim(void) const
octave_value get_linestyleorder(void) const
radio_property fontweight
bool_property selectionhighlight
void set_minorgridlinestyle(const octave_value &val)
bool get_layer2Dtop(void) const
std::string get_string_string(void) const
array_property outerposition
void renumber_parent(graphics_handle new_gh)
static void enable_event_processing(bool enable=true)
void do_unregister_toolkit(const std::string &name)
octave_value lookup(const caseless_str &name) const
void set_ztickmode(const octave_value &val)
base_properties & get_properties(void)
std::string get_xliminclude(void) const
string_property displayname
static graphics_event create_function_event(event_fcn fcn, void *data=0)
bool marker_is(const std::string &v) const
bool_property climinclude
const base_properties & get_properties(void) const
std::list< graphics_handle >::const_iterator const_figure_list_iterator
octave_value get_zlim(void) const
virtual bool is_yliminclude(void) const
double unscale(double d) const
std::string get_clipping(void) const
bool layer_is(const std::string &v) const
void set_zdata(const octave_value &val)
void do_load_toolkit(const graphics_toolkit &tk)
void set_xlim(const octave_value &val)
void set_string(const octave_value &val)
void override_defaults(base_graphics_object &obj)
dim_vector dims(void) const
octave_value get_cameraposition(void) const
bool is_aliminclude(void) const
void set_zminorgrid(const octave_value &val)
callback_property(const callback_property &p)
virtual void delete_property_listener(const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
bool fontunits_is(const std::string &v) const
Matrix matrix_value(bool frc_str_conv=false) const
double max_val(void) const
bool is_yliminclude(void) const
void set_fontsize_points(const octave_value &val)
bool autopos_tag_is(const std::string &v) const
Cell do_loaded_toolkits_list(void) const
double get_linewidth(void) const
const base_properties & get_properties(void) const
void update_fontweight(void)
bool alphadatamapping_is(const std::string &v) const
static std::string go_name
plist_map_const_iterator end(void) const
Matrix get_xcolor_rgb(void) const
void set(const caseless_str &name, const octave_value &val)
std::string get_xminorgrid(void) const
std::string get_xgrid(void) const
row_vector_property(const row_vector_property &p)
static graphics_event create_callback_event(const graphics_handle &h, const std::string &name, const octave_value &data=Matrix())
OCTINTERP_API void execute(const octave_value &data=octave_value()) const
std::string get_fontweight(void) const
std::string get_verticalalignmentmode(void) const
octave_value get_vertices(void) const
double_property(const double_property &p)
static void execute_callback(const graphics_handle &h, const std::string &name, const octave_value &data=Matrix())
any_property(const std::string &nm, const graphics_handle &h, const octave_value &m=Matrix())
std::string get_xdatamode(void) const
bool is_clipping(void) const
double_property linewidth
charMatrix char_matrix_value(bool frc_str_conv=false) const
std::list< double >::const_iterator const_children_list_iterator
void set_defaults(const std::string &mode)
static void cleanup_instance(void)
double get_min(void) const
octave_value get_ycolor(void) const
std::string get_projection(void) const
void update_fontweight(void)
base_properties & get_properties(void)
static bool has_core_property(const caseless_str &pname)
void update_verticalalignmentmode(void)
octave_value get_tightinset(void) const
bool is_yliminclude(void) const
void set(const caseless_str &pname, const octave_value &val)
double get_xPlane(void) const
void set_fontname(const octave_value &val)
std::string get_erasemode(void) const
bool get_zSign(void) const
std::string get_zliminclude(void) const
static gh_manager * instance
octave_value get_keypressfcn(void) const
void set_xgrid(const octave_value &val)
bool valid_object(void) const
std::string get_selected(void) const
bool_property aliminclude
array_property vertexnormals
std::set< std::string > available_toolkits
octave_value get_string(void) const
bool edgealpha_is(const std::string &v) const
void set_extent(const octave_value &val)
void set_cdatamapping(const octave_value &val)
std::map< std::string, graphics_toolkit >::iterator loaded_toolkits_iterator
T & xelem(octave_idx_type n)
radio_property interpreter
void set_xdatamode(const octave_value &val)
double get_yPlaneN(void) const
void update_rotation(void)
void set_aliminclude(const octave_value &val)
string_property(const string_property &p)
bool is_zminorgrid(void) const
virtual double scale(double d) const
virtual void set_defaults(const std::string &)
static graphics_toolkit find_toolkit(const std::string &name)
bool edgealpha_is_double(void) const
octave_value get_shadowcolor(void) const
double_radio_property facealpha
octave_value get_looseinset(void) const
octave_refcount< int > count
string_property(const std::string &s, const graphics_handle &h, const std::string &val="")
octave_value get_deletefcn(void) const
std::string get_climmode(void) const
graphics_handle get_title(void) const
void set_markerfacecolor(const octave_value &val)
void set_cameraviewanglemode(const octave_value &val)
static bool has_readonly_property(const caseless_str &pname)
double get_ypTick(void) const
base_graphics_object * rep
graphics_handle do_lookup(double val)
array_property facevertexalphadata
bool units_is(const std::string &v) const
void set_mousewheelzoom(const octave_value &val)
Matrix get_auto_xdata(void)
void set_erasemode(const octave_value &val)
virtual bool is_xliminclude(void) const
static bool has_readonly_property(const caseless_str &pname)
void set_color(const octave_value &val)
void execute_buttondownfcn(const octave_value &data=octave_value()) const
bool is_aliminclude(void) const
bool get_xySym(void) const
std::string get_yliminclude(void) const
bool_property xliminclude
const scaler & get_x_scaler(void) const
void set_backgroundcolor(const octave_value &val)
std::string get_yliminclude(void) const
std::string type(void) const
std::string get_xliminclude(void) const
array_property & operator=(const octave_value &val)
graphics_handle get_parent(void) const
callback_property createfcn
bool has_readonly_property(const caseless_str &pname) const
radio_property titleposition
graphics_handle get_uicontextmenu(void) const
bool_property yliminclude
std::string get_fontname(void) const
base_property * clone(void) const
octave_value get_edgealpha(void) const
octave_value get_defaults(void) const
void set_linestyle(const octave_value &val)
bool valid_object(void) const
bool facecolor_is_rgb(void) const
double get_rotation(void) const
OCTINTERP_API bool validate(const octave_value &v)
void set_autopos_tag(const octave_value &val)
charNDArray max(char d, const charNDArray &m)
radio_property dataaspectratiomode
bool is(const std::string &v) const
void set_x_projectiontransform(const octave_value &val)
void set_clim(const octave_value &val)
octave_idx_type length(void) const
Number of elements in the array.
void set_ydatasource(const octave_value &val)
radio_property rotationmode
octave_value get_ydata(void) const
double_property ambientstrength
std::map< listener_mode, octave_value_list >::const_iterator listener_map_const_iterator
std::string get_fontname(void) const
void set_extent(const octave_value &val)
static graphics_handle make_figure_handle(double val, bool do_notify_toolkit=true)
bool is_bool_scalar(void) const
bool is_empty(void) const
double get_facealpha_double(void) const
bool edgecolor_is(const std::string &v) const
void run_listeners(listener_mode mode=POSTSET)
void set_facevertexalphadata(const octave_value &val)
bool alimmode_is(const std::string &v) const
void update_tickdirmode(void)
octave_value get_markeredgecolor(void) const
void set_zdir(const octave_value &val)
bool fontangle_is(const std::string &v) const
octave_value get_facealpha(void) const
radio_property interpreter
void set_handlevisibility(const octave_value &val)
octave_value get_color(void) const
bool is_zliminclude(void) const
bool xticklabelmode_is(const std::string &v) const
radio_property autopos_tag
Matrix scale(const Matrix &m) const
void set_cameratargetmode(const octave_value &val)
Matrix get_opengl_matrix_2(void) const
graphics_handle __myhandle__
children_property children
NDArray array_value(bool frc_str_conv=false) const
virtual octave_value get(const caseless_str &pname) const
Matrix stack(const Matrix &a) const
string_vector string_vector_value(void) const
radio_property fontweight
double scale(double d) const
bool do_set(const octave_value &val)
bool zcolor_is_rgb(void) const
bool is___hold_all__(void) const
void update_ytickmode(void)
void set_children(const octave_value &val)
void add_listener(const octave_value &v, listener_mode mode=POSTSET)
virtual property_list get_defaults_list(void) const
bool edgelighting_is(const std::string &v) const
ColumnVector pixel2coord(double px, double py) const
static int flush_events(void)
static void cleanup_instance(void)
bool_property aliminclude
bool interpreter_is(const std::string &v) const
std::set< std::string >::iterator available_toolkits_iterator
std::string graphics_object_name(void) const
std::string values_as_string(void) const
double get_xtickoffset(void) const
color_property backgroundcolor
void set___hold_all__(const octave_value &val)
double get_fz(void) const
bool fontweight_is(const std::string &v) const
base_property * clone(void) const
std::string get_scale(const std::string &scale, const Matrix &lims)
void set_cameraposition(const octave_value &val)
std::string get_horizontalalignment(void) const
octave_value get_defaults(void) const
bool tickdir_is(const std::string &v) const
octave_value get_xlim(void) const
void set_linestyle(const octave_value &val)
double_property specularstrength
void set_interpreter(const octave_value &val)
radio_property cdatamapping
bool is_ygrid(void) const
double_radio_property(const std::string &nm, const graphics_handle &h, const double_radio_property &v)
bool_property zliminclude
string_property ydatasource
std::string get_zdatasource(void) const
std::string get_interpreter(void) const
bool nextplot_is(const std::string &v) const
void set_xlimmode(const octave_value &val)
double_property specularcolorreflectance
void add_constraint(const dim_vector &dims)
string_property & operator=(const octave_value &val)
bool valid_object(void) const
const base_properties & get_properties(void) const
void set_facecolor(const octave_value &val)
radio_values(const radio_values &a)
octave_value get_zlim(void) const
array_property vertexnormals
bool bool_value(bool warn=false) const
void set_yminortick(const octave_value &val)
bool erasemode_is(const std::string &v) const
base_properties & get_properties(void)
void set_xlim(const octave_value &val)
std::map< std::string, pval_map_type > plist_map_type
void set_facelighting(const octave_value &val)
octave_value get_cameratarget(void) const
static std::string go_name
double get_yticklen(void) const
octave_value get_markerfacecolor(void) const
void update_horizontalalignment(void)
void remove_child(const graphics_handle &h)
octave_value get_x_projectiontransform(void) const
double get_markersize(void) const
virtual NDArray scale(const NDArray &m) const
const base_properties & get_properties(void) const
bool foregroundcolor_is(const std::string &v) const
void set_erasemode(const octave_value &val)
void set_userdata(const octave_value &val)
std::string get_xliminclude(void) const
radio_property facelighting
octave_value get___object__(void) const
std::list< graphics_event > event_queue
bool remove_child(double val)
double get_fontsize(void) const
void set_zlimmode(const octave_value &val)
std::string get_erasemode(void) const
double_property & operator=(const octave_value &val)
static graphics_handle lookup(double val)
std::string get_interruptible(void) const
static bool has_readonly_property(const caseless_str &pname)
virtual graphics_toolkit get_toolkit(void) const
void set_xlim(const octave_value &val)
base_properties & get_properties(void)
bool color_is_rgb(void) const
NDArray scale(const NDArray &m) const
static OCTINTERP_API property create(const std::string &name, const graphics_handle &parent, const caseless_str &type, const octave_value_list &args)
bool is_interruptible(void) const
void set_xcolor(const octave_value &val)
std::string get_normalmode(void) const
double_property cameraviewangle
std::pair< std::string, octave_value > pval_pair
int get_xstate(void) const
double_property linewidth
octave_value get_cdata(void) const
bool backgroundcolor_is_rgb(void) const
octave_value get_xlim(void) const
double get_z_min(void) const
octave_handle graphics_handle
void set_fontangle(const octave_value &val)
octave_value get_facecolor(void) const
void add_property_listener(const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
OCTINTERP_API bool set(const octave_value &v, bool do_run=true, bool do_notify_toolkit=true)
octave_map values_as_struct(void)
octave_value get_ylim(void) const
static bool instance_ok(void)
void set_specularexponent(const octave_value &val)
octave_value get_foregroundcolor(void) const
bool_property beingdeleted
void set_facelighting(const octave_value &val)
void set_xdata(const octave_value &val)
double get_cameraviewangle(void) const
bool tickdirmode_is(const std::string &v) const
radio_property fontweight
static OCTINTERP_API void create_instance(void)
bool color_is(const std::string &v) const
void set_ymtick(const octave_value &val)
void update_horizontalalignmentmode(void)
void set_climmode(const octave_value &val)
bool_property xliminclude
void set_looseinset(const octave_value &val)
plist_map_iterator begin(void)
virtual void add_property_listener(const std::string &nm, const octave_value &v, listener_mode mode=POSTSET)
bool valid_object(void) const
double scale(double d) const
handle_property & operator=(const octave_value &val)
virtual octave_value get_ylim(void) const
void set_title(const octave_value &val)
void set_xminorgrid(const octave_value &val)
virtual bool is_linear(void) const
void update_position(void)
NDArray scale(const NDArray &m) const
double_radio_property(double d, const radio_values &v)
bool is_yminorgrid(void) const
bool is_yliminclude(void) const
Matrix get_auto_ydata(void)
bool_property climinclude
std::string get_xdir(void) const
virtual void mark_modified(void)
static graphics_handle get_handle(bool integer_figure_handle)
void set_backgroundcolor(const octave_value &val)
radio_property horizontalalignment
void set_x_rendertransform(const octave_value &val)
color_property ambientlightcolor
Matrix get_all_children(void) const
double double_value(void) const
double get_specularexponent(void) const
bool is_xliminclude(void) const
uipanel(const graphics_handle &mh, const graphics_handle &p)
array_property x_rendertransform
bool is_xminortick(void) const
octave_value get_ticklength(void) const
octave_value get_xlim(void) const
bool compare(const std::string &s, size_t limit=std::string::npos) const
color_property markeredgecolor
void set_zlim(const octave_value &val)
array_property currentpoint
array_property tightinset
bool is_modified(void) const
void set_outerposition(const octave_value &val)
double get_x_min(void) const
Matrix get_hidden_children(void) const
void set_fontangle(const octave_value &val)
graphics_object do_get_object(const graphics_handle &h)
bool valid_object(void) const
octave_value get_position(void) const
double get_y_min(void) const
static void renumber_figure(const graphics_handle &old_gh, const graphics_handle &new_gh)
void set_ambientstrength(const octave_value &val)
double get_xpTick(void) const
bool facealpha_is_double(void) const
void scale(Matrix &m, double x, double y, double z)
void execute_callback(const octave_value &data=octave_value()) const
void set_horizontalalignment(const octave_value &val)
callback_property buttondownfcn
std::string get_aliminclude(void) const
std::string get_ydir(void) const
bool backfacelighting_is(const std::string &v) const
void set_sliderstep(const octave_value &val)
void set_verticalalignment(const octave_value &val)
void set_name(const std::string &s)
bool ycolor_is(const std::string &v) const
bool is_defined(void) const
bool is_linear(void) const
std::string get_yliminclude(void) const
static graphics_object get_object(double val)
radio_property facelighting
std::string get_yscale(void) const
surface(const graphics_handle &mh, const graphics_handle &p)
bool is_xminorgrid(void) const
void set_specularexponent(const octave_value &val)
bool is_undefined(void) const
void update_fontname(void)
bool is(const std::string &v) const
void set_fontweight(const octave_value &val)
bool get_is2D(void) const
double get_zpTick(void) const
std::string get_handlevisibility(void) const
void set_borderwidth(const octave_value &val)
double get_specularcolorreflectance(void) const
radio_property busyaction
std::string get_fontweight(void) const
void remove_child(const graphics_handle &h)
radio_property(const radio_property &p)
double get_linewidth(void) const
bool_property __hold_all__
void resize(octave_idx_type n, const octave_value &rfv=octave_value())
BEGIN_BASE_PROPERTIES bool_property off radio_property queue cancel callback_property Matrix() children_property children gf
std::string values_as_string(void)
std::string get_hittest(void) const
void update_plotboxaspectratiomode(void)
ColumnVector transform(const Matrix &m, double x, double y, double z)
static void post_function(graphics_event::event_fcn fcn, void *data=0)
double get_ambientstrength(void) const
graphics_handle get_parent(void) const
hggroup(const graphics_handle &mh, const graphics_handle &p)
void update_fontsize(void)
std::string get_units(void) const
static std::set< std::string > readonly_property_names(void)
radio_property(const std::string &nm, const graphics_handle &h, const radio_values &v, const std::string &def)
double_property markersize
array_property(const array_property &p)
void set_xliminclude(const octave_value &val)
void set_zliminclude(const octave_value &val)
void set_string(const octave_value &val)
bool xaxislocation_is(const std::string &v) const
void set_facecolor(const octave_value &val)
void set___object__(const octave_value &val)
OCTINTERP_API int calc_dimensions(const graphics_object &gh)
void update_fontname(void)
void update_boundingbox(void)
void add_constraint(const std::string &type)
string_property tooltipstring
virtual void update_axis_limits(const std::string &axis_type) const
virtual bool is_zliminclude(void) const
std::string get_yminortick(void) const
base_properties & get_properties(void)
Matrix get_markeredgecolor_rgb(void) const
void set_zminortick(const octave_value &val)
std::string get_zminortick(void) const
graphics_toolkit do_find_toolkit(const std::string &name) const
octave_value get_ztick(void) const
void set_zlim(const octave_value &val)
void initialize_data(void)
base_property * clone(void) const
radio_property backfacelighting
std::string get_facelighting(void) const
void set_normalmode(const octave_value &val)
octave_value get_xlim(void) const
static bool match(const std::string &filename_arg, const std::string &path_elt_arg)
void set_beingdeleted(const octave_value &val)
octave_value get_ylim(void) const
std::string get_fontangle(void) const
double get_zticklen(void) const
void set_dataaspectratio(const octave_value &val)
double_property specularexponent
std::string get_yliminclude(void) const
octave_value get_colororder(void) const
void set_gridlinestyle(const octave_value &val)
void reparent(const graphics_handle &h)
std::list< graphics_object > callback_objects
color_property(const color_values &c, const radio_values &v)
std::string get_activepositionproperty(void) const
bool xtickmode_is(const std::string &v) const
octave_value get_outerposition(void) const
octave_value get_property_from_handle(double handle, const std::string &property, const std::string &func)
octave_value get_vertexnormals(void) const
bool is_climinclude(void) const
virtual void override_defaults(base_graphics_object &obj)
void set_yliminclude(const octave_value &val)
void set_edgealpha(const octave_value &val)
bool facecolor_is(const std::string &v) const
Matrix scale(const Matrix &m) const
property clone(void) const
graphics_handle get_handle(void) const
virtual void set(const caseless_str &, const octave_value &)
charMatrix char_value(void) const
void add_constraint(octave_idx_type len)
void update_fontangle(void)
std::map< std::string, graphics_toolkit > loaded_toolkits
radio_property interpreter
bool ycolor_is_rgb(void) const
void set_fontangle(const octave_value &val)
static Cell loaded_toolkits_list(void)
std::string get_ydatamode(void) const
bool linestyle_is(const std::string &v) const
void set_fontsize(const octave_value &val)
std::list< graphics_handle > figure_list
graphics_handle get___myhandle__(void) const
void set_modified(const octave_value &val)
double_property diffusestrength
OCTINTERP_API radio_values(const std::string &opt_string=std::string())
octave_value get_xdata(void) const
bool shadowcolor_is_rgb(void) const
bool is_zliminclude(void) const
radio_property xaxislocation
std::string get_erasemode(void) const
static OCTINTERP_API gtk_manager * instance
base_property & operator=(const octave_value &val)
void set_titleposition(const octave_value &val)
void set_ydatamode(const octave_value &val)
octave_value get_ydata(void) const
void set_ygrid(const octave_value &val)
Matrix get_edgecolor_rgb(void) const
bool marker_is(const std::string &v) const
Matrix get_markerfacecolor_rgb(void) const
MArray< T > reshape(const dim_vector &new_dims) const
octave_value get_cdata(void) const
void set_busyaction(const octave_value &val)
void set_fontweight(const octave_value &val)
bool cameraviewanglemode_is(const std::string &v) const
octave_scalar_map as_struct(const std::string &prefix_arg) const
std::string get_xminortick(void) const
row_vector_property ztick
octave_value get_x_viewporttransform(void) const
bool do_set(const octave_value &val)
void set_layer(const octave_value &val)
std::string get_displayname(void) const
void set_clim(const octave_value &val)
void set_positionmode(const octave_value &val)
std::string get_xliminclude(void) const
double double_value(bool frc_str_conv=false) const
octave_idx_type cols(void) const
bool edgecolor_is_rgb(void) const
octave_value get_markerfacecolor(void) const
void set_zcolor(const octave_value &val)
void set_ambientlightcolor(const octave_value &val)
bool is___modified__(void) const
bool markerfacecolor_is(const std::string &v) const
void get_children_limits(double &min_val, double &max_val, double &min_pos, double &max_neg, const Matrix &kids, char limit_type)
octave_value get_value(void) const
std::string get_zliminclude(void) const
bool valid_object(void) const
bool highlightcolor_is_rgb(void) const
void set_xdatasource(const octave_value &val)
std::string get_nextplot(void) const
graphics_object & operator=(const graphics_object &obj)
color_property backgroundcolor
static void initialize(void)
graphics_handle get_handle(void) const
double get_linewidth(void) const
bool_property yliminclude
bool facelighting_is(const std::string &v) const
bool is_yliminclude(void) const
base_scaler * clone(void) const
Matrix get_highlightcolor_rgb(void) const
std::string get_cdatasource(void) const
std::string get_name(void) const
OCTINTERP_API bool validate(const octave_value &v) const
bool has_readonly_property(const caseless_str &pname) const
virtual bool has_property(const caseless_str &) const
void update_facevertexcdata(void)
octave_value get_alim(void) const
row_vector_property & operator=(const octave_value &val)
string_property displayname
void set_edgealpha(const octave_value &val)
const scaler & get_z_scaler(void) const
void update_axis_limits(const std::string &axis_type, const graphics_handle &h)
double get_max(void) const
array_property ticklength
bool ydir_is(const std::string &v) const
Matrix get_transform_zlim(void) const
bool do_remove_child(double child)
octave_value as_octave_value(void) const
bool is_yminortick(void) const
plist_map_const_iterator find(const std::string &go_name) const
std::string get_fontangle(void) const
void set_margin(const octave_value &val)
bool markeredgecolor_is(const std::string &v) const
void set_backgroundcolor(const octave_value &val)
bool meshstyle_is(const std::string &v) const
octave_value get_ylim(void) const
bool is_zliminclude(void) const
bool_property xliminclude
void update_plotboxaspectratio(void)
std::string get_fontname(void) const
octave_value get_backgroundcolor(void) const
bool is_zliminclude(void) const
void set_uicontextmenu(const octave_value &val)
void set_edgelighting(const octave_value &val)
void execute_resizefcn(const octave_value &data=octave_value()) const
void set_vertexnormals(const octave_value &val)
void set_markerfacecolor(const octave_value &val)
void set_camerapositionmode(const octave_value &val)
std::string get_cameratargetmode(void) const
void build_user_defaults_map(property_list::pval_map_type &def, const std::string go_name) const
octave_value get_highlightcolor(void) const
text_label_property(const std::string &s, const graphics_handle &h, const std::string &val="")
void set_tag(const octave_value &val)
void set_cdatamapping(const octave_value &val)
scaler(const std::string &s)
radio_property cdatamapping
void set_nextplot(const octave_value &val)
std::string get_displayname(void) const
void update_xaxislocation(void)
bool do_set(const octave_value &v)
void set_xliminclude(const octave_value &val)
octave_value get_zdata(void) const
bool do_set(const octave_value &val)
std::string get_edgelighting(void) const
void set_ylim(const octave_value &val)
static bool has_readonly_property(const caseless_str &pname)
callback_property resizefcn
octave_value get_facevertexcdata(void) const
std::string get_displayname(void) const
void override_defaults(void)
const uint8NDArray & get_pixels(void) const
std::list< octave_value > zoom_stack
void set_shadowcolor(const octave_value &val)
bool is_aliminclude(void) const
array_property x_normrendertransform
std::string get_climinclude(void) const
row_vector_property ydata
bool color_is(const std::string &v) const
void set_yticklabelmode(const octave_value &val)
bool yticklabelmode_is(const std::string &v) const
children_property(const children_property &p)
void set_facealpha(const octave_value &val)
bool is_zgrid(void) const
double unscale(double d) const
void set_yliminclude(const octave_value &val)
bool valid_object(void) const
octave_value get(void) const
octave_idx_type columns(void) const
double get_ztickoffset(void) const
static bool is_handle_visible(const graphics_handle &h)
Matrix get_all(void) const
bool style_is(const std::string &v) const
void update_dataaspectratiomode(void)
static void set_format(double d, int &fw)
octave_value get_zdata(void) const
bool is_xliminclude(void) const
plist_map_type::const_iterator plist_map_const_iterator
std::string get_displayname(void) const
line(const graphics_handle &mh, const graphics_handle &p)
void set_erasemode(const octave_value &val)
void set_hittest(const octave_value &val)
radio_property cdatamapping
array_property x_viewporttransform
bool has_bad_data(std::string &msg) const
void set_vertexnormals(const octave_value &val)
void xform(ColumnVector &v, const Matrix &m)
image(const graphics_handle &mh, const graphics_handle &p)
void set_cdatamapping(const octave_value &val)
static graphics_handle current_figure(void)
bool facecolor_is_rgb(void) const
void set_units(const octave_value &val)
double get_zPlane(void) const
octave_value get_color(void) const
bool is_linear(void) const
bool facelighting_is(const std::string &v) const
void set_from_list(base_graphics_object &obj, property_list &defaults)
void do_unload_all_toolkits(void)
static std::string go_name
std::string get_linestyle(void) const
bool activepositionproperty_is(const std::string &v) const
void update_vertexnormals(void)
graphics_handle get_ylabel(void) const
double scale(double d) const
void update_transform(void)
bool set_property_in_handle(double handle, const std::string &property, const octave_value &arg, const std::string &func)
bool_property zliminclude
graphics_handle handle_value(void) const
void update_positionmode(void)
void set_buttondownfcn(const octave_value &val)
void set(const caseless_str &name, const octave_value &value)
double_property(const std::string &nm, const graphics_handle &h, double d=0)
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))
void set_facevertexcdata(const octave_value &val)
color_property(const color_property &p)
double get_fontsize(void) const
void set_plotboxaspectratiomode(const octave_value &val)
bool is_selected(void) const
bool horizontalalignmentmode_is(const std::string &v) const
static void post_set(const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit=true)
F77_RET_T const double * x
void set_linestyle(const octave_value &val)
std::string get_plotboxaspectratiomode(void) const
charNDArray min(char d, const charNDArray &m)
octave_value get_xlim(void) const
void set_zliminclude(const octave_value &val)
void set_markeredgecolor(const octave_value &val)
void set_yliminclude(const octave_value &val)
bool get_x2Dtop(void) const
void do_init_children(const std::list< double > &val)
std::string get_zdatasource(void) const
OCTINTERP_API bool do_set(const octave_value &v)
OCTINTERP_API void get_data_limits(void)
void set_zlim(const octave_value &val)
void execute_keypressfcn(const octave_value &data=octave_value()) const
Matrix get_facecolor_rgb(void) const
void set_zmtick(const octave_value &val)
void set_climinclude(const octave_value &val)
octave_value get_color(void) const
octave_value get_yticklabel(void) const
base_property * clone(void) const
Matrix get_color_rgb(void) const
octave_value get_xtick(void) const
double_property linewidth
void set_ydir(const octave_value &val)
radio_property bordertype
bool is_xgrid(void) const
static int process_events(void)
std::string get_horizontalalignmentmode(void) const
octave_value get_position(void) const
void set_colororder(const octave_value &val)
T::properties & properties(graphics_object obj)
radio_property camerapositionmode
bool horizontalalignment_is(const std::string &v) const
plist_map_type::iterator plist_map_iterator
row_vector_property xtick
radio_property xticklabelmode