6 : beingdeleted (
"beingdeleted", mh,
"off"),
7 busyaction (
"busyaction", mh,
"{queue}|cancel"),
8 buttondownfcn (
"buttondownfcn", mh,
Matrix ()),
9 children (
"children", mh,
Matrix ()),
10 clipping (
"clipping", mh,
"on"),
11 createfcn (
"createfcn", mh,
Matrix ()),
12 deletefcn (
"deletefcn", mh,
Matrix ()),
13 handlevisibility (
"handlevisibility", mh,
"{on}|callback|off"),
14 hittest (
"hittest", mh,
"on"),
15 interruptible (
"interruptible", mh,
"on"),
16 parent (
"parent", mh, p),
17 selected (
"selected", mh,
"off"),
18 selectionhighlight (
"selectionhighlight", mh,
"on"),
20 type (
"type", mh, ty),
22 userdata (
"userdata", mh,
Matrix ()),
23 visible (
"visible", mh,
"on"),
24 __modified__ (
"__modified__", mh,
"on"),
52 if (pname.
compare (
"beingdeleted"))
54 else if (pname.
compare (
"busyaction"))
56 else if (pname.
compare (
"buttondownfcn"))
58 else if (pname.
compare (
"children"))
60 else if (pname.
compare (
"clipping"))
62 else if (pname.
compare (
"createfcn"))
64 else if (pname.
compare (
"deletefcn"))
66 else if (pname.
compare (
"handlevisibility"))
68 else if (pname.
compare (
"hittest"))
70 else if (pname.
compare (
"interruptible"))
72 else if (pname.
compare (
"parent"))
74 else if (pname.
compare (
"selected"))
76 else if (pname.
compare (
"selectionhighlight"))
80 else if (pname.
compare (
"uicontextmenu"))
82 else if (pname.
compare (
"userdata"))
84 else if (pname.
compare (
"visible"))
86 else if (pname.
compare (
"__modified__"))
127 if (pname.
compare (
"beingdeleted"))
129 else if (pname.
compare (
"busyaction"))
131 else if (pname.
compare (
"buttondownfcn"))
133 else if (pname.
compare (
"children"))
135 else if (pname.
compare (
"clipping"))
137 else if (pname.
compare (
"createfcn"))
139 else if (pname.
compare (
"deletefcn"))
141 else if (pname.
compare (
"handlevisibility"))
143 else if (pname.
compare (
"hittest"))
145 else if (pname.
compare (
"interruptible"))
147 else if (pname.
compare (
"parent"))
149 else if (pname.
compare (
"selected"))
151 else if (pname.
compare (
"selectionhighlight"))
153 else if (pname.
compare (
"tag"))
155 else if (pname.
compare (
"type"))
157 else if (pname.
compare (
"uicontextmenu"))
159 else if (pname.
compare (
"userdata"))
161 else if (pname.
compare (
"visible"))
163 else if (pname.
compare (
"__modified__"))
165 else if (pname.
compare (
"__myhandle__"))
176 if (pname.
compare (
"beingdeleted"))
178 else if (pname.
compare (
"busyaction"))
180 else if (pname.
compare (
"buttondownfcn"))
182 else if (pname.
compare (
"children"))
184 else if (pname.
compare (
"clipping"))
186 else if (pname.
compare (
"createfcn"))
188 else if (pname.
compare (
"deletefcn"))
190 else if (pname.
compare (
"handlevisibility"))
192 else if (pname.
compare (
"hittest"))
194 else if (pname.
compare (
"interruptible"))
196 else if (pname.
compare (
"parent"))
198 else if (pname.
compare (
"selected"))
200 else if (pname.
compare (
"selectionhighlight"))
202 else if (pname.
compare (
"tag"))
204 else if (pname.
compare (
"type"))
206 else if (pname.
compare (
"uicontextmenu"))
208 else if (pname.
compare (
"userdata"))
210 else if (pname.
compare (
"visible"))
212 else if (pname.
compare (
"__modified__"))
223 m[
"beingdeleted"] =
"off";
224 m[
"busyaction"] =
"queue";
225 m[
"buttondownfcn"] =
Matrix ();
226 m[
"clipping"] =
"on";
227 m[
"createfcn"] =
Matrix ();
228 m[
"deletefcn"] =
Matrix ();
229 m[
"handlevisibility"] =
"on";
231 m[
"interruptible"] =
"on";
232 m[
"selected"] =
"off";
233 m[
"selectionhighlight"] =
"on";
236 m[
"userdata"] =
Matrix ();
238 m[
"__modified__"] =
"on";
243 std::set<std::string>
246 static std::set<std::string> all_pnames;
248 static bool initialized =
false;
252 all_pnames.insert (
"beingdeleted");
253 all_pnames.insert (
"busyaction");
254 all_pnames.insert (
"buttondownfcn");
255 all_pnames.insert (
"children");
256 all_pnames.insert (
"clipping");
257 all_pnames.insert (
"createfcn");
258 all_pnames.insert (
"deletefcn");
259 all_pnames.insert (
"handlevisibility");
260 all_pnames.insert (
"hittest");
261 all_pnames.insert (
"interruptible");
262 all_pnames.insert (
"parent");
263 all_pnames.insert (
"selected");
264 all_pnames.insert (
"selectionhighlight");
265 all_pnames.insert (
"tag");
266 all_pnames.insert (
"type");
267 all_pnames.insert (
"uicontextmenu");
268 all_pnames.insert (
"userdata");
269 all_pnames.insert (
"visible");
270 all_pnames.insert (
"__modified__");
271 all_pnames.insert (
"__myhandle__");
284 return pnames.find (pname) != pnames.end ();
287 std::set<std::string>
290 static std::set<std::string> all_pnames;
292 static bool initialized =
false;
296 all_pnames.insert (
"type");
297 all_pnames.insert (
"__myhandle__");
310 return pnames.find (pname) != pnames.end ();
313 std::set<std::string>
318 std::set<std::string> retval = all_pnames;
320 retval.insert (dyn_props.begin (), dyn_props.end ());
321 for (std::map<caseless_str, property, cmp_caseless_str>::const_iterator p =
all_props.begin ();
323 retval.insert (p->first);
333 commandwindowsize (
"commandwindowsize", mh,
Matrix (1, 2, 0)),
335 diary (
"diary", mh,
"off"),
336 diaryfile (
"diaryfile", mh,
"diary"),
337 echo (
"echo", mh,
"off"),
338 errormessage (
"errormessage", mh,
""),
339 fixedwidthfontname (
"fixedwidthfontname", mh,
"Courier"),
340 format (
"format", mh,
"+|bank|bit|hex|long|longe|longeng|longg|native-bit|native-hex|none|rat|{short}|shorte|shorteng|shortg"),
341 formatspacing (
"formatspacing", mh,
"compact|{loose}"),
342 language (
"language", mh,
"ascii"),
343 monitorpositions (
"monitorpositions", mh,
Matrix (1, 4, 0)),
344 pointerlocation (
"pointerlocation", mh,
Matrix (1, 2, 0)),
345 pointerwindow (
"pointerwindow", mh, 0.0),
346 recursionlimit (
"recursionlimit", mh, 256.0),
350 showhiddenhandles (
"showhiddenhandles", mh,
"off"),
351 units (
"units", mh,
"inches|centimeters|normalized|points|{pixels}")
379 const std::set<std::string>& pnames = all_property_names ();
387 error (
"set: \"%s\" is read-only", pname.c_str ());
391 if (pname.
compare (
"currentfigure"))
392 set_currentfigure (val);
393 else if (pname.
compare (
"diary"))
395 else if (pname.
compare (
"diaryfile"))
397 else if (pname.
compare (
"echo"))
399 else if (pname.
compare (
"fixedwidthfontname"))
400 set_fixedwidthfontname (val);
401 else if (pname.
compare (
"format"))
403 else if (pname.
compare (
"formatspacing"))
404 set_formatspacing (val);
405 else if (pname.
compare (
"language"))
407 else if (pname.
compare (
"monitorpositions"))
408 set_monitorpositions (val);
409 else if (pname.
compare (
"pointerlocation"))
410 set_pointerlocation (val);
411 else if (pname.
compare (
"recursionlimit"))
412 set_recursionlimit (val);
413 else if (pname.
compare (
"showhiddenhandles"))
414 set_showhiddenhandles (val);
415 else if (pname.
compare (
"units"))
455 const std::set<std::string>& pnames = all_property_names ();
462 if (pname.
compare (
"callbackobject"))
463 retval = get_callbackobject ().as_octave_value ();
464 else if (pname.
compare (
"commandwindowsize"))
465 retval = get_commandwindowsize ();
466 else if (pname.
compare (
"currentfigure"))
467 retval = get_currentfigure ().as_octave_value ();
468 else if (pname.
compare (
"diary"))
469 retval = get_diary ();
470 else if (pname.
compare (
"diaryfile"))
471 retval = get_diaryfile ();
472 else if (pname.
compare (
"echo"))
473 retval = get_echo ();
474 else if (pname.
compare (
"errormessage"))
475 retval = get_errormessage ();
476 else if (pname.
compare (
"fixedwidthfontname"))
477 retval = get_fixedwidthfontname ();
478 else if (pname.
compare (
"format"))
479 retval = get_format ();
480 else if (pname.
compare (
"formatspacing"))
481 retval = get_formatspacing ();
482 else if (pname.
compare (
"language"))
483 retval = get_language ();
484 else if (pname.
compare (
"monitorpositions"))
485 retval = get_monitorpositions ();
486 else if (pname.
compare (
"pointerlocation"))
487 retval = get_pointerlocation ();
488 else if (pname.
compare (
"pointerwindow"))
489 retval = get_pointerwindow ();
490 else if (pname.
compare (
"recursionlimit"))
491 retval = get_recursionlimit ();
492 else if (pname.
compare (
"screendepth"))
493 retval = get_screendepth ();
494 else if (pname.
compare (
"screenpixelsperinch"))
495 retval = get_screenpixelsperinch ();
496 else if (pname.
compare (
"screensize"))
497 retval = get_screensize ();
498 else if (pname.
compare (
"showhiddenhandles"))
499 retval = get_showhiddenhandles ();
500 else if (pname.
compare (
"units"))
501 retval = get_units ();
511 const std::set<std::string>& pnames = all_property_names ();
518 if (pname.
compare (
"callbackobject"))
519 return property (&callbackobject,
true);
520 else if (pname.
compare (
"commandwindowsize"))
521 return property (&commandwindowsize,
true);
522 else if (pname.
compare (
"currentfigure"))
523 return property (¤tfigure,
true);
524 else if (pname.
compare (
"diary"))
526 else if (pname.
compare (
"diaryfile"))
528 else if (pname.
compare (
"echo"))
530 else if (pname.
compare (
"errormessage"))
531 return property (&errormessage,
true);
532 else if (pname.
compare (
"fixedwidthfontname"))
533 return property (&fixedwidthfontname,
true);
534 else if (pname.
compare (
"format"))
536 else if (pname.
compare (
"formatspacing"))
537 return property (&formatspacing,
true);
538 else if (pname.
compare (
"language"))
540 else if (pname.
compare (
"monitorpositions"))
541 return property (&monitorpositions,
true);
542 else if (pname.
compare (
"pointerlocation"))
543 return property (&pointerlocation,
true);
544 else if (pname.
compare (
"pointerwindow"))
545 return property (&pointerwindow,
true);
546 else if (pname.
compare (
"recursionlimit"))
547 return property (&recursionlimit,
true);
548 else if (pname.
compare (
"screendepth"))
549 return property (&screendepth,
true);
550 else if (pname.
compare (
"screenpixelsperinch"))
551 return property (&screenpixelsperinch,
true);
552 else if (pname.
compare (
"screensize"))
553 return property (&screensize,
true);
554 else if (pname.
compare (
"showhiddenhandles"))
555 return property (&showhiddenhandles,
true);
556 else if (pname.
compare (
"units"))
568 m[
"commandwindowsize"] =
Matrix (1, 2, 0);
571 m[
"diaryfile"] =
"diary";
573 m[
"errormessage"] =
"";
574 m[
"fixedwidthfontname"] =
"Courier";
575 m[
"format"] =
"short";
576 m[
"formatspacing"] =
"loose";
577 m[
"language"] =
"ascii";
578 m[
"monitorpositions"] =
Matrix (1, 4, 0);
579 m[
"pointerlocation"] =
Matrix (1, 2, 0);
580 m[
"pointerwindow"] = 0.0;
581 m[
"recursionlimit"] = 256.0;
585 m[
"showhiddenhandles"] =
"off";
586 m[
"units"] =
"pixels";
593 std::set<std::string>
596 static std::set<std::string> all_pnames;
598 static bool initialized =
false;
602 all_pnames.insert (
"callbackobject");
603 all_pnames.insert (
"commandwindowsize");
604 all_pnames.insert (
"currentfigure");
605 all_pnames.insert (
"diary");
606 all_pnames.insert (
"diaryfile");
607 all_pnames.insert (
"echo");
608 all_pnames.insert (
"errormessage");
609 all_pnames.insert (
"fixedwidthfontname");
610 all_pnames.insert (
"format");
611 all_pnames.insert (
"formatspacing");
612 all_pnames.insert (
"language");
613 all_pnames.insert (
"monitorpositions");
614 all_pnames.insert (
"pointerlocation");
615 all_pnames.insert (
"pointerwindow");
616 all_pnames.insert (
"recursionlimit");
617 all_pnames.insert (
"screendepth");
618 all_pnames.insert (
"screenpixelsperinch");
619 all_pnames.insert (
"screensize");
620 all_pnames.insert (
"showhiddenhandles");
621 all_pnames.insert (
"units");
624 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
635 std::set<std::string> pnames = core_property_names ();
637 return pnames.find (pname) != pnames.end ();
640 std::set<std::string>
643 static std::set<std::string> all_pnames;
645 static bool initialized =
false;
649 all_pnames.insert (
"callbackobject");
650 all_pnames.insert (
"commandwindowsize");
651 all_pnames.insert (
"errormessage");
652 all_pnames.insert (
"pointerwindow");
653 all_pnames.insert (
"screendepth");
654 all_pnames.insert (
"screenpixelsperinch");
655 all_pnames.insert (
"screensize");
658 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
669 std::set<std::string> pnames = readonly_property_names ();
671 return pnames.find (pname) != pnames.end ();
674 std::set<std::string>
677 static std::set<std::string> all_pnames = core_property_names ();
679 std::set<std::string> retval = all_pnames;
681 retval.insert (base_props.begin (), base_props.end ());
689 std::set<std::string> pnames = all_property_names ();
691 return pnames.find (pname) != pnames.end ();
698 alphamap (
"alphamap", mh,
Matrix (64, 1, 1)),
699 buttondownfcn (
"buttondownfcn", mh,
Matrix ()),
700 closerequestfcn (
"closerequestfcn", mh,
"closereq"),
704 currentcharacter (
"currentcharacter", mh,
""),
706 currentpoint (
"currentpoint", mh,
Matrix (2, 1, 0)),
707 dockcontrols (
"dockcontrols", mh,
"off"),
708 doublebuffer (
"doublebuffer", mh,
"on"),
709 filename (
"filename", mh,
""),
710 integerhandle (
"integerhandle", mh,
"on"),
711 inverthardcopy (
"inverthardcopy", mh,
"off"),
712 keypressfcn (
"keypressfcn", mh,
Matrix ()),
713 keyreleasefcn (
"keyreleasefcn", mh,
Matrix ()),
714 menubar (
"menubar", mh,
"none|{figure}"),
715 mincolormap (
"mincolormap", mh, 64),
716 name (
"name", mh,
""),
717 nextplot (
"nextplot", mh,
"new|{add}|replacechildren|replace"),
718 numbertitle (
"numbertitle", mh,
"on"),
719 outerposition (
"outerposition", mh,
Matrix (1, 4, -1.0)),
720 paperorientation (
"paperorientation", mh,
"{portrait}|landscape|rotated"),
722 paperpositionmode (
"paperpositionmode", mh,
"auto|{manual}"),
724 papertype (
"papertype", mh,
"{usletter}|uslegal|a0|a1|a2|a3|a4|a5|b0|b1|b2|b3|b4|b5|arch-a|arch-b|arch-c|arch-d|arch-e|a|b|c|d|e|tabloid|<custom>"),
725 paperunits (
"paperunits", mh,
"{inches}|centimeters|normalized|points"),
726 pointer (
"pointer", mh,
"crosshair|fullcrosshair|{arrow}|ibeam|watch|topl|topr|botl|botr|left|top|right|bottom|circle|cross|fleur|custom|hand"),
727 pointershapecdata (
"pointershapecdata", mh,
Matrix (16, 16, 0)),
728 pointershapehotspot (
"pointershapehotspot", mh,
Matrix (1, 2, 0)),
730 renderer (
"renderer", mh,
"{painters}|zbuffer|opengl|none"),
731 renderermode (
"renderermode", mh,
"{auto}|manual"),
732 resize (
"resize", mh,
"on"),
733 resizefcn (
"resizefcn", mh,
Matrix ()),
734 selectiontype (
"selectiontype", mh,
"{normal}|open|alt|extend"),
735 toolbar (
"toolbar", mh,
"none|{auto}|figure"),
736 units (
"units", mh,
"inches|centimeters|normalized|points|{pixels}|characters"),
737 windowbuttondownfcn (
"windowbuttondownfcn", mh,
Matrix ()),
738 windowbuttonmotionfcn (
"windowbuttonmotionfcn", mh,
Matrix ()),
739 windowbuttonupfcn (
"windowbuttonupfcn", mh,
Matrix ()),
740 windowkeypressfcn (
"windowkeypressfcn", mh,
Matrix ()),
741 windowkeyreleasefcn (
"windowkeyreleasefcn", mh,
Matrix ()),
742 windowscrollwheelfcn (
"windowscrollwheelfcn", mh,
Matrix ()),
743 windowstyle (
"windowstyle", mh,
"{normal}|modal|docked"),
744 wvisual (
"wvisual", mh,
""),
745 wvisualmode (
"wvisualmode", mh,
"{auto}|manual"),
746 xdisplay (
"xdisplay", mh,
""),
747 xvisual (
"xvisual", mh,
""),
748 xvisualmode (
"xvisualmode", mh,
"{auto}|manual"),
749 __mouse_mode__ (
"__mouse_mode__", mh,
"{none}|pan|rotate|select|text|zoom"),
750 __pan_mode__ (
"__pan_mode__", mh,
Matrix ()),
751 __rotate_mode__ (
"__rotate_mode__", mh,
Matrix ()),
752 __zoom_mode__ (
"__zoom_mode__", mh,
Matrix ()),
753 __enhanced__ (
"__enhanced__", mh,
"on"),
754 __graphics_toolkit__ (
"__graphics_toolkit__", mh,
gtk_manager::default_toolkit ()),
755 __guidata__ (
"__guidata__", mh,
Matrix ()),
756 __plot_stream__ (
"__plot_stream__", mh,
Matrix ())
831 const std::set<std::string>& pnames = all_property_names ();
839 error (
"set: \"%s\" is read-only", pname.c_str ());
843 if (pname.
compare (
"alphamap"))
845 else if (pname.
compare (
"buttondownfcn"))
846 set_buttondownfcn (val);
847 else if (pname.
compare (
"closerequestfcn"))
848 set_closerequestfcn (val);
849 else if (pname.
compare (
"color"))
851 else if (pname.
compare (
"colormap"))
853 else if (pname.
compare (
"currentaxes"))
854 set_currentaxes (val);
855 else if (pname.
compare (
"dockcontrols"))
856 set_dockcontrols (val);
857 else if (pname.
compare (
"doublebuffer"))
858 set_doublebuffer (val);
859 else if (pname.
compare (
"filename"))
861 else if (pname.
compare (
"integerhandle"))
862 set_integerhandle (val);
863 else if (pname.
compare (
"inverthardcopy"))
864 set_inverthardcopy (val);
865 else if (pname.
compare (
"keypressfcn"))
866 set_keypressfcn (val);
867 else if (pname.
compare (
"keyreleasefcn"))
868 set_keyreleasefcn (val);
869 else if (pname.
compare (
"menubar"))
871 else if (pname.
compare (
"mincolormap"))
872 set_mincolormap (val);
873 else if (pname.
compare (
"name"))
875 else if (pname.
compare (
"nextplot"))
877 else if (pname.
compare (
"numbertitle"))
878 set_numbertitle (val);
879 else if (pname.
compare (
"outerposition"))
880 set_outerposition (val);
881 else if (pname.
compare (
"paperorientation"))
882 set_paperorientation (val);
883 else if (pname.
compare (
"paperposition"))
884 set_paperposition (val);
885 else if (pname.
compare (
"paperpositionmode"))
886 set_paperpositionmode (val);
887 else if (pname.
compare (
"papersize"))
889 else if (pname.
compare (
"papertype"))
891 else if (pname.
compare (
"paperunits"))
892 set_paperunits (val);
893 else if (pname.
compare (
"pointer"))
895 else if (pname.
compare (
"pointershapecdata"))
896 set_pointershapecdata (val);
897 else if (pname.
compare (
"pointershapehotspot"))
898 set_pointershapehotspot (val);
899 else if (pname.
compare (
"position"))
901 else if (pname.
compare (
"renderer"))
903 else if (pname.
compare (
"renderermode"))
904 set_renderermode (val);
905 else if (pname.
compare (
"resize"))
907 else if (pname.
compare (
"resizefcn"))
909 else if (pname.
compare (
"selectiontype"))
910 set_selectiontype (val);
911 else if (pname.
compare (
"toolbar"))
913 else if (pname.
compare (
"units"))
915 else if (pname.
compare (
"windowbuttondownfcn"))
916 set_windowbuttondownfcn (val);
917 else if (pname.
compare (
"windowbuttonmotionfcn"))
918 set_windowbuttonmotionfcn (val);
919 else if (pname.
compare (
"windowbuttonupfcn"))
920 set_windowbuttonupfcn (val);
921 else if (pname.
compare (
"windowkeypressfcn"))
922 set_windowkeypressfcn (val);
923 else if (pname.
compare (
"windowkeyreleasefcn"))
924 set_windowkeyreleasefcn (val);
925 else if (pname.
compare (
"windowscrollwheelfcn"))
926 set_windowscrollwheelfcn (val);
927 else if (pname.
compare (
"windowstyle"))
928 set_windowstyle (val);
929 else if (pname.
compare (
"wvisual"))
931 else if (pname.
compare (
"wvisualmode"))
932 set_wvisualmode (val);
933 else if (pname.
compare (
"xdisplay"))
935 else if (pname.
compare (
"xvisual"))
937 else if (pname.
compare (
"xvisualmode"))
938 set_xvisualmode (val);
939 else if (pname.
compare (
"__mouse_mode__"))
940 set___mouse_mode__ (val);
941 else if (pname.
compare (
"__pan_mode__"))
942 set___pan_mode__ (val);
943 else if (pname.
compare (
"__rotate_mode__"))
944 set___rotate_mode__ (val);
945 else if (pname.
compare (
"__zoom_mode__"))
946 set___zoom_mode__ (val);
947 else if (pname.
compare (
"__enhanced__"))
948 set___enhanced__ (val);
949 else if (pname.
compare (
"__graphics_toolkit__"))
950 set___graphics_toolkit__ (val);
951 else if (pname.
compare (
"__guidata__"))
952 set___guidata__ (val);
953 else if (pname.
compare (
"__plot_stream__"))
954 set___plot_stream__ (val);
1040 const std::set<std::string>& pnames = all_property_names ();
1047 if (pname.
compare (
"alphamap"))
1048 retval = get_alphamap ();
1049 else if (pname.
compare (
"buttondownfcn"))
1050 retval = get_buttondownfcn ();
1051 else if (pname.
compare (
"closerequestfcn"))
1052 retval = get_closerequestfcn ();
1053 else if (pname.
compare (
"color"))
1054 retval = get_color ();
1055 else if (pname.
compare (
"colormap"))
1056 retval = get_colormap ();
1057 else if (pname.
compare (
"currentaxes"))
1058 retval = get_currentaxes ().as_octave_value ();
1059 else if (pname.
compare (
"currentcharacter"))
1060 retval = get_currentcharacter ();
1061 else if (pname.
compare (
"currentobject"))
1062 retval = get_currentobject ().as_octave_value ();
1063 else if (pname.
compare (
"currentpoint"))
1064 retval = get_currentpoint ();
1065 else if (pname.
compare (
"dockcontrols"))
1066 retval = get_dockcontrols ();
1067 else if (pname.
compare (
"doublebuffer"))
1068 retval = get_doublebuffer ();
1069 else if (pname.
compare (
"filename"))
1070 retval = get_filename ();
1071 else if (pname.
compare (
"integerhandle"))
1072 retval = get_integerhandle ();
1073 else if (pname.
compare (
"inverthardcopy"))
1074 retval = get_inverthardcopy ();
1075 else if (pname.
compare (
"keypressfcn"))
1076 retval = get_keypressfcn ();
1077 else if (pname.
compare (
"keyreleasefcn"))
1078 retval = get_keyreleasefcn ();
1079 else if (pname.
compare (
"menubar"))
1080 retval = get_menubar ();
1081 else if (pname.
compare (
"mincolormap"))
1082 retval = get_mincolormap ();
1083 else if (pname.
compare (
"name"))
1084 retval = get_name ();
1085 else if (pname.
compare (
"nextplot"))
1086 retval = get_nextplot ();
1087 else if (pname.
compare (
"numbertitle"))
1088 retval = get_numbertitle ();
1089 else if (pname.
compare (
"outerposition"))
1090 retval = get_outerposition ();
1091 else if (pname.
compare (
"paperorientation"))
1092 retval = get_paperorientation ();
1093 else if (pname.
compare (
"paperposition"))
1094 retval = get_paperposition ();
1095 else if (pname.
compare (
"paperpositionmode"))
1096 retval = get_paperpositionmode ();
1097 else if (pname.
compare (
"papersize"))
1098 retval = get_papersize ();
1099 else if (pname.
compare (
"papertype"))
1100 retval = get_papertype ();
1101 else if (pname.
compare (
"paperunits"))
1102 retval = get_paperunits ();
1103 else if (pname.
compare (
"pointer"))
1104 retval = get_pointer ();
1105 else if (pname.
compare (
"pointershapecdata"))
1106 retval = get_pointershapecdata ();
1107 else if (pname.
compare (
"pointershapehotspot"))
1108 retval = get_pointershapehotspot ();
1109 else if (pname.
compare (
"position"))
1110 retval = get_position ();
1111 else if (pname.
compare (
"renderer"))
1112 retval = get_renderer ();
1113 else if (pname.
compare (
"renderermode"))
1114 retval = get_renderermode ();
1115 else if (pname.
compare (
"resize"))
1116 retval = get_resize ();
1117 else if (pname.
compare (
"resizefcn"))
1118 retval = get_resizefcn ();
1119 else if (pname.
compare (
"selectiontype"))
1120 retval = get_selectiontype ();
1121 else if (pname.
compare (
"toolbar"))
1122 retval = get_toolbar ();
1123 else if (pname.
compare (
"units"))
1124 retval = get_units ();
1125 else if (pname.
compare (
"windowbuttondownfcn"))
1126 retval = get_windowbuttondownfcn ();
1127 else if (pname.
compare (
"windowbuttonmotionfcn"))
1128 retval = get_windowbuttonmotionfcn ();
1129 else if (pname.
compare (
"windowbuttonupfcn"))
1130 retval = get_windowbuttonupfcn ();
1131 else if (pname.
compare (
"windowkeypressfcn"))
1132 retval = get_windowkeypressfcn ();
1133 else if (pname.
compare (
"windowkeyreleasefcn"))
1134 retval = get_windowkeyreleasefcn ();
1135 else if (pname.
compare (
"windowscrollwheelfcn"))
1136 retval = get_windowscrollwheelfcn ();
1137 else if (pname.
compare (
"windowstyle"))
1138 retval = get_windowstyle ();
1139 else if (pname.
compare (
"wvisual"))
1140 retval = get_wvisual ();
1141 else if (pname.
compare (
"wvisualmode"))
1142 retval = get_wvisualmode ();
1143 else if (pname.
compare (
"xdisplay"))
1144 retval = get_xdisplay ();
1145 else if (pname.
compare (
"xvisual"))
1146 retval = get_xvisual ();
1147 else if (pname.
compare (
"xvisualmode"))
1148 retval = get_xvisualmode ();
1149 else if (pname.
compare (
"__mouse_mode__"))
1150 retval = get___mouse_mode__ ();
1151 else if (pname.
compare (
"__pan_mode__"))
1152 retval = get___pan_mode__ ();
1153 else if (pname.
compare (
"__rotate_mode__"))
1154 retval = get___rotate_mode__ ();
1155 else if (pname.
compare (
"__zoom_mode__"))
1156 retval = get___zoom_mode__ ();
1157 else if (pname.
compare (
"__enhanced__"))
1158 retval = get___enhanced__ ();
1159 else if (pname.
compare (
"__graphics_toolkit__"))
1160 retval = get___graphics_toolkit__ ();
1161 else if (pname.
compare (
"__guidata__"))
1162 retval = get___guidata__ ();
1163 else if (pname.
compare (
"__plot_stream__"))
1164 retval = get___plot_stream__ ();
1174 const std::set<std::string>& pnames = all_property_names ();
1181 if (pname.
compare (
"alphamap"))
1183 else if (pname.
compare (
"buttondownfcn"))
1184 return property (&buttondownfcn,
true);
1185 else if (pname.
compare (
"closerequestfcn"))
1186 return property (&closerequestfcn,
true);
1187 else if (pname.
compare (
"color"))
1189 else if (pname.
compare (
"colormap"))
1191 else if (pname.
compare (
"currentaxes"))
1192 return property (¤taxes,
true);
1193 else if (pname.
compare (
"currentcharacter"))
1194 return property (¤tcharacter,
true);
1195 else if (pname.
compare (
"currentobject"))
1196 return property (¤tobject,
true);
1197 else if (pname.
compare (
"currentpoint"))
1198 return property (¤tpoint,
true);
1199 else if (pname.
compare (
"dockcontrols"))
1200 return property (&dockcontrols,
true);
1201 else if (pname.
compare (
"doublebuffer"))
1202 return property (&doublebuffer,
true);
1203 else if (pname.
compare (
"filename"))
1205 else if (pname.
compare (
"integerhandle"))
1206 return property (&integerhandle,
true);
1207 else if (pname.
compare (
"inverthardcopy"))
1208 return property (&inverthardcopy,
true);
1209 else if (pname.
compare (
"keypressfcn"))
1210 return property (&keypressfcn,
true);
1211 else if (pname.
compare (
"keyreleasefcn"))
1212 return property (&keyreleasefcn,
true);
1213 else if (pname.
compare (
"menubar"))
1215 else if (pname.
compare (
"mincolormap"))
1216 return property (&mincolormap,
true);
1217 else if (pname.
compare (
"name"))
1219 else if (pname.
compare (
"nextplot"))
1221 else if (pname.
compare (
"numbertitle"))
1222 return property (&numbertitle,
true);
1223 else if (pname.
compare (
"outerposition"))
1224 return property (&outerposition,
true);
1225 else if (pname.
compare (
"paperorientation"))
1226 return property (&paperorientation,
true);
1227 else if (pname.
compare (
"paperposition"))
1228 return property (&paperposition,
true);
1229 else if (pname.
compare (
"paperpositionmode"))
1230 return property (&paperpositionmode,
true);
1231 else if (pname.
compare (
"papersize"))
1232 return property (&papersize,
true);
1233 else if (pname.
compare (
"papertype"))
1234 return property (&papertype,
true);
1235 else if (pname.
compare (
"paperunits"))
1236 return property (&paperunits,
true);
1237 else if (pname.
compare (
"pointer"))
1239 else if (pname.
compare (
"pointershapecdata"))
1240 return property (&pointershapecdata,
true);
1241 else if (pname.
compare (
"pointershapehotspot"))
1242 return property (&pointershapehotspot,
true);
1243 else if (pname.
compare (
"position"))
1245 else if (pname.
compare (
"renderer"))
1247 else if (pname.
compare (
"renderermode"))
1248 return property (&renderermode,
true);
1249 else if (pname.
compare (
"resize"))
1251 else if (pname.
compare (
"resizefcn"))
1252 return property (&resizefcn,
true);
1253 else if (pname.
compare (
"selectiontype"))
1254 return property (&selectiontype,
true);
1255 else if (pname.
compare (
"toolbar"))
1257 else if (pname.
compare (
"units"))
1259 else if (pname.
compare (
"windowbuttondownfcn"))
1260 return property (&windowbuttondownfcn,
true);
1261 else if (pname.
compare (
"windowbuttonmotionfcn"))
1262 return property (&windowbuttonmotionfcn,
true);
1263 else if (pname.
compare (
"windowbuttonupfcn"))
1264 return property (&windowbuttonupfcn,
true);
1265 else if (pname.
compare (
"windowkeypressfcn"))
1266 return property (&windowkeypressfcn,
true);
1267 else if (pname.
compare (
"windowkeyreleasefcn"))
1268 return property (&windowkeyreleasefcn,
true);
1269 else if (pname.
compare (
"windowscrollwheelfcn"))
1270 return property (&windowscrollwheelfcn,
true);
1271 else if (pname.
compare (
"windowstyle"))
1272 return property (&windowstyle,
true);
1273 else if (pname.
compare (
"wvisual"))
1275 else if (pname.
compare (
"wvisualmode"))
1276 return property (&wvisualmode,
true);
1277 else if (pname.
compare (
"xdisplay"))
1279 else if (pname.
compare (
"xvisual"))
1281 else if (pname.
compare (
"xvisualmode"))
1282 return property (&xvisualmode,
true);
1283 else if (pname.
compare (
"__mouse_mode__"))
1284 return property (&__mouse_mode__,
true);
1285 else if (pname.
compare (
"__pan_mode__"))
1286 return property (&__pan_mode__,
true);
1287 else if (pname.
compare (
"__rotate_mode__"))
1288 return property (&__rotate_mode__,
true);
1289 else if (pname.
compare (
"__zoom_mode__"))
1290 return property (&__zoom_mode__,
true);
1291 else if (pname.
compare (
"__enhanced__"))
1292 return property (&__enhanced__,
true);
1293 else if (pname.
compare (
"__graphics_toolkit__"))
1294 return property (&__graphics_toolkit__,
true);
1295 else if (pname.
compare (
"__guidata__"))
1296 return property (&__guidata__,
true);
1297 else if (pname.
compare (
"__plot_stream__"))
1298 return property (&__plot_stream__,
true);
1308 m[
"alphamap"] =
Matrix (64, 1, 1);
1309 m[
"buttondownfcn"] =
Matrix ();
1310 m[
"closerequestfcn"] =
"closereq";
1314 m[
"currentcharacter"] =
"";
1316 m[
"currentpoint"] =
Matrix (2, 1, 0);
1317 m[
"dockcontrols"] =
"off";
1318 m[
"doublebuffer"] =
"on";
1320 m[
"integerhandle"] =
"on";
1321 m[
"inverthardcopy"] =
"off";
1322 m[
"keypressfcn"] =
Matrix ();
1323 m[
"keyreleasefcn"] =
Matrix ();
1324 m[
"menubar"] =
"figure";
1325 m[
"mincolormap"] = 64;
1327 m[
"nextplot"] =
"add";
1328 m[
"numbertitle"] =
"on";
1329 m[
"outerposition"] =
Matrix (1, 4, -1.0);
1330 m[
"paperorientation"] =
"portrait";
1332 m[
"paperpositionmode"] =
"manual";
1334 m[
"papertype"] =
"usletter";
1335 m[
"paperunits"] =
"inches";
1336 m[
"pointer"] =
"arrow";
1337 m[
"pointershapecdata"] =
Matrix (16, 16, 0);
1338 m[
"pointershapehotspot"] =
Matrix (1, 2, 0);
1340 m[
"renderer"] =
"painters";
1341 m[
"renderermode"] =
"auto";
1343 m[
"resizefcn"] =
Matrix ();
1344 m[
"selectiontype"] =
"normal";
1345 m[
"toolbar"] =
"auto";
1346 m[
"units"] =
"pixels";
1347 m[
"windowbuttondownfcn"] =
Matrix ();
1348 m[
"windowbuttonmotionfcn"] =
Matrix ();
1349 m[
"windowbuttonupfcn"] =
Matrix ();
1350 m[
"windowkeypressfcn"] =
Matrix ();
1351 m[
"windowkeyreleasefcn"] =
Matrix ();
1352 m[
"windowscrollwheelfcn"] =
Matrix ();
1353 m[
"windowstyle"] =
"normal";
1355 m[
"wvisualmode"] =
"auto";
1358 m[
"xvisualmode"] =
"auto";
1359 m[
"__mouse_mode__"] =
"none";
1360 m[
"__pan_mode__"] =
Matrix ();
1361 m[
"__rotate_mode__"] =
Matrix ();
1362 m[
"__zoom_mode__"] =
Matrix ();
1363 m[
"__enhanced__"] =
"on";
1365 m[
"__guidata__"] =
Matrix ();
1366 m[
"__plot_stream__"] =
Matrix ();
1373 std::set<std::string>
1376 static std::set<std::string> all_pnames;
1378 static bool initialized =
false;
1382 all_pnames.insert (
"alphamap");
1383 all_pnames.insert (
"buttondownfcn");
1384 all_pnames.insert (
"closerequestfcn");
1385 all_pnames.insert (
"color");
1386 all_pnames.insert (
"colormap");
1387 all_pnames.insert (
"currentaxes");
1388 all_pnames.insert (
"currentcharacter");
1389 all_pnames.insert (
"currentobject");
1390 all_pnames.insert (
"currentpoint");
1391 all_pnames.insert (
"dockcontrols");
1392 all_pnames.insert (
"doublebuffer");
1393 all_pnames.insert (
"filename");
1394 all_pnames.insert (
"integerhandle");
1395 all_pnames.insert (
"inverthardcopy");
1396 all_pnames.insert (
"keypressfcn");
1397 all_pnames.insert (
"keyreleasefcn");
1398 all_pnames.insert (
"menubar");
1399 all_pnames.insert (
"mincolormap");
1400 all_pnames.insert (
"name");
1401 all_pnames.insert (
"nextplot");
1402 all_pnames.insert (
"numbertitle");
1403 all_pnames.insert (
"outerposition");
1404 all_pnames.insert (
"paperorientation");
1405 all_pnames.insert (
"paperposition");
1406 all_pnames.insert (
"paperpositionmode");
1407 all_pnames.insert (
"papersize");
1408 all_pnames.insert (
"papertype");
1409 all_pnames.insert (
"paperunits");
1410 all_pnames.insert (
"pointer");
1411 all_pnames.insert (
"pointershapecdata");
1412 all_pnames.insert (
"pointershapehotspot");
1413 all_pnames.insert (
"position");
1414 all_pnames.insert (
"renderer");
1415 all_pnames.insert (
"renderermode");
1416 all_pnames.insert (
"resize");
1417 all_pnames.insert (
"resizefcn");
1418 all_pnames.insert (
"selectiontype");
1419 all_pnames.insert (
"toolbar");
1420 all_pnames.insert (
"units");
1421 all_pnames.insert (
"windowbuttondownfcn");
1422 all_pnames.insert (
"windowbuttonmotionfcn");
1423 all_pnames.insert (
"windowbuttonupfcn");
1424 all_pnames.insert (
"windowkeypressfcn");
1425 all_pnames.insert (
"windowkeyreleasefcn");
1426 all_pnames.insert (
"windowscrollwheelfcn");
1427 all_pnames.insert (
"windowstyle");
1428 all_pnames.insert (
"wvisual");
1429 all_pnames.insert (
"wvisualmode");
1430 all_pnames.insert (
"xdisplay");
1431 all_pnames.insert (
"xvisual");
1432 all_pnames.insert (
"xvisualmode");
1433 all_pnames.insert (
"__mouse_mode__");
1434 all_pnames.insert (
"__pan_mode__");
1435 all_pnames.insert (
"__rotate_mode__");
1436 all_pnames.insert (
"__zoom_mode__");
1437 all_pnames.insert (
"__enhanced__");
1438 all_pnames.insert (
"__graphics_toolkit__");
1439 all_pnames.insert (
"__guidata__");
1440 all_pnames.insert (
"__plot_stream__");
1443 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
1454 std::set<std::string> pnames = core_property_names ();
1456 return pnames.find (pname) != pnames.end ();
1459 std::set<std::string>
1462 static std::set<std::string> all_pnames;
1464 static bool initialized =
false;
1468 all_pnames.insert (
"currentcharacter");
1469 all_pnames.insert (
"currentobject");
1470 all_pnames.insert (
"currentpoint");
1473 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
1484 std::set<std::string> pnames = readonly_property_names ();
1486 return pnames.find (pname) != pnames.end ();
1489 std::set<std::string>
1492 static std::set<std::string> all_pnames = core_property_names ();
1494 std::set<std::string> retval = all_pnames;
1496 retval.insert (base_props.begin (), base_props.end ());
1504 std::set<std::string> pnames = all_property_names ();
1506 return pnames.find (pname) != pnames.end ();
1513 activepositionproperty (
"activepositionproperty", mh,
"{outerposition}|position"),
1515 alimmode (
"alimmode", mh,
"{auto}|manual"),
1516 ambientlightcolor (
"ambientlightcolor", mh,
color_values (1, 1, 1)),
1517 box (
"box", mh,
"on"),
1518 cameraposition (
"cameraposition", mh,
Matrix (1, 3, 0.0)),
1519 camerapositionmode (
"camerapositionmode", mh,
"{auto}|manual"),
1520 cameratarget (
"cameratarget", mh,
Matrix (1, 3, 0.0)),
1521 cameratargetmode (
"cameratargetmode", mh,
"{auto}|manual"),
1522 cameraupvector (
"cameraupvector", mh,
Matrix (1, 3, 0.0)),
1523 cameraupvectormode (
"cameraupvectormode", mh,
"{auto}|manual"),
1524 cameraviewangle (
"cameraviewangle", mh, 10.0),
1525 cameraviewanglemode (
"cameraviewanglemode", mh,
"{auto}|manual"),
1527 climmode (
"climmode", mh,
"{auto}|manual"),
1530 currentpoint (
"currentpoint", mh,
Matrix (2, 3, 0.0)),
1531 dataaspectratio (
"dataaspectratio", mh,
Matrix (1, 3, 1.0)),
1532 dataaspectratiomode (
"dataaspectratiomode", mh,
"{auto}|manual"),
1533 drawmode (
"drawmode", mh,
"{normal}|fast"),
1534 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
1536 fontsize (
"fontsize", mh, 10),
1537 fontunits (
"fontunits", mh,
"{points}|normalized|inches|centimeters|pixels"),
1538 fontweight (
"fontweight", mh,
"{normal}|light|demi|bold"),
1539 gridlinestyle (
"gridlinestyle", mh,
"-|--|{:}|-.|none"),
1540 interpreter (
"interpreter", mh,
"tex|{none}|latex"),
1541 layer (
"layer", mh,
"{bottom}|top"),
1542 linestyleorder (
"linestyleorder", mh,
"-"),
1543 linewidth (
"linewidth", mh, 0.5),
1544 minorgridlinestyle (
"minorgridlinestyle", mh,
"-|--|{:}|-.|none"),
1545 mousewheelzoom (
"mousewheelzoom", mh, 0.5),
1546 nextplot (
"nextplot", mh,
"add|replacechildren|{replace}"),
1548 plotboxaspectratio (
"plotboxaspectratio", mh,
Matrix (1, 3, 1.0)),
1549 plotboxaspectratiomode (
"plotboxaspectratiomode", mh,
"{auto}|manual"),
1551 projection (
"projection", mh,
"{orthographic}|perspective"),
1552 tickdir (
"tickdir", mh,
"{in}|out"),
1553 tickdirmode (
"tickdirmode", mh,
"{auto}|manual"),
1555 tightinset (
"tightinset", mh,
Matrix (1, 4, 0.0)),
1556 title (
"title", mh,
gh_manager::make_graphics_handle (
"text", __myhandle__, false, false, false)),
1557 units (
"units", mh,
"{normalized}|inches|centimeters|points|pixels|characters"),
1559 xaxislocation (
"xaxislocation", mh,
"{bottom}|top|zero"),
1561 xdir (
"xdir", mh,
"{normal}|reverse"),
1562 xgrid (
"xgrid", mh,
"off"),
1563 xlabel (
"xlabel", mh,
gh_manager::make_graphics_handle (
"text", __myhandle__, false, false, false)),
1565 xlimmode (
"xlimmode", mh,
"{auto}|manual"),
1566 xminorgrid (
"xminorgrid", mh,
"off"),
1567 xminortick (
"xminortick", mh,
"off"),
1568 xscale (
"xscale", mh,
"{linear}|log"),
1570 xticklabel (
"xticklabel", mh,
""),
1571 xticklabelmode (
"xticklabelmode", mh,
"{auto}|manual"),
1572 xtickmode (
"xtickmode", mh,
"{auto}|manual"),
1573 yaxislocation (
"yaxislocation", mh,
"{left}|right|zero"),
1575 ydir (
"ydir", mh,
"{normal}|reverse"),
1576 ygrid (
"ygrid", mh,
"off"),
1577 ylabel (
"ylabel", mh,
gh_manager::make_graphics_handle (
"text", __myhandle__, false, false, false)),
1579 ylimmode (
"ylimmode", mh,
"{auto}|manual"),
1580 yminorgrid (
"yminorgrid", mh,
"off"),
1581 yminortick (
"yminortick", mh,
"off"),
1582 yscale (
"yscale", mh,
"{linear}|log"),
1584 yticklabel (
"yticklabel", mh,
""),
1585 yticklabelmode (
"yticklabelmode", mh,
"{auto}|manual"),
1586 ytickmode (
"ytickmode", mh,
"{auto}|manual"),
1588 zdir (
"zdir", mh,
"{normal}|reverse"),
1589 zgrid (
"zgrid", mh,
"off"),
1590 zlabel (
"zlabel", mh,
gh_manager::make_graphics_handle (
"text", __myhandle__, false, false, false)),
1592 zlimmode (
"zlimmode", mh,
"{auto}|manual"),
1593 zminorgrid (
"zminorgrid", mh,
"off"),
1594 zminortick (
"zminortick", mh,
"off"),
1595 zscale (
"zscale", mh,
"{linear}|log"),
1597 zticklabel (
"zticklabel", mh,
""),
1598 zticklabelmode (
"zticklabelmode", mh,
"{auto}|manual"),
1599 ztickmode (
"ztickmode", mh,
"{auto}|manual"),
1600 __hold_all__ (
"__hold_all__", mh,
"off"),
1601 autopos_tag (
"autopos_tag", mh,
"{none}|subplot"),
1602 looseinset (
"looseinset", mh,
Matrix (1, 4, 0.0)),
1603 x_viewtransform (
"x_viewtransform", mh,
Matrix (4, 4, 0.0)),
1604 x_projectiontransform (
"x_projectiontransform", mh,
Matrix (4, 4, 0.0)),
1605 x_viewporttransform (
"x_viewporttransform", mh,
Matrix (4, 4, 0.0)),
1606 x_normrendertransform (
"x_normrendertransform", mh,
Matrix (4, 4, 0.0)),
1607 x_rendertransform (
"x_rendertransform", mh,
Matrix (4, 4, 0.0)),
1608 xmtick (
"xmtick", mh,
Matrix ()),
1609 ymtick (
"ymtick", mh,
Matrix ()),
1610 zmtick (
"zmtick", mh,
Matrix ()),
1611 fontsize_points (
"fontsize_points", mh, 0)
1730 const std::set<std::string>& pnames = all_property_names ();
1738 error (
"set: \"%s\" is read-only", pname.c_str ());
1742 if (pname.
compare (
"activepositionproperty"))
1743 set_activepositionproperty (val);
1744 else if (pname.
compare (
"alim"))
1746 else if (pname.
compare (
"alimmode"))
1748 else if (pname.
compare (
"ambientlightcolor"))
1749 set_ambientlightcolor (val);
1750 else if (pname.
compare (
"box"))
1752 else if (pname.
compare (
"cameraposition"))
1753 set_cameraposition (val);
1754 else if (pname.
compare (
"camerapositionmode"))
1755 set_camerapositionmode (val);
1756 else if (pname.
compare (
"cameratarget"))
1757 set_cameratarget (val);
1758 else if (pname.
compare (
"cameratargetmode"))
1759 set_cameratargetmode (val);
1760 else if (pname.
compare (
"cameraupvector"))
1761 set_cameraupvector (val);
1762 else if (pname.
compare (
"cameraupvectormode"))
1763 set_cameraupvectormode (val);
1764 else if (pname.
compare (
"cameraviewangle"))
1765 set_cameraviewangle (val);
1766 else if (pname.
compare (
"cameraviewanglemode"))
1767 set_cameraviewanglemode (val);
1768 else if (pname.
compare (
"clim"))
1770 else if (pname.
compare (
"climmode"))
1772 else if (pname.
compare (
"color"))
1774 else if (pname.
compare (
"colororder"))
1775 set_colororder (val);
1776 else if (pname.
compare (
"currentpoint"))
1777 set_currentpoint (val);
1778 else if (pname.
compare (
"dataaspectratio"))
1779 set_dataaspectratio (val);
1780 else if (pname.
compare (
"dataaspectratiomode"))
1781 set_dataaspectratiomode (val);
1782 else if (pname.
compare (
"drawmode"))
1784 else if (pname.
compare (
"fontangle"))
1785 set_fontangle (val);
1786 else if (pname.
compare (
"fontname"))
1788 else if (pname.
compare (
"fontsize"))
1790 else if (pname.
compare (
"fontunits"))
1791 set_fontunits (val);
1792 else if (pname.
compare (
"fontweight"))
1793 set_fontweight (val);
1794 else if (pname.
compare (
"gridlinestyle"))
1795 set_gridlinestyle (val);
1796 else if (pname.
compare (
"interpreter"))
1797 set_interpreter (val);
1798 else if (pname.
compare (
"layer"))
1800 else if (pname.
compare (
"linestyleorder"))
1801 set_linestyleorder (val);
1802 else if (pname.
compare (
"linewidth"))
1803 set_linewidth (val);
1804 else if (pname.
compare (
"minorgridlinestyle"))
1805 set_minorgridlinestyle (val);
1806 else if (pname.
compare (
"mousewheelzoom"))
1807 set_mousewheelzoom (val);
1808 else if (pname.
compare (
"nextplot"))
1810 else if (pname.
compare (
"outerposition"))
1811 set_outerposition (val);
1812 else if (pname.
compare (
"plotboxaspectratio"))
1813 set_plotboxaspectratio (val);
1814 else if (pname.
compare (
"plotboxaspectratiomode"))
1815 set_plotboxaspectratiomode (val);
1816 else if (pname.
compare (
"position"))
1818 else if (pname.
compare (
"projection"))
1819 set_projection (val);
1820 else if (pname.
compare (
"tickdir"))
1822 else if (pname.
compare (
"tickdirmode"))
1823 set_tickdirmode (val);
1824 else if (pname.
compare (
"ticklength"))
1825 set_ticklength (val);
1826 else if (pname.
compare (
"title"))
1828 else if (pname.
compare (
"units"))
1830 else if (pname.
compare (
"view"))
1832 else if (pname.
compare (
"xaxislocation"))
1833 set_xaxislocation (val);
1834 else if (pname.
compare (
"xcolor"))
1836 else if (pname.
compare (
"xdir"))
1838 else if (pname.
compare (
"xgrid"))
1840 else if (pname.
compare (
"xlabel"))
1842 else if (pname.
compare (
"xlim"))
1844 else if (pname.
compare (
"xlimmode"))
1846 else if (pname.
compare (
"xminorgrid"))
1847 set_xminorgrid (val);
1848 else if (pname.
compare (
"xminortick"))
1849 set_xminortick (val);
1850 else if (pname.
compare (
"xscale"))
1852 else if (pname.
compare (
"xtick"))
1854 else if (pname.
compare (
"xticklabel"))
1855 set_xticklabel (val);
1856 else if (pname.
compare (
"xticklabelmode"))
1857 set_xticklabelmode (val);
1858 else if (pname.
compare (
"xtickmode"))
1859 set_xtickmode (val);
1860 else if (pname.
compare (
"yaxislocation"))
1861 set_yaxislocation (val);
1862 else if (pname.
compare (
"ycolor"))
1864 else if (pname.
compare (
"ydir"))
1866 else if (pname.
compare (
"ygrid"))
1868 else if (pname.
compare (
"ylabel"))
1870 else if (pname.
compare (
"ylim"))
1872 else if (pname.
compare (
"ylimmode"))
1874 else if (pname.
compare (
"yminorgrid"))
1875 set_yminorgrid (val);
1876 else if (pname.
compare (
"yminortick"))
1877 set_yminortick (val);
1878 else if (pname.
compare (
"yscale"))
1880 else if (pname.
compare (
"ytick"))
1882 else if (pname.
compare (
"yticklabel"))
1883 set_yticklabel (val);
1884 else if (pname.
compare (
"yticklabelmode"))
1885 set_yticklabelmode (val);
1886 else if (pname.
compare (
"ytickmode"))
1887 set_ytickmode (val);
1888 else if (pname.
compare (
"zcolor"))
1890 else if (pname.
compare (
"zdir"))
1892 else if (pname.
compare (
"zgrid"))
1894 else if (pname.
compare (
"zlabel"))
1896 else if (pname.
compare (
"zlim"))
1898 else if (pname.
compare (
"zlimmode"))
1900 else if (pname.
compare (
"zminorgrid"))
1901 set_zminorgrid (val);
1902 else if (pname.
compare (
"zminortick"))
1903 set_zminortick (val);
1904 else if (pname.
compare (
"zscale"))
1906 else if (pname.
compare (
"ztick"))
1908 else if (pname.
compare (
"zticklabel"))
1909 set_zticklabel (val);
1910 else if (pname.
compare (
"zticklabelmode"))
1911 set_zticklabelmode (val);
1912 else if (pname.
compare (
"ztickmode"))
1913 set_ztickmode (val);
1914 else if (pname.
compare (
"__hold_all__"))
1915 set___hold_all__ (val);
1916 else if (pname.
compare (
"autopos_tag"))
1917 set_autopos_tag (val);
1918 else if (pname.
compare (
"looseinset"))
1919 set_looseinset (val);
1920 else if (pname.
compare (
"x_viewtransform"))
1921 set_x_viewtransform (val);
1922 else if (pname.
compare (
"x_projectiontransform"))
1923 set_x_projectiontransform (val);
1924 else if (pname.
compare (
"x_viewporttransform"))
1925 set_x_viewporttransform (val);
1926 else if (pname.
compare (
"x_normrendertransform"))
1927 set_x_normrendertransform (val);
1928 else if (pname.
compare (
"x_rendertransform"))
1929 set_x_rendertransform (val);
1930 else if (pname.
compare (
"xmtick"))
1932 else if (pname.
compare (
"ymtick"))
1934 else if (pname.
compare (
"zmtick"))
2065 const std::set<std::string>& pnames = all_property_names ();
2072 if (pname.
compare (
"activepositionproperty"))
2073 retval = get_activepositionproperty ();
2074 else if (pname.
compare (
"alim"))
2075 retval = get_alim ();
2076 else if (pname.
compare (
"alimmode"))
2077 retval = get_alimmode ();
2078 else if (pname.
compare (
"ambientlightcolor"))
2079 retval = get_ambientlightcolor ();
2080 else if (pname.
compare (
"box"))
2081 retval = get_box ();
2082 else if (pname.
compare (
"cameraposition"))
2083 retval = get_cameraposition ();
2084 else if (pname.
compare (
"camerapositionmode"))
2085 retval = get_camerapositionmode ();
2086 else if (pname.
compare (
"cameratarget"))
2087 retval = get_cameratarget ();
2088 else if (pname.
compare (
"cameratargetmode"))
2089 retval = get_cameratargetmode ();
2090 else if (pname.
compare (
"cameraupvector"))
2091 retval = get_cameraupvector ();
2092 else if (pname.
compare (
"cameraupvectormode"))
2093 retval = get_cameraupvectormode ();
2094 else if (pname.
compare (
"cameraviewangle"))
2095 retval = get_cameraviewangle ();
2096 else if (pname.
compare (
"cameraviewanglemode"))
2097 retval = get_cameraviewanglemode ();
2098 else if (pname.
compare (
"clim"))
2099 retval = get_clim ();
2100 else if (pname.
compare (
"climmode"))
2101 retval = get_climmode ();
2102 else if (pname.
compare (
"color"))
2103 retval = get_color ();
2104 else if (pname.
compare (
"colororder"))
2105 retval = get_colororder ();
2106 else if (pname.
compare (
"currentpoint"))
2107 retval = get_currentpoint ();
2108 else if (pname.
compare (
"dataaspectratio"))
2109 retval = get_dataaspectratio ();
2110 else if (pname.
compare (
"dataaspectratiomode"))
2111 retval = get_dataaspectratiomode ();
2112 else if (pname.
compare (
"drawmode"))
2113 retval = get_drawmode ();
2114 else if (pname.
compare (
"fontangle"))
2115 retval = get_fontangle ();
2116 else if (pname.
compare (
"fontname"))
2117 retval = get_fontname ();
2118 else if (pname.
compare (
"fontsize"))
2119 retval = get_fontsize ();
2120 else if (pname.
compare (
"fontunits"))
2121 retval = get_fontunits ();
2122 else if (pname.
compare (
"fontweight"))
2123 retval = get_fontweight ();
2124 else if (pname.
compare (
"gridlinestyle"))
2125 retval = get_gridlinestyle ();
2126 else if (pname.
compare (
"interpreter"))
2127 retval = get_interpreter ();
2128 else if (pname.
compare (
"layer"))
2129 retval = get_layer ();
2130 else if (pname.
compare (
"linestyleorder"))
2131 retval = get_linestyleorder ();
2132 else if (pname.
compare (
"linewidth"))
2133 retval = get_linewidth ();
2134 else if (pname.
compare (
"minorgridlinestyle"))
2135 retval = get_minorgridlinestyle ();
2136 else if (pname.
compare (
"mousewheelzoom"))
2137 retval = get_mousewheelzoom ();
2138 else if (pname.
compare (
"nextplot"))
2139 retval = get_nextplot ();
2140 else if (pname.
compare (
"outerposition"))
2141 retval = get_outerposition ();
2142 else if (pname.
compare (
"plotboxaspectratio"))
2143 retval = get_plotboxaspectratio ();
2144 else if (pname.
compare (
"plotboxaspectratiomode"))
2145 retval = get_plotboxaspectratiomode ();
2146 else if (pname.
compare (
"position"))
2147 retval = get_position ();
2148 else if (pname.
compare (
"projection"))
2149 retval = get_projection ();
2150 else if (pname.
compare (
"tickdir"))
2151 retval = get_tickdir ();
2152 else if (pname.
compare (
"tickdirmode"))
2153 retval = get_tickdirmode ();
2154 else if (pname.
compare (
"ticklength"))
2155 retval = get_ticklength ();
2156 else if (pname.
compare (
"tightinset"))
2157 retval = get_tightinset ();
2158 else if (pname.
compare (
"title"))
2159 retval = get_title ().as_octave_value ();
2160 else if (pname.
compare (
"units"))
2161 retval = get_units ();
2162 else if (pname.
compare (
"view"))
2163 retval = get_view ();
2164 else if (pname.
compare (
"xaxislocation"))
2165 retval = get_xaxislocation ();
2166 else if (pname.
compare (
"xcolor"))
2167 retval = get_xcolor ();
2168 else if (pname.
compare (
"xdir"))
2169 retval = get_xdir ();
2170 else if (pname.
compare (
"xgrid"))
2171 retval = get_xgrid ();
2172 else if (pname.
compare (
"xlabel"))
2173 retval = get_xlabel ().as_octave_value ();
2174 else if (pname.
compare (
"xlim"))
2175 retval = get_xlim ();
2176 else if (pname.
compare (
"xlimmode"))
2177 retval = get_xlimmode ();
2178 else if (pname.
compare (
"xminorgrid"))
2179 retval = get_xminorgrid ();
2180 else if (pname.
compare (
"xminortick"))
2181 retval = get_xminortick ();
2182 else if (pname.
compare (
"xscale"))
2183 retval = get_xscale ();
2184 else if (pname.
compare (
"xtick"))
2185 retval = get_xtick ();
2186 else if (pname.
compare (
"xticklabel"))
2187 retval = get_xticklabel ();
2188 else if (pname.
compare (
"xticklabelmode"))
2189 retval = get_xticklabelmode ();
2190 else if (pname.
compare (
"xtickmode"))
2191 retval = get_xtickmode ();
2192 else if (pname.
compare (
"yaxislocation"))
2193 retval = get_yaxislocation ();
2194 else if (pname.
compare (
"ycolor"))
2195 retval = get_ycolor ();
2196 else if (pname.
compare (
"ydir"))
2197 retval = get_ydir ();
2198 else if (pname.
compare (
"ygrid"))
2199 retval = get_ygrid ();
2200 else if (pname.
compare (
"ylabel"))
2201 retval = get_ylabel ().as_octave_value ();
2202 else if (pname.
compare (
"ylim"))
2203 retval = get_ylim ();
2204 else if (pname.
compare (
"ylimmode"))
2205 retval = get_ylimmode ();
2206 else if (pname.
compare (
"yminorgrid"))
2207 retval = get_yminorgrid ();
2208 else if (pname.
compare (
"yminortick"))
2209 retval = get_yminortick ();
2210 else if (pname.
compare (
"yscale"))
2211 retval = get_yscale ();
2212 else if (pname.
compare (
"ytick"))
2213 retval = get_ytick ();
2214 else if (pname.
compare (
"yticklabel"))
2215 retval = get_yticklabel ();
2216 else if (pname.
compare (
"yticklabelmode"))
2217 retval = get_yticklabelmode ();
2218 else if (pname.
compare (
"ytickmode"))
2219 retval = get_ytickmode ();
2220 else if (pname.
compare (
"zcolor"))
2221 retval = get_zcolor ();
2222 else if (pname.
compare (
"zdir"))
2223 retval = get_zdir ();
2224 else if (pname.
compare (
"zgrid"))
2225 retval = get_zgrid ();
2226 else if (pname.
compare (
"zlabel"))
2227 retval = get_zlabel ().as_octave_value ();
2228 else if (pname.
compare (
"zlim"))
2229 retval = get_zlim ();
2230 else if (pname.
compare (
"zlimmode"))
2231 retval = get_zlimmode ();
2232 else if (pname.
compare (
"zminorgrid"))
2233 retval = get_zminorgrid ();
2234 else if (pname.
compare (
"zminortick"))
2235 retval = get_zminortick ();
2236 else if (pname.
compare (
"zscale"))
2237 retval = get_zscale ();
2238 else if (pname.
compare (
"ztick"))
2239 retval = get_ztick ();
2240 else if (pname.
compare (
"zticklabel"))
2241 retval = get_zticklabel ();
2242 else if (pname.
compare (
"zticklabelmode"))
2243 retval = get_zticklabelmode ();
2244 else if (pname.
compare (
"ztickmode"))
2245 retval = get_ztickmode ();
2246 else if (pname.
compare (
"__hold_all__"))
2247 retval = get___hold_all__ ();
2248 else if (pname.
compare (
"autopos_tag"))
2249 retval = get_autopos_tag ();
2250 else if (pname.
compare (
"looseinset"))
2251 retval = get_looseinset ();
2252 else if (pname.
compare (
"x_viewtransform"))
2253 retval = get_x_viewtransform ();
2254 else if (pname.
compare (
"x_projectiontransform"))
2255 retval = get_x_projectiontransform ();
2256 else if (pname.
compare (
"x_viewporttransform"))
2257 retval = get_x_viewporttransform ();
2258 else if (pname.
compare (
"x_normrendertransform"))
2259 retval = get_x_normrendertransform ();
2260 else if (pname.
compare (
"x_rendertransform"))
2261 retval = get_x_rendertransform ();
2262 else if (pname.
compare (
"xmtick"))
2263 retval = get_xmtick ();
2264 else if (pname.
compare (
"ymtick"))
2265 retval = get_ymtick ();
2266 else if (pname.
compare (
"zmtick"))
2267 retval = get_zmtick ();
2268 else if (pname.
compare (
"fontsize_points"))
2269 retval = get_fontsize_points ();
2279 const std::set<std::string>& pnames = all_property_names ();
2286 if (pname.
compare (
"activepositionproperty"))
2287 return property (&activepositionproperty,
true);
2288 else if (pname.
compare (
"alim"))
2290 else if (pname.
compare (
"alimmode"))
2292 else if (pname.
compare (
"ambientlightcolor"))
2293 return property (&ambientlightcolor,
true);
2294 else if (pname.
compare (
"box"))
2296 else if (pname.
compare (
"cameraposition"))
2297 return property (&cameraposition,
true);
2298 else if (pname.
compare (
"camerapositionmode"))
2299 return property (&camerapositionmode,
true);
2300 else if (pname.
compare (
"cameratarget"))
2301 return property (&cameratarget,
true);
2302 else if (pname.
compare (
"cameratargetmode"))
2303 return property (&cameratargetmode,
true);
2304 else if (pname.
compare (
"cameraupvector"))
2305 return property (&cameraupvector,
true);
2306 else if (pname.
compare (
"cameraupvectormode"))
2307 return property (&cameraupvectormode,
true);
2308 else if (pname.
compare (
"cameraviewangle"))
2309 return property (&cameraviewangle,
true);
2310 else if (pname.
compare (
"cameraviewanglemode"))
2311 return property (&cameraviewanglemode,
true);
2312 else if (pname.
compare (
"clim"))
2314 else if (pname.
compare (
"climmode"))
2316 else if (pname.
compare (
"color"))
2318 else if (pname.
compare (
"colororder"))
2319 return property (&colororder,
true);
2320 else if (pname.
compare (
"currentpoint"))
2321 return property (¤tpoint,
true);
2322 else if (pname.
compare (
"dataaspectratio"))
2323 return property (&dataaspectratio,
true);
2324 else if (pname.
compare (
"dataaspectratiomode"))
2325 return property (&dataaspectratiomode,
true);
2326 else if (pname.
compare (
"drawmode"))
2328 else if (pname.
compare (
"fontangle"))
2329 return property (&fontangle,
true);
2330 else if (pname.
compare (
"fontname"))
2332 else if (pname.
compare (
"fontsize"))
2334 else if (pname.
compare (
"fontunits"))
2335 return property (&fontunits,
true);
2336 else if (pname.
compare (
"fontweight"))
2337 return property (&fontweight,
true);
2338 else if (pname.
compare (
"gridlinestyle"))
2339 return property (&gridlinestyle,
true);
2340 else if (pname.
compare (
"interpreter"))
2341 return property (&interpreter,
true);
2342 else if (pname.
compare (
"layer"))
2344 else if (pname.
compare (
"linestyleorder"))
2345 return property (&linestyleorder,
true);
2346 else if (pname.
compare (
"linewidth"))
2347 return property (&linewidth,
true);
2348 else if (pname.
compare (
"minorgridlinestyle"))
2349 return property (&minorgridlinestyle,
true);
2350 else if (pname.
compare (
"mousewheelzoom"))
2351 return property (&mousewheelzoom,
true);
2352 else if (pname.
compare (
"nextplot"))
2354 else if (pname.
compare (
"outerposition"))
2355 return property (&outerposition,
true);
2356 else if (pname.
compare (
"plotboxaspectratio"))
2357 return property (&plotboxaspectratio,
true);
2358 else if (pname.
compare (
"plotboxaspectratiomode"))
2359 return property (&plotboxaspectratiomode,
true);
2360 else if (pname.
compare (
"position"))
2362 else if (pname.
compare (
"projection"))
2363 return property (&projection,
true);
2364 else if (pname.
compare (
"tickdir"))
2366 else if (pname.
compare (
"tickdirmode"))
2367 return property (&tickdirmode,
true);
2368 else if (pname.
compare (
"ticklength"))
2369 return property (&ticklength,
true);
2370 else if (pname.
compare (
"tightinset"))
2371 return property (&tightinset,
true);
2372 else if (pname.
compare (
"title"))
2374 else if (pname.
compare (
"units"))
2376 else if (pname.
compare (
"view"))
2378 else if (pname.
compare (
"xaxislocation"))
2379 return property (&xaxislocation,
true);
2380 else if (pname.
compare (
"xcolor"))
2382 else if (pname.
compare (
"xdir"))
2384 else if (pname.
compare (
"xgrid"))
2386 else if (pname.
compare (
"xlabel"))
2388 else if (pname.
compare (
"xlim"))
2390 else if (pname.
compare (
"xlimmode"))
2392 else if (pname.
compare (
"xminorgrid"))
2393 return property (&xminorgrid,
true);
2394 else if (pname.
compare (
"xminortick"))
2395 return property (&xminortick,
true);
2396 else if (pname.
compare (
"xscale"))
2398 else if (pname.
compare (
"xtick"))
2400 else if (pname.
compare (
"xticklabel"))
2401 return property (&xticklabel,
true);
2402 else if (pname.
compare (
"xticklabelmode"))
2403 return property (&xticklabelmode,
true);
2404 else if (pname.
compare (
"xtickmode"))
2405 return property (&xtickmode,
true);
2406 else if (pname.
compare (
"yaxislocation"))
2407 return property (&yaxislocation,
true);
2408 else if (pname.
compare (
"ycolor"))
2410 else if (pname.
compare (
"ydir"))
2412 else if (pname.
compare (
"ygrid"))
2414 else if (pname.
compare (
"ylabel"))
2416 else if (pname.
compare (
"ylim"))
2418 else if (pname.
compare (
"ylimmode"))
2420 else if (pname.
compare (
"yminorgrid"))
2421 return property (&yminorgrid,
true);
2422 else if (pname.
compare (
"yminortick"))
2423 return property (&yminortick,
true);
2424 else if (pname.
compare (
"yscale"))
2426 else if (pname.
compare (
"ytick"))
2428 else if (pname.
compare (
"yticklabel"))
2429 return property (&yticklabel,
true);
2430 else if (pname.
compare (
"yticklabelmode"))
2431 return property (&yticklabelmode,
true);
2432 else if (pname.
compare (
"ytickmode"))
2433 return property (&ytickmode,
true);
2434 else if (pname.
compare (
"zcolor"))
2436 else if (pname.
compare (
"zdir"))
2438 else if (pname.
compare (
"zgrid"))
2440 else if (pname.
compare (
"zlabel"))
2442 else if (pname.
compare (
"zlim"))
2444 else if (pname.
compare (
"zlimmode"))
2446 else if (pname.
compare (
"zminorgrid"))
2447 return property (&zminorgrid,
true);
2448 else if (pname.
compare (
"zminortick"))
2449 return property (&zminortick,
true);
2450 else if (pname.
compare (
"zscale"))
2452 else if (pname.
compare (
"ztick"))
2454 else if (pname.
compare (
"zticklabel"))
2455 return property (&zticklabel,
true);
2456 else if (pname.
compare (
"zticklabelmode"))
2457 return property (&zticklabelmode,
true);
2458 else if (pname.
compare (
"ztickmode"))
2459 return property (&ztickmode,
true);
2460 else if (pname.
compare (
"__hold_all__"))
2461 return property (&__hold_all__,
true);
2462 else if (pname.
compare (
"autopos_tag"))
2463 return property (&autopos_tag,
true);
2464 else if (pname.
compare (
"looseinset"))
2465 return property (&looseinset,
true);
2466 else if (pname.
compare (
"x_viewtransform"))
2467 return property (&x_viewtransform,
true);
2468 else if (pname.
compare (
"x_projectiontransform"))
2469 return property (&x_projectiontransform,
true);
2470 else if (pname.
compare (
"x_viewporttransform"))
2471 return property (&x_viewporttransform,
true);
2472 else if (pname.
compare (
"x_normrendertransform"))
2473 return property (&x_normrendertransform,
true);
2474 else if (pname.
compare (
"x_rendertransform"))
2475 return property (&x_rendertransform,
true);
2476 else if (pname.
compare (
"xmtick"))
2478 else if (pname.
compare (
"ymtick"))
2480 else if (pname.
compare (
"zmtick"))
2482 else if (pname.
compare (
"fontsize_points"))
2483 return property (&fontsize_points,
true);
2493 m[
"activepositionproperty"] =
"outerposition";
2495 m[
"alimmode"] =
"auto";
2498 m[
"cameraposition"] =
Matrix (1, 3, 0.0);
2499 m[
"camerapositionmode"] =
"auto";
2500 m[
"cameratarget"] =
Matrix (1, 3, 0.0);
2501 m[
"cameratargetmode"] =
"auto";
2502 m[
"cameraupvector"] =
Matrix (1, 3, 0.0);
2503 m[
"cameraupvectormode"] =
"auto";
2504 m[
"cameraviewangle"] = 10.0;
2505 m[
"cameraviewanglemode"] =
"auto";
2507 m[
"climmode"] =
"auto";
2510 m[
"currentpoint"] =
Matrix (2, 3, 0.0);
2511 m[
"dataaspectratio"] =
Matrix (1, 3, 1.0);
2512 m[
"dataaspectratiomode"] =
"auto";
2513 m[
"drawmode"] =
"normal";
2514 m[
"fontangle"] =
"normal";
2517 m[
"fontunits"] =
"points";
2518 m[
"fontweight"] =
"normal";
2519 m[
"gridlinestyle"] =
":";
2520 m[
"interpreter"] =
"none";
2521 m[
"layer"] =
"bottom";
2522 m[
"linestyleorder"] =
"-";
2523 m[
"linewidth"] = 0.5;
2524 m[
"minorgridlinestyle"] =
":";
2525 m[
"mousewheelzoom"] = 0.5;
2526 m[
"nextplot"] =
"replace";
2528 m[
"plotboxaspectratio"] =
Matrix (1, 3, 1.0);
2529 m[
"plotboxaspectratiomode"] =
"auto";
2531 m[
"projection"] =
"orthographic";
2532 m[
"tickdir"] =
"in";
2533 m[
"tickdirmode"] =
"auto";
2535 m[
"tightinset"] =
Matrix (1, 4, 0.0);
2536 m[
"units"] =
"normalized";
2538 m[
"xaxislocation"] =
"bottom";
2540 m[
"xdir"] =
"normal";
2543 m[
"xlimmode"] =
"auto";
2544 m[
"xminorgrid"] =
"off";
2545 m[
"xminortick"] =
"off";
2546 m[
"xscale"] =
"linear";
2548 m[
"xticklabel"] =
"";
2549 m[
"xticklabelmode"] =
"auto";
2550 m[
"xtickmode"] =
"auto";
2551 m[
"yaxislocation"] =
"left";
2553 m[
"ydir"] =
"normal";
2556 m[
"ylimmode"] =
"auto";
2557 m[
"yminorgrid"] =
"off";
2558 m[
"yminortick"] =
"off";
2559 m[
"yscale"] =
"linear";
2561 m[
"yticklabel"] =
"";
2562 m[
"yticklabelmode"] =
"auto";
2563 m[
"ytickmode"] =
"auto";
2565 m[
"zdir"] =
"normal";
2568 m[
"zlimmode"] =
"auto";
2569 m[
"zminorgrid"] =
"off";
2570 m[
"zminortick"] =
"off";
2571 m[
"zscale"] =
"linear";
2573 m[
"zticklabel"] =
"";
2574 m[
"zticklabelmode"] =
"auto";
2575 m[
"ztickmode"] =
"auto";
2576 m[
"__hold_all__"] =
"off";
2577 m[
"autopos_tag"] =
"none";
2578 m[
"looseinset"] =
Matrix (1, 4, 0.0);
2579 m[
"x_viewtransform"] =
Matrix (4, 4, 0.0);
2580 m[
"x_projectiontransform"] =
Matrix (4, 4, 0.0);
2581 m[
"x_viewporttransform"] =
Matrix (4, 4, 0.0);
2582 m[
"x_normrendertransform"] =
Matrix (4, 4, 0.0);
2583 m[
"x_rendertransform"] =
Matrix (4, 4, 0.0);
2587 m[
"fontsize_points"] = 0;
2594 std::set<std::string>
2597 static std::set<std::string> all_pnames;
2599 static bool initialized =
false;
2603 all_pnames.insert (
"activepositionproperty");
2604 all_pnames.insert (
"alim");
2605 all_pnames.insert (
"alimmode");
2606 all_pnames.insert (
"ambientlightcolor");
2607 all_pnames.insert (
"box");
2608 all_pnames.insert (
"cameraposition");
2609 all_pnames.insert (
"camerapositionmode");
2610 all_pnames.insert (
"cameratarget");
2611 all_pnames.insert (
"cameratargetmode");
2612 all_pnames.insert (
"cameraupvector");
2613 all_pnames.insert (
"cameraupvectormode");
2614 all_pnames.insert (
"cameraviewangle");
2615 all_pnames.insert (
"cameraviewanglemode");
2616 all_pnames.insert (
"clim");
2617 all_pnames.insert (
"climmode");
2618 all_pnames.insert (
"color");
2619 all_pnames.insert (
"colororder");
2620 all_pnames.insert (
"currentpoint");
2621 all_pnames.insert (
"dataaspectratio");
2622 all_pnames.insert (
"dataaspectratiomode");
2623 all_pnames.insert (
"drawmode");
2624 all_pnames.insert (
"fontangle");
2625 all_pnames.insert (
"fontname");
2626 all_pnames.insert (
"fontsize");
2627 all_pnames.insert (
"fontunits");
2628 all_pnames.insert (
"fontweight");
2629 all_pnames.insert (
"gridlinestyle");
2630 all_pnames.insert (
"interpreter");
2631 all_pnames.insert (
"layer");
2632 all_pnames.insert (
"linestyleorder");
2633 all_pnames.insert (
"linewidth");
2634 all_pnames.insert (
"minorgridlinestyle");
2635 all_pnames.insert (
"mousewheelzoom");
2636 all_pnames.insert (
"nextplot");
2637 all_pnames.insert (
"outerposition");
2638 all_pnames.insert (
"plotboxaspectratio");
2639 all_pnames.insert (
"plotboxaspectratiomode");
2640 all_pnames.insert (
"position");
2641 all_pnames.insert (
"projection");
2642 all_pnames.insert (
"tickdir");
2643 all_pnames.insert (
"tickdirmode");
2644 all_pnames.insert (
"ticklength");
2645 all_pnames.insert (
"tightinset");
2646 all_pnames.insert (
"title");
2647 all_pnames.insert (
"units");
2648 all_pnames.insert (
"view");
2649 all_pnames.insert (
"xaxislocation");
2650 all_pnames.insert (
"xcolor");
2651 all_pnames.insert (
"xdir");
2652 all_pnames.insert (
"xgrid");
2653 all_pnames.insert (
"xlabel");
2654 all_pnames.insert (
"xlim");
2655 all_pnames.insert (
"xlimmode");
2656 all_pnames.insert (
"xminorgrid");
2657 all_pnames.insert (
"xminortick");
2658 all_pnames.insert (
"xscale");
2659 all_pnames.insert (
"xtick");
2660 all_pnames.insert (
"xticklabel");
2661 all_pnames.insert (
"xticklabelmode");
2662 all_pnames.insert (
"xtickmode");
2663 all_pnames.insert (
"yaxislocation");
2664 all_pnames.insert (
"ycolor");
2665 all_pnames.insert (
"ydir");
2666 all_pnames.insert (
"ygrid");
2667 all_pnames.insert (
"ylabel");
2668 all_pnames.insert (
"ylim");
2669 all_pnames.insert (
"ylimmode");
2670 all_pnames.insert (
"yminorgrid");
2671 all_pnames.insert (
"yminortick");
2672 all_pnames.insert (
"yscale");
2673 all_pnames.insert (
"ytick");
2674 all_pnames.insert (
"yticklabel");
2675 all_pnames.insert (
"yticklabelmode");
2676 all_pnames.insert (
"ytickmode");
2677 all_pnames.insert (
"zcolor");
2678 all_pnames.insert (
"zdir");
2679 all_pnames.insert (
"zgrid");
2680 all_pnames.insert (
"zlabel");
2681 all_pnames.insert (
"zlim");
2682 all_pnames.insert (
"zlimmode");
2683 all_pnames.insert (
"zminorgrid");
2684 all_pnames.insert (
"zminortick");
2685 all_pnames.insert (
"zscale");
2686 all_pnames.insert (
"ztick");
2687 all_pnames.insert (
"zticklabel");
2688 all_pnames.insert (
"zticklabelmode");
2689 all_pnames.insert (
"ztickmode");
2690 all_pnames.insert (
"__hold_all__");
2691 all_pnames.insert (
"autopos_tag");
2692 all_pnames.insert (
"looseinset");
2693 all_pnames.insert (
"x_viewtransform");
2694 all_pnames.insert (
"x_projectiontransform");
2695 all_pnames.insert (
"x_viewporttransform");
2696 all_pnames.insert (
"x_normrendertransform");
2697 all_pnames.insert (
"x_rendertransform");
2698 all_pnames.insert (
"xmtick");
2699 all_pnames.insert (
"ymtick");
2700 all_pnames.insert (
"zmtick");
2701 all_pnames.insert (
"fontsize_points");
2704 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
2715 std::set<std::string> pnames = core_property_names ();
2717 return pnames.find (pname) != pnames.end ();
2720 std::set<std::string>
2723 static std::set<std::string> all_pnames;
2725 static bool initialized =
false;
2729 all_pnames.insert (
"tightinset");
2730 all_pnames.insert (
"fontsize_points");
2733 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
2744 std::set<std::string> pnames = readonly_property_names ();
2746 return pnames.find (pname) != pnames.end ();
2749 std::set<std::string>
2752 static std::set<std::string> all_pnames = core_property_names ();
2754 std::set<std::string> retval = all_pnames;
2756 retval.insert (base_props.begin (), base_props.end ());
2764 std::set<std::string> pnames = all_property_names ();
2766 return pnames.find (pname) != pnames.end ();
2774 displayname (
"displayname", mh,
""),
2775 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
2776 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
2777 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
2778 linewidth (
"linewidth", mh, 0.5),
2779 marker (
"marker", mh,
"{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"),
2782 markersize (
"markersize", mh, 6),
2784 xdatasource (
"xdatasource", mh,
""),
2786 ydatasource (
"ydatasource", mh,
""),
2787 zdata (
"zdata", mh,
Matrix ()),
2788 zdatasource (
"zdatasource", mh,
""),
2789 xlim (
"xlim", mh,
Matrix ()),
2790 ylim (
"ylim", mh,
Matrix ()),
2791 zlim (
"zlim", mh,
Matrix ()),
2792 xliminclude (
"xliminclude", mh,
"on"),
2793 yliminclude (
"yliminclude", mh,
"on"),
2794 zliminclude (
"zliminclude", mh,
"off")
2830 const std::set<std::string>& pnames = all_property_names ();
2838 error (
"set: \"%s\" is read-only", pname.c_str ());
2844 else if (pname.
compare (
"displayname"))
2845 set_displayname (val);
2846 else if (pname.
compare (
"erasemode"))
2847 set_erasemode (val);
2848 else if (pname.
compare (
"interpreter"))
2849 set_interpreter (val);
2850 else if (pname.
compare (
"linestyle"))
2851 set_linestyle (val);
2852 else if (pname.
compare (
"linewidth"))
2853 set_linewidth (val);
2854 else if (pname.
compare (
"marker"))
2856 else if (pname.
compare (
"markeredgecolor"))
2857 set_markeredgecolor (val);
2858 else if (pname.
compare (
"markerfacecolor"))
2859 set_markerfacecolor (val);
2860 else if (pname.
compare (
"markersize"))
2861 set_markersize (val);
2862 else if (pname.
compare (
"xdata"))
2864 else if (pname.
compare (
"xdatasource"))
2865 set_xdatasource (val);
2866 else if (pname.
compare (
"ydata"))
2868 else if (pname.
compare (
"ydatasource"))
2869 set_ydatasource (val);
2870 else if (pname.
compare (
"zdata"))
2872 else if (pname.
compare (
"zdatasource"))
2873 set_zdatasource (val);
2874 else if (pname.
compare (
"xliminclude"))
2875 set_xliminclude (val);
2876 else if (pname.
compare (
"yliminclude"))
2877 set_yliminclude (val);
2878 else if (pname.
compare (
"zliminclude"))
2879 set_zliminclude (val);
2926 const std::set<std::string>& pnames = all_property_names ();
2934 retval = get_color ();
2935 else if (pname.
compare (
"displayname"))
2936 retval = get_displayname ();
2937 else if (pname.
compare (
"erasemode"))
2938 retval = get_erasemode ();
2939 else if (pname.
compare (
"interpreter"))
2940 retval = get_interpreter ();
2941 else if (pname.
compare (
"linestyle"))
2942 retval = get_linestyle ();
2943 else if (pname.
compare (
"linewidth"))
2944 retval = get_linewidth ();
2945 else if (pname.
compare (
"marker"))
2946 retval = get_marker ();
2947 else if (pname.
compare (
"markeredgecolor"))
2948 retval = get_markeredgecolor ();
2949 else if (pname.
compare (
"markerfacecolor"))
2950 retval = get_markerfacecolor ();
2951 else if (pname.
compare (
"markersize"))
2952 retval = get_markersize ();
2953 else if (pname.
compare (
"xdata"))
2954 retval = get_xdata ();
2955 else if (pname.
compare (
"xdatasource"))
2956 retval = get_xdatasource ();
2957 else if (pname.
compare (
"ydata"))
2958 retval = get_ydata ();
2959 else if (pname.
compare (
"ydatasource"))
2960 retval = get_ydatasource ();
2961 else if (pname.
compare (
"zdata"))
2962 retval = get_zdata ();
2963 else if (pname.
compare (
"zdatasource"))
2964 retval = get_zdatasource ();
2965 else if (pname.
compare (
"xlim"))
2966 retval = get_xlim ();
2967 else if (pname.
compare (
"ylim"))
2968 retval = get_ylim ();
2969 else if (pname.
compare (
"zlim"))
2970 retval = get_zlim ();
2971 else if (pname.
compare (
"xliminclude"))
2972 retval = get_xliminclude ();
2973 else if (pname.
compare (
"yliminclude"))
2974 retval = get_yliminclude ();
2975 else if (pname.
compare (
"zliminclude"))
2976 retval = get_zliminclude ();
2986 const std::set<std::string>& pnames = all_property_names ();
2995 else if (pname.
compare (
"displayname"))
2996 return property (&displayname,
true);
2997 else if (pname.
compare (
"erasemode"))
2998 return property (&erasemode,
true);
2999 else if (pname.
compare (
"interpreter"))
3000 return property (&interpreter,
true);
3001 else if (pname.
compare (
"linestyle"))
3002 return property (&linestyle,
true);
3003 else if (pname.
compare (
"linewidth"))
3004 return property (&linewidth,
true);
3005 else if (pname.
compare (
"marker"))
3007 else if (pname.
compare (
"markeredgecolor"))
3008 return property (&markeredgecolor,
true);
3009 else if (pname.
compare (
"markerfacecolor"))
3010 return property (&markerfacecolor,
true);
3011 else if (pname.
compare (
"markersize"))
3012 return property (&markersize,
true);
3013 else if (pname.
compare (
"xdata"))
3015 else if (pname.
compare (
"xdatasource"))
3016 return property (&xdatasource,
true);
3017 else if (pname.
compare (
"ydata"))
3019 else if (pname.
compare (
"ydatasource"))
3020 return property (&ydatasource,
true);
3021 else if (pname.
compare (
"zdata"))
3023 else if (pname.
compare (
"zdatasource"))
3024 return property (&zdatasource,
true);
3025 else if (pname.
compare (
"xlim"))
3027 else if (pname.
compare (
"ylim"))
3029 else if (pname.
compare (
"zlim"))
3031 else if (pname.
compare (
"xliminclude"))
3032 return property (&xliminclude,
true);
3033 else if (pname.
compare (
"yliminclude"))
3034 return property (&yliminclude,
true);
3035 else if (pname.
compare (
"zliminclude"))
3036 return property (&zliminclude,
true);
3047 m[
"displayname"] =
"";
3048 m[
"erasemode"] =
"normal";
3049 m[
"interpreter"] =
"tex";
3050 m[
"linestyle"] =
"-";
3051 m[
"linewidth"] = 0.5;
3052 m[
"marker"] =
"none";
3055 m[
"markersize"] = 6;
3057 m[
"xdatasource"] =
"";
3059 m[
"ydatasource"] =
"";
3061 m[
"zdatasource"] =
"";
3065 m[
"xliminclude"] =
"on";
3066 m[
"yliminclude"] =
"on";
3067 m[
"zliminclude"] =
"off";
3074 std::set<std::string>
3077 static std::set<std::string> all_pnames;
3079 static bool initialized =
false;
3083 all_pnames.insert (
"color");
3084 all_pnames.insert (
"displayname");
3085 all_pnames.insert (
"erasemode");
3086 all_pnames.insert (
"interpreter");
3087 all_pnames.insert (
"linestyle");
3088 all_pnames.insert (
"linewidth");
3089 all_pnames.insert (
"marker");
3090 all_pnames.insert (
"markeredgecolor");
3091 all_pnames.insert (
"markerfacecolor");
3092 all_pnames.insert (
"markersize");
3093 all_pnames.insert (
"xdata");
3094 all_pnames.insert (
"xdatasource");
3095 all_pnames.insert (
"ydata");
3096 all_pnames.insert (
"ydatasource");
3097 all_pnames.insert (
"zdata");
3098 all_pnames.insert (
"zdatasource");
3099 all_pnames.insert (
"xlim");
3100 all_pnames.insert (
"ylim");
3101 all_pnames.insert (
"zlim");
3102 all_pnames.insert (
"xliminclude");
3103 all_pnames.insert (
"yliminclude");
3104 all_pnames.insert (
"zliminclude");
3107 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3118 std::set<std::string> pnames = core_property_names ();
3120 return pnames.find (pname) != pnames.end ();
3123 std::set<std::string>
3126 static std::set<std::string> all_pnames;
3128 static bool initialized =
false;
3132 all_pnames.insert (
"xlim");
3133 all_pnames.insert (
"ylim");
3134 all_pnames.insert (
"zlim");
3137 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3148 std::set<std::string> pnames = readonly_property_names ();
3150 return pnames.find (pname) != pnames.end ();
3153 std::set<std::string>
3156 static std::set<std::string> all_pnames = core_property_names ();
3158 std::set<std::string> retval = all_pnames;
3160 retval.insert (base_props.begin (), base_props.end ());
3168 std::set<std::string> pnames = all_property_names ();
3170 return pnames.find (pname) != pnames.end ();
3179 displayname (
"displayname", mh,
""),
3181 editing (
"editing", mh,
"off"),
3182 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
3183 extent (
"extent", mh,
Matrix (1, 4, 0.0)),
3184 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
3186 fontsize (
"fontsize", mh, 10),
3187 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
3188 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
3189 horizontalalignment (
"horizontalalignment", mh,
"{left}|center|right"),
3190 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
3191 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
3192 linewidth (
"linewidth", mh, 0.5),
3193 margin (
"margin", mh, 2),
3194 position (
"position", mh,
Matrix (1, 3, 0.0)),
3195 rotation (
"rotation", mh, 0),
3196 string (
"string", mh,
""),
3197 units (
"units", mh,
"{data}|pixels|normalized|inches|centimeters|points"),
3198 verticalalignment (
"verticalalignment", mh,
"top|cap|{middle}|baseline|bottom"),
3199 xlim (
"xlim", mh,
Matrix ()),
3200 ylim (
"ylim", mh,
Matrix ()),
3201 zlim (
"zlim", mh,
Matrix ()),
3202 xliminclude (
"xliminclude", mh,
"off"),
3203 yliminclude (
"yliminclude", mh,
"off"),
3204 zliminclude (
"zliminclude", mh,
"off"),
3205 positionmode (
"positionmode", mh,
"{auto}|manual"),
3206 rotationmode (
"rotationmode", mh,
"{auto}|manual"),
3207 horizontalalignmentmode (
"horizontalalignmentmode", mh,
"{auto}|manual"),
3208 verticalalignmentmode (
"verticalalignmentmode", mh,
"{auto}|manual"),
3209 autopos_tag (
"autopos_tag", mh,
"{none}|xlabel|ylabel|zlabel|title"),
3210 fontsize_points (
"fontsize_points", mh, 0)
3264 const std::set<std::string>& pnames = all_property_names ();
3272 error (
"set: \"%s\" is read-only", pname.c_str ());
3276 if (pname.
compare (
"backgroundcolor"))
3277 set_backgroundcolor (val);
3278 else if (pname.
compare (
"color"))
3280 else if (pname.
compare (
"displayname"))
3281 set_displayname (val);
3282 else if (pname.
compare (
"edgecolor"))
3283 set_edgecolor (val);
3284 else if (pname.
compare (
"editing"))
3286 else if (pname.
compare (
"erasemode"))
3287 set_erasemode (val);
3288 else if (pname.
compare (
"fontangle"))
3289 set_fontangle (val);
3290 else if (pname.
compare (
"fontname"))
3292 else if (pname.
compare (
"fontsize"))
3294 else if (pname.
compare (
"fontunits"))
3295 set_fontunits (val);
3296 else if (pname.
compare (
"fontweight"))
3297 set_fontweight (val);
3298 else if (pname.
compare (
"horizontalalignment"))
3299 set_horizontalalignment (val);
3300 else if (pname.
compare (
"interpreter"))
3301 set_interpreter (val);
3302 else if (pname.
compare (
"linestyle"))
3303 set_linestyle (val);
3304 else if (pname.
compare (
"linewidth"))
3305 set_linewidth (val);
3306 else if (pname.
compare (
"margin"))
3308 else if (pname.
compare (
"position"))
3310 else if (pname.
compare (
"rotation"))
3312 else if (pname.
compare (
"string"))
3314 else if (pname.
compare (
"units"))
3316 else if (pname.
compare (
"verticalalignment"))
3317 set_verticalalignment (val);
3318 else if (pname.
compare (
"xliminclude"))
3319 set_xliminclude (val);
3320 else if (pname.
compare (
"yliminclude"))
3321 set_yliminclude (val);
3322 else if (pname.
compare (
"zliminclude"))
3323 set_zliminclude (val);
3324 else if (pname.
compare (
"positionmode"))
3325 set_positionmode (val);
3326 else if (pname.
compare (
"rotationmode"))
3327 set_rotationmode (val);
3328 else if (pname.
compare (
"horizontalalignmentmode"))
3329 set_horizontalalignmentmode (val);
3330 else if (pname.
compare (
"verticalalignmentmode"))
3331 set_verticalalignmentmode (val);
3332 else if (pname.
compare (
"autopos_tag"))
3333 set_autopos_tag (val);
3398 const std::set<std::string>& pnames = all_property_names ();
3405 if (pname.
compare (
"backgroundcolor"))
3406 retval = get_backgroundcolor ();
3407 else if (pname.
compare (
"color"))
3408 retval = get_color ();
3409 else if (pname.
compare (
"displayname"))
3410 retval = get_displayname ();
3411 else if (pname.
compare (
"edgecolor"))
3412 retval = get_edgecolor ();
3413 else if (pname.
compare (
"editing"))
3414 retval = get_editing ();
3415 else if (pname.
compare (
"erasemode"))
3416 retval = get_erasemode ();
3417 else if (pname.
compare (
"extent"))
3418 retval = get_extent ();
3419 else if (pname.
compare (
"fontangle"))
3420 retval = get_fontangle ();
3421 else if (pname.
compare (
"fontname"))
3422 retval = get_fontname ();
3423 else if (pname.
compare (
"fontsize"))
3424 retval = get_fontsize ();
3425 else if (pname.
compare (
"fontunits"))
3426 retval = get_fontunits ();
3427 else if (pname.
compare (
"fontweight"))
3428 retval = get_fontweight ();
3429 else if (pname.
compare (
"horizontalalignment"))
3430 retval = get_horizontalalignment ();
3431 else if (pname.
compare (
"interpreter"))
3432 retval = get_interpreter ();
3433 else if (pname.
compare (
"linestyle"))
3434 retval = get_linestyle ();
3435 else if (pname.
compare (
"linewidth"))
3436 retval = get_linewidth ();
3437 else if (pname.
compare (
"margin"))
3438 retval = get_margin ();
3439 else if (pname.
compare (
"position"))
3440 retval = get_position ();
3441 else if (pname.
compare (
"rotation"))
3442 retval = get_rotation ();
3443 else if (pname.
compare (
"string"))
3444 retval = get_string ();
3445 else if (pname.
compare (
"units"))
3446 retval = get_units ();
3447 else if (pname.
compare (
"verticalalignment"))
3448 retval = get_verticalalignment ();
3449 else if (pname.
compare (
"xlim"))
3450 retval = get_xlim ();
3451 else if (pname.
compare (
"ylim"))
3452 retval = get_ylim ();
3453 else if (pname.
compare (
"zlim"))
3454 retval = get_zlim ();
3455 else if (pname.
compare (
"xliminclude"))
3456 retval = get_xliminclude ();
3457 else if (pname.
compare (
"yliminclude"))
3458 retval = get_yliminclude ();
3459 else if (pname.
compare (
"zliminclude"))
3460 retval = get_zliminclude ();
3461 else if (pname.
compare (
"positionmode"))
3462 retval = get_positionmode ();
3463 else if (pname.
compare (
"rotationmode"))
3464 retval = get_rotationmode ();
3465 else if (pname.
compare (
"horizontalalignmentmode"))
3466 retval = get_horizontalalignmentmode ();
3467 else if (pname.
compare (
"verticalalignmentmode"))
3468 retval = get_verticalalignmentmode ();
3469 else if (pname.
compare (
"autopos_tag"))
3470 retval = get_autopos_tag ();
3471 else if (pname.
compare (
"fontsize_points"))
3472 retval = get_fontsize_points ();
3482 const std::set<std::string>& pnames = all_property_names ();
3489 if (pname.
compare (
"backgroundcolor"))
3490 return property (&backgroundcolor,
true);
3491 else if (pname.
compare (
"color"))
3493 else if (pname.
compare (
"displayname"))
3494 return property (&displayname,
true);
3495 else if (pname.
compare (
"edgecolor"))
3496 return property (&edgecolor,
true);
3497 else if (pname.
compare (
"editing"))
3499 else if (pname.
compare (
"erasemode"))
3500 return property (&erasemode,
true);
3501 else if (pname.
compare (
"extent"))
3503 else if (pname.
compare (
"fontangle"))
3504 return property (&fontangle,
true);
3505 else if (pname.
compare (
"fontname"))
3507 else if (pname.
compare (
"fontsize"))
3509 else if (pname.
compare (
"fontunits"))
3510 return property (&fontunits,
true);
3511 else if (pname.
compare (
"fontweight"))
3512 return property (&fontweight,
true);
3513 else if (pname.
compare (
"horizontalalignment"))
3514 return property (&horizontalalignment,
true);
3515 else if (pname.
compare (
"interpreter"))
3516 return property (&interpreter,
true);
3517 else if (pname.
compare (
"linestyle"))
3518 return property (&linestyle,
true);
3519 else if (pname.
compare (
"linewidth"))
3520 return property (&linewidth,
true);
3521 else if (pname.
compare (
"margin"))
3523 else if (pname.
compare (
"position"))
3525 else if (pname.
compare (
"rotation"))
3527 else if (pname.
compare (
"string"))
3529 else if (pname.
compare (
"units"))
3531 else if (pname.
compare (
"verticalalignment"))
3532 return property (&verticalalignment,
true);
3533 else if (pname.
compare (
"xlim"))
3535 else if (pname.
compare (
"ylim"))
3537 else if (pname.
compare (
"zlim"))
3539 else if (pname.
compare (
"xliminclude"))
3540 return property (&xliminclude,
true);
3541 else if (pname.
compare (
"yliminclude"))
3542 return property (&yliminclude,
true);
3543 else if (pname.
compare (
"zliminclude"))
3544 return property (&zliminclude,
true);
3545 else if (pname.
compare (
"positionmode"))
3546 return property (&positionmode,
true);
3547 else if (pname.
compare (
"rotationmode"))
3548 return property (&rotationmode,
true);
3549 else if (pname.
compare (
"horizontalalignmentmode"))
3550 return property (&horizontalalignmentmode,
true);
3551 else if (pname.
compare (
"verticalalignmentmode"))
3552 return property (&verticalalignmentmode,
true);
3553 else if (pname.
compare (
"autopos_tag"))
3554 return property (&autopos_tag,
true);
3555 else if (pname.
compare (
"fontsize_points"))
3556 return property (&fontsize_points,
true);
3568 m[
"displayname"] =
"";
3570 m[
"editing"] =
"off";
3571 m[
"erasemode"] =
"normal";
3572 m[
"extent"] =
Matrix (1, 4, 0.0);
3573 m[
"fontangle"] =
"normal";
3576 m[
"fontunits"] =
"points";
3577 m[
"fontweight"] =
"normal";
3578 m[
"horizontalalignment"] =
"left";
3579 m[
"interpreter"] =
"tex";
3580 m[
"linestyle"] =
"-";
3581 m[
"linewidth"] = 0.5;
3583 m[
"position"] =
Matrix (1, 3, 0.0);
3586 m[
"units"] =
"data";
3587 m[
"verticalalignment"] =
"middle";
3591 m[
"xliminclude"] =
"off";
3592 m[
"yliminclude"] =
"off";
3593 m[
"zliminclude"] =
"off";
3594 m[
"positionmode"] =
"auto";
3595 m[
"rotationmode"] =
"auto";
3596 m[
"horizontalalignmentmode"] =
"auto";
3597 m[
"verticalalignmentmode"] =
"auto";
3598 m[
"autopos_tag"] =
"none";
3599 m[
"fontsize_points"] = 0;
3606 std::set<std::string>
3609 static std::set<std::string> all_pnames;
3611 static bool initialized =
false;
3615 all_pnames.insert (
"backgroundcolor");
3616 all_pnames.insert (
"color");
3617 all_pnames.insert (
"displayname");
3618 all_pnames.insert (
"edgecolor");
3619 all_pnames.insert (
"editing");
3620 all_pnames.insert (
"erasemode");
3621 all_pnames.insert (
"extent");
3622 all_pnames.insert (
"fontangle");
3623 all_pnames.insert (
"fontname");
3624 all_pnames.insert (
"fontsize");
3625 all_pnames.insert (
"fontunits");
3626 all_pnames.insert (
"fontweight");
3627 all_pnames.insert (
"horizontalalignment");
3628 all_pnames.insert (
"interpreter");
3629 all_pnames.insert (
"linestyle");
3630 all_pnames.insert (
"linewidth");
3631 all_pnames.insert (
"margin");
3632 all_pnames.insert (
"position");
3633 all_pnames.insert (
"rotation");
3634 all_pnames.insert (
"string");
3635 all_pnames.insert (
"units");
3636 all_pnames.insert (
"verticalalignment");
3637 all_pnames.insert (
"xlim");
3638 all_pnames.insert (
"ylim");
3639 all_pnames.insert (
"zlim");
3640 all_pnames.insert (
"xliminclude");
3641 all_pnames.insert (
"yliminclude");
3642 all_pnames.insert (
"zliminclude");
3643 all_pnames.insert (
"positionmode");
3644 all_pnames.insert (
"rotationmode");
3645 all_pnames.insert (
"horizontalalignmentmode");
3646 all_pnames.insert (
"verticalalignmentmode");
3647 all_pnames.insert (
"autopos_tag");
3648 all_pnames.insert (
"fontsize_points");
3651 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3662 std::set<std::string> pnames = core_property_names ();
3664 return pnames.find (pname) != pnames.end ();
3667 std::set<std::string>
3670 static std::set<std::string> all_pnames;
3672 static bool initialized =
false;
3676 all_pnames.insert (
"extent");
3677 all_pnames.insert (
"xlim");
3678 all_pnames.insert (
"ylim");
3679 all_pnames.insert (
"zlim");
3680 all_pnames.insert (
"fontsize_points");
3683 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
3694 std::set<std::string> pnames = readonly_property_names ();
3696 return pnames.find (pname) != pnames.end ();
3699 std::set<std::string>
3702 static std::set<std::string> all_pnames = core_property_names ();
3704 std::set<std::string> retval = all_pnames;
3706 retval.insert (base_props.begin (), base_props.end ());
3714 std::set<std::string> pnames = all_property_names ();
3716 return pnames.find (pname) != pnames.end ();
3723 alphadata (
"alphadata", mh,
Matrix (1, 1, 1.0)),
3724 alphadatamapping (
"alphadatamapping", mh,
"{none}|direct|scaled"),
3726 cdatamapping (
"cdatamapping", mh,
"scaled|{direct}"),
3727 displayname (
"displayname", mh,
""),
3728 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
3729 xdata (
"xdata", mh,
Matrix ()),
3730 ydata (
"ydata", mh,
Matrix ()),
3731 alim (
"alim", mh,
Matrix ()),
3732 clim (
"clim", mh,
Matrix ()),
3733 xlim (
"xlim", mh,
Matrix ()),
3734 ylim (
"ylim", mh,
Matrix ()),
3735 aliminclude (
"aliminclude", mh,
"on"),
3736 climinclude (
"climinclude", mh,
"on"),
3737 xliminclude (
"xliminclude", mh,
"on"),
3738 yliminclude (
"yliminclude", mh,
"on"),
3739 xdatamode (
"xdatamode", mh,
"{auto}|manual"),
3740 ydatamode (
"ydatamode", mh,
"{auto}|manual")
3776 const std::set<std::string>& pnames = all_property_names ();
3784 error (
"set: \"%s\" is read-only", pname.c_str ());
3788 if (pname.
compare (
"alphadata"))
3789 set_alphadata (val);
3790 else if (pname.
compare (
"alphadatamapping"))
3791 set_alphadatamapping (val);
3792 else if (pname.
compare (
"cdata"))
3794 else if (pname.
compare (
"cdatamapping"))
3795 set_cdatamapping (val);
3796 else if (pname.
compare (
"displayname"))
3797 set_displayname (val);
3798 else if (pname.
compare (
"erasemode"))
3799 set_erasemode (val);
3800 else if (pname.
compare (
"xdata"))
3802 else if (pname.
compare (
"ydata"))
3804 else if (pname.
compare (
"aliminclude"))
3805 set_aliminclude (val);
3806 else if (pname.
compare (
"climinclude"))
3807 set_climinclude (val);
3808 else if (pname.
compare (
"xliminclude"))
3809 set_xliminclude (val);
3810 else if (pname.
compare (
"yliminclude"))
3811 set_yliminclude (val);
3812 else if (pname.
compare (
"xdatamode"))
3813 set_xdatamode (val);
3814 else if (pname.
compare (
"ydatamode"))
3815 set_ydatamode (val);
3862 const std::set<std::string>& pnames = all_property_names ();
3869 if (pname.
compare (
"alphadata"))
3870 retval = get_alphadata ();
3871 else if (pname.
compare (
"alphadatamapping"))
3872 retval = get_alphadatamapping ();
3873 else if (pname.
compare (
"cdata"))
3874 retval = get_cdata ();
3875 else if (pname.
compare (
"cdatamapping"))
3876 retval = get_cdatamapping ();
3877 else if (pname.
compare (
"displayname"))
3878 retval = get_displayname ();
3879 else if (pname.
compare (
"erasemode"))
3880 retval = get_erasemode ();
3881 else if (pname.
compare (
"xdata"))
3882 retval = get_xdata ();
3883 else if (pname.
compare (
"ydata"))
3884 retval = get_ydata ();
3885 else if (pname.
compare (
"alim"))
3886 retval = get_alim ();
3887 else if (pname.
compare (
"clim"))
3888 retval = get_clim ();
3889 else if (pname.
compare (
"xlim"))
3890 retval = get_xlim ();
3891 else if (pname.
compare (
"ylim"))
3892 retval = get_ylim ();
3893 else if (pname.
compare (
"aliminclude"))
3894 retval = get_aliminclude ();
3895 else if (pname.
compare (
"climinclude"))
3896 retval = get_climinclude ();
3897 else if (pname.
compare (
"xliminclude"))
3898 retval = get_xliminclude ();
3899 else if (pname.
compare (
"yliminclude"))
3900 retval = get_yliminclude ();
3901 else if (pname.
compare (
"xdatamode"))
3902 retval = get_xdatamode ();
3903 else if (pname.
compare (
"ydatamode"))
3904 retval = get_ydatamode ();
3914 const std::set<std::string>& pnames = all_property_names ();
3921 if (pname.
compare (
"alphadata"))
3922 return property (&alphadata,
true);
3923 else if (pname.
compare (
"alphadatamapping"))
3924 return property (&alphadatamapping,
true);
3925 else if (pname.
compare (
"cdata"))
3927 else if (pname.
compare (
"cdatamapping"))
3928 return property (&cdatamapping,
true);
3929 else if (pname.
compare (
"displayname"))
3930 return property (&displayname,
true);
3931 else if (pname.
compare (
"erasemode"))
3932 return property (&erasemode,
true);
3933 else if (pname.
compare (
"xdata"))
3935 else if (pname.
compare (
"ydata"))
3937 else if (pname.
compare (
"alim"))
3939 else if (pname.
compare (
"clim"))
3941 else if (pname.
compare (
"xlim"))
3943 else if (pname.
compare (
"ylim"))
3945 else if (pname.
compare (
"aliminclude"))
3946 return property (&aliminclude,
true);
3947 else if (pname.
compare (
"climinclude"))
3948 return property (&climinclude,
true);
3949 else if (pname.
compare (
"xliminclude"))
3950 return property (&xliminclude,
true);
3951 else if (pname.
compare (
"yliminclude"))
3952 return property (&yliminclude,
true);
3953 else if (pname.
compare (
"xdatamode"))
3954 return property (&xdatamode,
true);
3955 else if (pname.
compare (
"ydatamode"))
3956 return property (&ydatamode,
true);
3966 m[
"alphadata"] =
Matrix (1, 1, 1.0);
3967 m[
"alphadatamapping"] =
"none";
3969 m[
"cdatamapping"] =
"direct";
3970 m[
"displayname"] =
"";
3971 m[
"erasemode"] =
"normal";
3978 m[
"aliminclude"] =
"on";
3979 m[
"climinclude"] =
"on";
3980 m[
"xliminclude"] =
"on";
3981 m[
"yliminclude"] =
"on";
3982 m[
"xdatamode"] =
"auto";
3983 m[
"ydatamode"] =
"auto";
3990 std::set<std::string>
3993 static std::set<std::string> all_pnames;
3995 static bool initialized =
false;
3999 all_pnames.insert (
"alphadata");
4000 all_pnames.insert (
"alphadatamapping");
4001 all_pnames.insert (
"cdata");
4002 all_pnames.insert (
"cdatamapping");
4003 all_pnames.insert (
"displayname");
4004 all_pnames.insert (
"erasemode");
4005 all_pnames.insert (
"xdata");
4006 all_pnames.insert (
"ydata");
4007 all_pnames.insert (
"alim");
4008 all_pnames.insert (
"clim");
4009 all_pnames.insert (
"xlim");
4010 all_pnames.insert (
"ylim");
4011 all_pnames.insert (
"aliminclude");
4012 all_pnames.insert (
"climinclude");
4013 all_pnames.insert (
"xliminclude");
4014 all_pnames.insert (
"yliminclude");
4015 all_pnames.insert (
"xdatamode");
4016 all_pnames.insert (
"ydatamode");
4019 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4030 std::set<std::string> pnames = core_property_names ();
4032 return pnames.find (pname) != pnames.end ();
4035 std::set<std::string>
4038 static std::set<std::string> all_pnames;
4040 static bool initialized =
false;
4044 all_pnames.insert (
"alim");
4045 all_pnames.insert (
"clim");
4046 all_pnames.insert (
"xlim");
4047 all_pnames.insert (
"ylim");
4050 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4061 std::set<std::string> pnames = readonly_property_names ();
4063 return pnames.find (pname) != pnames.end ();
4066 std::set<std::string>
4069 static std::set<std::string> all_pnames = core_property_names ();
4071 std::set<std::string> retval = all_pnames;
4073 retval.insert (base_props.begin (), base_props.end ());
4081 std::set<std::string> pnames = all_property_names ();
4083 return pnames.find (pname) != pnames.end ();
4090 alphadatamapping (
"alphadatamapping", mh,
"none|{scaled}|direct"),
4091 ambientstrength (
"ambientstrength", mh, 0.3),
4092 backfacelighting (
"backfacelighting", mh,
"unlit|lit|{reverselit}"),
4093 cdata (
"cdata", mh,
Matrix ()),
4094 cdatamapping (
"cdatamapping", mh,
"{scaled}|direct"),
4095 diffusestrength (
"diffusestrength", mh, 0.6),
4096 displayname (
"displayname", mh,
""),
4099 edgelighting (
"edgelighting", mh,
"{none}|flat|gouraud|phong"),
4100 erasemode (
"erasemode", mh,
"{normal}|background|xor|none"),
4103 facelighting (
"facelighting", mh,
"{none}|flat|gouraud|phong"),
4105 facevertexalphadata (
"facevertexalphadata", mh,
Matrix ()),
4106 facevertexcdata (
"facevertexcdata", mh,
Matrix ()),
4107 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
4108 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
4109 linewidth (
"linewidth", mh, 0.5),
4110 marker (
"marker", mh,
"{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"),
4113 markersize (
"markersize", mh, 6),
4114 normalmode (
"normalmode", mh,
"{auto}|manual"),
4115 specularcolorreflectance (
"specularcolorreflectance", mh, 1.0),
4116 specularexponent (
"specularexponent", mh, 10.0),
4117 specularstrength (
"specularstrength", mh, 0.9),
4118 vertexnormals (
"vertexnormals", mh,
Matrix ()),
4122 zdata (
"zdata", mh,
Matrix ()),
4123 alim (
"alim", mh,
Matrix ()),
4124 clim (
"clim", mh,
Matrix ()),
4125 xlim (
"xlim", mh,
Matrix ()),
4126 ylim (
"ylim", mh,
Matrix ()),
4127 zlim (
"zlim", mh,
Matrix ()),
4128 aliminclude (
"aliminclude", mh,
"on"),
4129 climinclude (
"climinclude", mh,
"on"),
4130 xliminclude (
"xliminclude", mh,
"on"),
4131 yliminclude (
"yliminclude", mh,
"on"),
4132 zliminclude (
"zliminclude", mh,
"on")
4193 const std::set<std::string>& pnames = all_property_names ();
4201 error (
"set: \"%s\" is read-only", pname.c_str ());
4205 if (pname.
compare (
"alphadatamapping"))
4206 set_alphadatamapping (val);
4207 else if (pname.
compare (
"ambientstrength"))
4208 set_ambientstrength (val);
4209 else if (pname.
compare (
"backfacelighting"))
4210 set_backfacelighting (val);
4211 else if (pname.
compare (
"cdata"))
4213 else if (pname.
compare (
"cdatamapping"))
4214 set_cdatamapping (val);
4215 else if (pname.
compare (
"diffusestrength"))
4216 set_diffusestrength (val);
4217 else if (pname.
compare (
"displayname"))
4218 set_displayname (val);
4219 else if (pname.
compare (
"edgealpha"))
4220 set_edgealpha (val);
4221 else if (pname.
compare (
"edgecolor"))
4222 set_edgecolor (val);
4223 else if (pname.
compare (
"edgelighting"))
4224 set_edgelighting (val);
4225 else if (pname.
compare (
"erasemode"))
4226 set_erasemode (val);
4227 else if (pname.
compare (
"facealpha"))
4228 set_facealpha (val);
4229 else if (pname.
compare (
"facecolor"))
4230 set_facecolor (val);
4231 else if (pname.
compare (
"facelighting"))
4232 set_facelighting (val);
4233 else if (pname.
compare (
"faces"))
4235 else if (pname.
compare (
"facevertexalphadata"))
4236 set_facevertexalphadata (val);
4237 else if (pname.
compare (
"facevertexcdata"))
4238 set_facevertexcdata (val);
4239 else if (pname.
compare (
"interpreter"))
4240 set_interpreter (val);
4241 else if (pname.
compare (
"linestyle"))
4242 set_linestyle (val);
4243 else if (pname.
compare (
"linewidth"))
4244 set_linewidth (val);
4245 else if (pname.
compare (
"marker"))
4247 else if (pname.
compare (
"markeredgecolor"))
4248 set_markeredgecolor (val);
4249 else if (pname.
compare (
"markerfacecolor"))
4250 set_markerfacecolor (val);
4251 else if (pname.
compare (
"markersize"))
4252 set_markersize (val);
4253 else if (pname.
compare (
"normalmode"))
4254 set_normalmode (val);
4255 else if (pname.
compare (
"specularcolorreflectance"))
4256 set_specularcolorreflectance (val);
4257 else if (pname.
compare (
"specularexponent"))
4258 set_specularexponent (val);
4259 else if (pname.
compare (
"specularstrength"))
4260 set_specularstrength (val);
4261 else if (pname.
compare (
"vertexnormals"))
4262 set_vertexnormals (val);
4263 else if (pname.
compare (
"vertices"))
4265 else if (pname.
compare (
"xdata"))
4267 else if (pname.
compare (
"ydata"))
4269 else if (pname.
compare (
"zdata"))
4271 else if (pname.
compare (
"aliminclude"))
4272 set_aliminclude (val);
4273 else if (pname.
compare (
"climinclude"))
4274 set_climinclude (val);
4275 else if (pname.
compare (
"xliminclude"))
4276 set_xliminclude (val);
4277 else if (pname.
compare (
"yliminclude"))
4278 set_yliminclude (val);
4279 else if (pname.
compare (
"zliminclude"))
4280 set_zliminclude (val);
4315 m.
assign (
"specularcolorreflectance",
octave_value (get_specularcolorreflectance ()));
4352 const std::set<std::string>& pnames = all_property_names ();
4359 if (pname.
compare (
"alphadatamapping"))
4360 retval = get_alphadatamapping ();
4361 else if (pname.
compare (
"ambientstrength"))
4362 retval = get_ambientstrength ();
4363 else if (pname.
compare (
"backfacelighting"))
4364 retval = get_backfacelighting ();
4365 else if (pname.
compare (
"cdata"))
4366 retval = get_cdata ();
4367 else if (pname.
compare (
"cdatamapping"))
4368 retval = get_cdatamapping ();
4369 else if (pname.
compare (
"diffusestrength"))
4370 retval = get_diffusestrength ();
4371 else if (pname.
compare (
"displayname"))
4372 retval = get_displayname ();
4373 else if (pname.
compare (
"edgealpha"))
4374 retval = get_edgealpha ();
4375 else if (pname.
compare (
"edgecolor"))
4376 retval = get_edgecolor ();
4377 else if (pname.
compare (
"edgelighting"))
4378 retval = get_edgelighting ();
4379 else if (pname.
compare (
"erasemode"))
4380 retval = get_erasemode ();
4381 else if (pname.
compare (
"facealpha"))
4382 retval = get_facealpha ();
4383 else if (pname.
compare (
"facecolor"))
4384 retval = get_facecolor ();
4385 else if (pname.
compare (
"facelighting"))
4386 retval = get_facelighting ();
4387 else if (pname.
compare (
"faces"))
4388 retval = get_faces ();
4389 else if (pname.
compare (
"facevertexalphadata"))
4390 retval = get_facevertexalphadata ();
4391 else if (pname.
compare (
"facevertexcdata"))
4392 retval = get_facevertexcdata ();
4393 else if (pname.
compare (
"interpreter"))
4394 retval = get_interpreter ();
4395 else if (pname.
compare (
"linestyle"))
4396 retval = get_linestyle ();
4397 else if (pname.
compare (
"linewidth"))
4398 retval = get_linewidth ();
4399 else if (pname.
compare (
"marker"))
4400 retval = get_marker ();
4401 else if (pname.
compare (
"markeredgecolor"))
4402 retval = get_markeredgecolor ();
4403 else if (pname.
compare (
"markerfacecolor"))
4404 retval = get_markerfacecolor ();
4405 else if (pname.
compare (
"markersize"))
4406 retval = get_markersize ();
4407 else if (pname.
compare (
"normalmode"))
4408 retval = get_normalmode ();
4409 else if (pname.
compare (
"specularcolorreflectance"))
4410 retval = get_specularcolorreflectance ();
4411 else if (pname.
compare (
"specularexponent"))
4412 retval = get_specularexponent ();
4413 else if (pname.
compare (
"specularstrength"))
4414 retval = get_specularstrength ();
4415 else if (pname.
compare (
"vertexnormals"))
4416 retval = get_vertexnormals ();
4417 else if (pname.
compare (
"vertices"))
4418 retval = get_vertices ();
4419 else if (pname.
compare (
"xdata"))
4420 retval = get_xdata ();
4421 else if (pname.
compare (
"ydata"))
4422 retval = get_ydata ();
4423 else if (pname.
compare (
"zdata"))
4424 retval = get_zdata ();
4425 else if (pname.
compare (
"alim"))
4426 retval = get_alim ();
4427 else if (pname.
compare (
"clim"))
4428 retval = get_clim ();
4429 else if (pname.
compare (
"xlim"))
4430 retval = get_xlim ();
4431 else if (pname.
compare (
"ylim"))
4432 retval = get_ylim ();
4433 else if (pname.
compare (
"zlim"))
4434 retval = get_zlim ();
4435 else if (pname.
compare (
"aliminclude"))
4436 retval = get_aliminclude ();
4437 else if (pname.
compare (
"climinclude"))
4438 retval = get_climinclude ();
4439 else if (pname.
compare (
"xliminclude"))
4440 retval = get_xliminclude ();
4441 else if (pname.
compare (
"yliminclude"))
4442 retval = get_yliminclude ();
4443 else if (pname.
compare (
"zliminclude"))
4444 retval = get_zliminclude ();
4454 const std::set<std::string>& pnames = all_property_names ();
4461 if (pname.
compare (
"alphadatamapping"))
4462 return property (&alphadatamapping,
true);
4463 else if (pname.
compare (
"ambientstrength"))
4464 return property (&ambientstrength,
true);
4465 else if (pname.
compare (
"backfacelighting"))
4466 return property (&backfacelighting,
true);
4467 else if (pname.
compare (
"cdata"))
4469 else if (pname.
compare (
"cdatamapping"))
4470 return property (&cdatamapping,
true);
4471 else if (pname.
compare (
"diffusestrength"))
4472 return property (&diffusestrength,
true);
4473 else if (pname.
compare (
"displayname"))
4474 return property (&displayname,
true);
4475 else if (pname.
compare (
"edgealpha"))
4476 return property (&edgealpha,
true);
4477 else if (pname.
compare (
"edgecolor"))
4478 return property (&edgecolor,
true);
4479 else if (pname.
compare (
"edgelighting"))
4480 return property (&edgelighting,
true);
4481 else if (pname.
compare (
"erasemode"))
4482 return property (&erasemode,
true);
4483 else if (pname.
compare (
"facealpha"))
4484 return property (&facealpha,
true);
4485 else if (pname.
compare (
"facecolor"))
4486 return property (&facecolor,
true);
4487 else if (pname.
compare (
"facelighting"))
4488 return property (&facelighting,
true);
4489 else if (pname.
compare (
"faces"))
4491 else if (pname.
compare (
"facevertexalphadata"))
4492 return property (&facevertexalphadata,
true);
4493 else if (pname.
compare (
"facevertexcdata"))
4494 return property (&facevertexcdata,
true);
4495 else if (pname.
compare (
"interpreter"))
4496 return property (&interpreter,
true);
4497 else if (pname.
compare (
"linestyle"))
4498 return property (&linestyle,
true);
4499 else if (pname.
compare (
"linewidth"))
4500 return property (&linewidth,
true);
4501 else if (pname.
compare (
"marker"))
4503 else if (pname.
compare (
"markeredgecolor"))
4504 return property (&markeredgecolor,
true);
4505 else if (pname.
compare (
"markerfacecolor"))
4506 return property (&markerfacecolor,
true);
4507 else if (pname.
compare (
"markersize"))
4508 return property (&markersize,
true);
4509 else if (pname.
compare (
"normalmode"))
4510 return property (&normalmode,
true);
4511 else if (pname.
compare (
"specularcolorreflectance"))
4512 return property (&specularcolorreflectance,
true);
4513 else if (pname.
compare (
"specularexponent"))
4514 return property (&specularexponent,
true);
4515 else if (pname.
compare (
"specularstrength"))
4516 return property (&specularstrength,
true);
4517 else if (pname.
compare (
"vertexnormals"))
4518 return property (&vertexnormals,
true);
4519 else if (pname.
compare (
"vertices"))
4521 else if (pname.
compare (
"xdata"))
4523 else if (pname.
compare (
"ydata"))
4525 else if (pname.
compare (
"zdata"))
4527 else if (pname.
compare (
"alim"))
4529 else if (pname.
compare (
"clim"))
4531 else if (pname.
compare (
"xlim"))
4533 else if (pname.
compare (
"ylim"))
4535 else if (pname.
compare (
"zlim"))
4537 else if (pname.
compare (
"aliminclude"))
4538 return property (&aliminclude,
true);
4539 else if (pname.
compare (
"climinclude"))
4540 return property (&climinclude,
true);
4541 else if (pname.
compare (
"xliminclude"))
4542 return property (&xliminclude,
true);
4543 else if (pname.
compare (
"yliminclude"))
4544 return property (&yliminclude,
true);
4545 else if (pname.
compare (
"zliminclude"))
4546 return property (&zliminclude,
true);
4556 m[
"alphadatamapping"] =
"scaled";
4557 m[
"ambientstrength"] = 0.3;
4558 m[
"backfacelighting"] =
"reverselit";
4560 m[
"cdatamapping"] =
"scaled";
4561 m[
"diffusestrength"] = 0.6;
4562 m[
"displayname"] =
"";
4565 m[
"edgelighting"] =
"none";
4566 m[
"erasemode"] =
"normal";
4569 m[
"facelighting"] =
"none";
4571 m[
"facevertexalphadata"] =
Matrix ();
4572 m[
"facevertexcdata"] =
Matrix ();
4573 m[
"interpreter"] =
"tex";
4574 m[
"linestyle"] =
"-";
4575 m[
"linewidth"] = 0.5;
4576 m[
"marker"] =
"none";
4579 m[
"markersize"] = 6;
4580 m[
"normalmode"] =
"auto";
4581 m[
"specularcolorreflectance"] = 1.0;
4582 m[
"specularexponent"] = 10.0;
4583 m[
"specularstrength"] = 0.9;
4584 m[
"vertexnormals"] =
Matrix ();
4594 m[
"aliminclude"] =
"on";
4595 m[
"climinclude"] =
"on";
4596 m[
"xliminclude"] =
"on";
4597 m[
"yliminclude"] =
"on";
4598 m[
"zliminclude"] =
"on";
4605 std::set<std::string>
4608 static std::set<std::string> all_pnames;
4610 static bool initialized =
false;
4614 all_pnames.insert (
"alphadatamapping");
4615 all_pnames.insert (
"ambientstrength");
4616 all_pnames.insert (
"backfacelighting");
4617 all_pnames.insert (
"cdata");
4618 all_pnames.insert (
"cdatamapping");
4619 all_pnames.insert (
"diffusestrength");
4620 all_pnames.insert (
"displayname");
4621 all_pnames.insert (
"edgealpha");
4622 all_pnames.insert (
"edgecolor");
4623 all_pnames.insert (
"edgelighting");
4624 all_pnames.insert (
"erasemode");
4625 all_pnames.insert (
"facealpha");
4626 all_pnames.insert (
"facecolor");
4627 all_pnames.insert (
"facelighting");
4628 all_pnames.insert (
"faces");
4629 all_pnames.insert (
"facevertexalphadata");
4630 all_pnames.insert (
"facevertexcdata");
4631 all_pnames.insert (
"interpreter");
4632 all_pnames.insert (
"linestyle");
4633 all_pnames.insert (
"linewidth");
4634 all_pnames.insert (
"marker");
4635 all_pnames.insert (
"markeredgecolor");
4636 all_pnames.insert (
"markerfacecolor");
4637 all_pnames.insert (
"markersize");
4638 all_pnames.insert (
"normalmode");
4639 all_pnames.insert (
"specularcolorreflectance");
4640 all_pnames.insert (
"specularexponent");
4641 all_pnames.insert (
"specularstrength");
4642 all_pnames.insert (
"vertexnormals");
4643 all_pnames.insert (
"vertices");
4644 all_pnames.insert (
"xdata");
4645 all_pnames.insert (
"ydata");
4646 all_pnames.insert (
"zdata");
4647 all_pnames.insert (
"alim");
4648 all_pnames.insert (
"clim");
4649 all_pnames.insert (
"xlim");
4650 all_pnames.insert (
"ylim");
4651 all_pnames.insert (
"zlim");
4652 all_pnames.insert (
"aliminclude");
4653 all_pnames.insert (
"climinclude");
4654 all_pnames.insert (
"xliminclude");
4655 all_pnames.insert (
"yliminclude");
4656 all_pnames.insert (
"zliminclude");
4659 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4670 std::set<std::string> pnames = core_property_names ();
4672 return pnames.find (pname) != pnames.end ();
4675 std::set<std::string>
4678 static std::set<std::string> all_pnames;
4680 static bool initialized =
false;
4684 all_pnames.insert (
"alim");
4685 all_pnames.insert (
"clim");
4686 all_pnames.insert (
"xlim");
4687 all_pnames.insert (
"ylim");
4688 all_pnames.insert (
"zlim");
4691 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
4702 std::set<std::string> pnames = readonly_property_names ();
4704 return pnames.find (pname) != pnames.end ();
4707 std::set<std::string>
4710 static std::set<std::string> all_pnames = core_property_names ();
4712 std::set<std::string> retval = all_pnames;
4714 retval.insert (base_props.begin (), base_props.end ());
4722 std::set<std::string> pnames = all_property_names ();
4724 return pnames.find (pname) != pnames.end ();
4731 alphadata (
"alphadata", mh,
Matrix (1, 1, 1.0)),
4732 alphadatamapping (
"alphadatamapping", mh,
"none|direct|{scaled}"),
4733 ambientstrength (
"ambientstrength", mh, 0.3),
4734 backfacelighting (
"backfacelighting", mh,
"unlit|lit|{reverselit}"),
4736 cdatamapping (
"cdatamapping", mh,
"{scaled}|direct"),
4737 cdatasource (
"cdatasource", mh,
""),
4738 diffusestrength (
"diffusestrength", mh, 0.6),
4739 displayname (
"displayname", mh,
""),
4742 edgelighting (
"edgelighting", mh,
"{none}|flat|gouraud|phong"),
4743 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
4746 facelighting (
"facelighting", mh,
"{none}|flat|gouraud|phong"),
4747 interpreter (
"interpreter", mh,
"{tex}|none|latex"),
4748 linestyle (
"linestyle", mh,
"{-}|--|:|-.|none"),
4749 linewidth (
"linewidth", mh, 0.5),
4750 marker (
"marker", mh,
"{none}|+|o|*|.|x|s|square|d|diamond|^|v|>|<|p|pentagram|h|hexagram"),
4753 markersize (
"markersize", mh, 6),
4754 meshstyle (
"meshstyle", mh,
"{both}|row|column"),
4755 normalmode (
"normalmode", mh,
"{auto}|manual"),
4756 specularcolorreflectance (
"specularcolorreflectance", mh, 1),
4757 specularexponent (
"specularexponent", mh, 10),
4758 specularstrength (
"specularstrength", mh, 0.9),
4759 vertexnormals (
"vertexnormals", mh,
Matrix ()),
4761 xdatasource (
"xdatasource", mh,
""),
4763 ydatasource (
"ydatasource", mh,
""),
4765 zdatasource (
"zdatasource", mh,
""),
4766 alim (
"alim", mh,
Matrix ()),
4767 clim (
"clim", mh,
Matrix ()),
4768 xlim (
"xlim", mh,
Matrix ()),
4769 ylim (
"ylim", mh,
Matrix ()),
4770 zlim (
"zlim", mh,
Matrix ()),
4771 aliminclude (
"aliminclude", mh,
"on"),
4772 climinclude (
"climinclude", mh,
"on"),
4773 xliminclude (
"xliminclude", mh,
"on"),
4774 yliminclude (
"yliminclude", mh,
"on"),
4775 zliminclude (
"zliminclude", mh,
"on")
4838 const std::set<std::string>& pnames = all_property_names ();
4846 error (
"set: \"%s\" is read-only", pname.c_str ());
4850 if (pname.
compare (
"alphadata"))
4851 set_alphadata (val);
4852 else if (pname.
compare (
"alphadatamapping"))
4853 set_alphadatamapping (val);
4854 else if (pname.
compare (
"ambientstrength"))
4855 set_ambientstrength (val);
4856 else if (pname.
compare (
"backfacelighting"))
4857 set_backfacelighting (val);
4858 else if (pname.
compare (
"cdata"))
4860 else if (pname.
compare (
"cdatamapping"))
4861 set_cdatamapping (val);
4862 else if (pname.
compare (
"cdatasource"))
4863 set_cdatasource (val);
4864 else if (pname.
compare (
"diffusestrength"))
4865 set_diffusestrength (val);
4866 else if (pname.
compare (
"displayname"))
4867 set_displayname (val);
4868 else if (pname.
compare (
"edgealpha"))
4869 set_edgealpha (val);
4870 else if (pname.
compare (
"edgecolor"))
4871 set_edgecolor (val);
4872 else if (pname.
compare (
"edgelighting"))
4873 set_edgelighting (val);
4874 else if (pname.
compare (
"erasemode"))
4875 set_erasemode (val);
4876 else if (pname.
compare (
"facealpha"))
4877 set_facealpha (val);
4878 else if (pname.
compare (
"facecolor"))
4879 set_facecolor (val);
4880 else if (pname.
compare (
"facelighting"))
4881 set_facelighting (val);
4882 else if (pname.
compare (
"interpreter"))
4883 set_interpreter (val);
4884 else if (pname.
compare (
"linestyle"))
4885 set_linestyle (val);
4886 else if (pname.
compare (
"linewidth"))
4887 set_linewidth (val);
4888 else if (pname.
compare (
"marker"))
4890 else if (pname.
compare (
"markeredgecolor"))
4891 set_markeredgecolor (val);
4892 else if (pname.
compare (
"markerfacecolor"))
4893 set_markerfacecolor (val);
4894 else if (pname.
compare (
"markersize"))
4895 set_markersize (val);
4896 else if (pname.
compare (
"meshstyle"))
4897 set_meshstyle (val);
4898 else if (pname.
compare (
"normalmode"))
4899 set_normalmode (val);
4900 else if (pname.
compare (
"specularcolorreflectance"))
4901 set_specularcolorreflectance (val);
4902 else if (pname.
compare (
"specularexponent"))
4903 set_specularexponent (val);
4904 else if (pname.
compare (
"specularstrength"))
4905 set_specularstrength (val);
4906 else if (pname.
compare (
"vertexnormals"))
4907 set_vertexnormals (val);
4908 else if (pname.
compare (
"xdata"))
4910 else if (pname.
compare (
"xdatasource"))
4911 set_xdatasource (val);
4912 else if (pname.
compare (
"ydata"))
4914 else if (pname.
compare (
"ydatasource"))
4915 set_ydatasource (val);
4916 else if (pname.
compare (
"zdata"))
4918 else if (pname.
compare (
"zdatasource"))
4919 set_zdatasource (val);
4920 else if (pname.
compare (
"aliminclude"))
4921 set_aliminclude (val);
4922 else if (pname.
compare (
"climinclude"))
4923 set_climinclude (val);
4924 else if (pname.
compare (
"xliminclude"))
4925 set_xliminclude (val);
4926 else if (pname.
compare (
"yliminclude"))
4927 set_yliminclude (val);
4928 else if (pname.
compare (
"zliminclude"))
4929 set_zliminclude (val);
4964 m.
assign (
"specularcolorreflectance",
octave_value (get_specularcolorreflectance ()));
5003 const std::set<std::string>& pnames = all_property_names ();
5010 if (pname.
compare (
"alphadata"))
5011 retval = get_alphadata ();
5012 else if (pname.
compare (
"alphadatamapping"))
5013 retval = get_alphadatamapping ();
5014 else if (pname.
compare (
"ambientstrength"))
5015 retval = get_ambientstrength ();
5016 else if (pname.
compare (
"backfacelighting"))
5017 retval = get_backfacelighting ();
5018 else if (pname.
compare (
"cdata"))
5019 retval = get_cdata ();
5020 else if (pname.
compare (
"cdatamapping"))
5021 retval = get_cdatamapping ();
5022 else if (pname.
compare (
"cdatasource"))
5023 retval = get_cdatasource ();
5024 else if (pname.
compare (
"diffusestrength"))
5025 retval = get_diffusestrength ();
5026 else if (pname.
compare (
"displayname"))
5027 retval = get_displayname ();
5028 else if (pname.
compare (
"edgealpha"))
5029 retval = get_edgealpha ();
5030 else if (pname.
compare (
"edgecolor"))
5031 retval = get_edgecolor ();
5032 else if (pname.
compare (
"edgelighting"))
5033 retval = get_edgelighting ();
5034 else if (pname.
compare (
"erasemode"))
5035 retval = get_erasemode ();
5036 else if (pname.
compare (
"facealpha"))
5037 retval = get_facealpha ();
5038 else if (pname.
compare (
"facecolor"))
5039 retval = get_facecolor ();
5040 else if (pname.
compare (
"facelighting"))
5041 retval = get_facelighting ();
5042 else if (pname.
compare (
"interpreter"))
5043 retval = get_interpreter ();
5044 else if (pname.
compare (
"linestyle"))
5045 retval = get_linestyle ();
5046 else if (pname.
compare (
"linewidth"))
5047 retval = get_linewidth ();
5048 else if (pname.
compare (
"marker"))
5049 retval = get_marker ();
5050 else if (pname.
compare (
"markeredgecolor"))
5051 retval = get_markeredgecolor ();
5052 else if (pname.
compare (
"markerfacecolor"))
5053 retval = get_markerfacecolor ();
5054 else if (pname.
compare (
"markersize"))
5055 retval = get_markersize ();
5056 else if (pname.
compare (
"meshstyle"))
5057 retval = get_meshstyle ();
5058 else if (pname.
compare (
"normalmode"))
5059 retval = get_normalmode ();
5060 else if (pname.
compare (
"specularcolorreflectance"))
5061 retval = get_specularcolorreflectance ();
5062 else if (pname.
compare (
"specularexponent"))
5063 retval = get_specularexponent ();
5064 else if (pname.
compare (
"specularstrength"))
5065 retval = get_specularstrength ();
5066 else if (pname.
compare (
"vertexnormals"))
5067 retval = get_vertexnormals ();
5068 else if (pname.
compare (
"xdata"))
5069 retval = get_xdata ();
5070 else if (pname.
compare (
"xdatasource"))
5071 retval = get_xdatasource ();
5072 else if (pname.
compare (
"ydata"))
5073 retval = get_ydata ();
5074 else if (pname.
compare (
"ydatasource"))
5075 retval = get_ydatasource ();
5076 else if (pname.
compare (
"zdata"))
5077 retval = get_zdata ();
5078 else if (pname.
compare (
"zdatasource"))
5079 retval = get_zdatasource ();
5080 else if (pname.
compare (
"alim"))
5081 retval = get_alim ();
5082 else if (pname.
compare (
"clim"))
5083 retval = get_clim ();
5084 else if (pname.
compare (
"xlim"))
5085 retval = get_xlim ();
5086 else if (pname.
compare (
"ylim"))
5087 retval = get_ylim ();
5088 else if (pname.
compare (
"zlim"))
5089 retval = get_zlim ();
5090 else if (pname.
compare (
"aliminclude"))
5091 retval = get_aliminclude ();
5092 else if (pname.
compare (
"climinclude"))
5093 retval = get_climinclude ();
5094 else if (pname.
compare (
"xliminclude"))
5095 retval = get_xliminclude ();
5096 else if (pname.
compare (
"yliminclude"))
5097 retval = get_yliminclude ();
5098 else if (pname.
compare (
"zliminclude"))
5099 retval = get_zliminclude ();
5109 const std::set<std::string>& pnames = all_property_names ();
5116 if (pname.
compare (
"alphadata"))
5117 return property (&alphadata,
true);
5118 else if (pname.
compare (
"alphadatamapping"))
5119 return property (&alphadatamapping,
true);
5120 else if (pname.
compare (
"ambientstrength"))
5121 return property (&ambientstrength,
true);
5122 else if (pname.
compare (
"backfacelighting"))
5123 return property (&backfacelighting,
true);
5124 else if (pname.
compare (
"cdata"))
5126 else if (pname.
compare (
"cdatamapping"))
5127 return property (&cdatamapping,
true);
5128 else if (pname.
compare (
"cdatasource"))
5129 return property (&cdatasource,
true);
5130 else if (pname.
compare (
"diffusestrength"))
5131 return property (&diffusestrength,
true);
5132 else if (pname.
compare (
"displayname"))
5133 return property (&displayname,
true);
5134 else if (pname.
compare (
"edgealpha"))
5135 return property (&edgealpha,
true);
5136 else if (pname.
compare (
"edgecolor"))
5137 return property (&edgecolor,
true);
5138 else if (pname.
compare (
"edgelighting"))
5139 return property (&edgelighting,
true);
5140 else if (pname.
compare (
"erasemode"))
5141 return property (&erasemode,
true);
5142 else if (pname.
compare (
"facealpha"))
5143 return property (&facealpha,
true);
5144 else if (pname.
compare (
"facecolor"))
5145 return property (&facecolor,
true);
5146 else if (pname.
compare (
"facelighting"))
5147 return property (&facelighting,
true);
5148 else if (pname.
compare (
"interpreter"))
5149 return property (&interpreter,
true);
5150 else if (pname.
compare (
"linestyle"))
5151 return property (&linestyle,
true);
5152 else if (pname.
compare (
"linewidth"))
5153 return property (&linewidth,
true);
5154 else if (pname.
compare (
"marker"))
5156 else if (pname.
compare (
"markeredgecolor"))
5157 return property (&markeredgecolor,
true);
5158 else if (pname.
compare (
"markerfacecolor"))
5159 return property (&markerfacecolor,
true);
5160 else if (pname.
compare (
"markersize"))
5161 return property (&markersize,
true);
5162 else if (pname.
compare (
"meshstyle"))
5163 return property (&meshstyle,
true);
5164 else if (pname.
compare (
"normalmode"))
5165 return property (&normalmode,
true);
5166 else if (pname.
compare (
"specularcolorreflectance"))
5167 return property (&specularcolorreflectance,
true);
5168 else if (pname.
compare (
"specularexponent"))
5169 return property (&specularexponent,
true);
5170 else if (pname.
compare (
"specularstrength"))
5171 return property (&specularstrength,
true);
5172 else if (pname.
compare (
"vertexnormals"))
5173 return property (&vertexnormals,
true);
5174 else if (pname.
compare (
"xdata"))
5176 else if (pname.
compare (
"xdatasource"))
5177 return property (&xdatasource,
true);
5178 else if (pname.
compare (
"ydata"))
5180 else if (pname.
compare (
"ydatasource"))
5181 return property (&ydatasource,
true);
5182 else if (pname.
compare (
"zdata"))
5184 else if (pname.
compare (
"zdatasource"))
5185 return property (&zdatasource,
true);
5186 else if (pname.
compare (
"alim"))
5188 else if (pname.
compare (
"clim"))
5190 else if (pname.
compare (
"xlim"))
5192 else if (pname.
compare (
"ylim"))
5194 else if (pname.
compare (
"zlim"))
5196 else if (pname.
compare (
"aliminclude"))
5197 return property (&aliminclude,
true);
5198 else if (pname.
compare (
"climinclude"))
5199 return property (&climinclude,
true);
5200 else if (pname.
compare (
"xliminclude"))
5201 return property (&xliminclude,
true);
5202 else if (pname.
compare (
"yliminclude"))
5203 return property (&yliminclude,
true);
5204 else if (pname.
compare (
"zliminclude"))
5205 return property (&zliminclude,
true);
5215 m[
"alphadata"] =
Matrix (1, 1, 1.0);
5216 m[
"alphadatamapping"] =
"scaled";
5217 m[
"ambientstrength"] = 0.3;
5218 m[
"backfacelighting"] =
"reverselit";
5220 m[
"cdatamapping"] =
"scaled";
5221 m[
"cdatasource"] =
"";
5222 m[
"diffusestrength"] = 0.6;
5223 m[
"displayname"] =
"";
5226 m[
"edgelighting"] =
"none";
5227 m[
"erasemode"] =
"normal";
5230 m[
"facelighting"] =
"none";
5231 m[
"interpreter"] =
"tex";
5232 m[
"linestyle"] =
"-";
5233 m[
"linewidth"] = 0.5;
5234 m[
"marker"] =
"none";
5237 m[
"markersize"] = 6;
5238 m[
"meshstyle"] =
"both";
5239 m[
"normalmode"] =
"auto";
5240 m[
"specularcolorreflectance"] = 1;
5241 m[
"specularexponent"] = 10;
5242 m[
"specularstrength"] = 0.9;
5243 m[
"vertexnormals"] =
Matrix ();
5245 m[
"xdatasource"] =
"";
5247 m[
"ydatasource"] =
"";
5249 m[
"zdatasource"] =
"";
5255 m[
"aliminclude"] =
"on";
5256 m[
"climinclude"] =
"on";
5257 m[
"xliminclude"] =
"on";
5258 m[
"yliminclude"] =
"on";
5259 m[
"zliminclude"] =
"on";
5266 std::set<std::string>
5269 static std::set<std::string> all_pnames;
5271 static bool initialized =
false;
5275 all_pnames.insert (
"alphadata");
5276 all_pnames.insert (
"alphadatamapping");
5277 all_pnames.insert (
"ambientstrength");
5278 all_pnames.insert (
"backfacelighting");
5279 all_pnames.insert (
"cdata");
5280 all_pnames.insert (
"cdatamapping");
5281 all_pnames.insert (
"cdatasource");
5282 all_pnames.insert (
"diffusestrength");
5283 all_pnames.insert (
"displayname");
5284 all_pnames.insert (
"edgealpha");
5285 all_pnames.insert (
"edgecolor");
5286 all_pnames.insert (
"edgelighting");
5287 all_pnames.insert (
"erasemode");
5288 all_pnames.insert (
"facealpha");
5289 all_pnames.insert (
"facecolor");
5290 all_pnames.insert (
"facelighting");
5291 all_pnames.insert (
"interpreter");
5292 all_pnames.insert (
"linestyle");
5293 all_pnames.insert (
"linewidth");
5294 all_pnames.insert (
"marker");
5295 all_pnames.insert (
"markeredgecolor");
5296 all_pnames.insert (
"markerfacecolor");
5297 all_pnames.insert (
"markersize");
5298 all_pnames.insert (
"meshstyle");
5299 all_pnames.insert (
"normalmode");
5300 all_pnames.insert (
"specularcolorreflectance");
5301 all_pnames.insert (
"specularexponent");
5302 all_pnames.insert (
"specularstrength");
5303 all_pnames.insert (
"vertexnormals");
5304 all_pnames.insert (
"xdata");
5305 all_pnames.insert (
"xdatasource");
5306 all_pnames.insert (
"ydata");
5307 all_pnames.insert (
"ydatasource");
5308 all_pnames.insert (
"zdata");
5309 all_pnames.insert (
"zdatasource");
5310 all_pnames.insert (
"alim");
5311 all_pnames.insert (
"clim");
5312 all_pnames.insert (
"xlim");
5313 all_pnames.insert (
"ylim");
5314 all_pnames.insert (
"zlim");
5315 all_pnames.insert (
"aliminclude");
5316 all_pnames.insert (
"climinclude");
5317 all_pnames.insert (
"xliminclude");
5318 all_pnames.insert (
"yliminclude");
5319 all_pnames.insert (
"zliminclude");
5322 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5333 std::set<std::string> pnames = core_property_names ();
5335 return pnames.find (pname) != pnames.end ();
5338 std::set<std::string>
5341 static std::set<std::string> all_pnames;
5343 static bool initialized =
false;
5347 all_pnames.insert (
"alim");
5348 all_pnames.insert (
"clim");
5349 all_pnames.insert (
"xlim");
5350 all_pnames.insert (
"ylim");
5351 all_pnames.insert (
"zlim");
5354 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5365 std::set<std::string> pnames = readonly_property_names ();
5367 return pnames.find (pname) != pnames.end ();
5370 std::set<std::string>
5373 static std::set<std::string> all_pnames = core_property_names ();
5375 std::set<std::string> retval = all_pnames;
5377 retval.insert (base_props.begin (), base_props.end ());
5385 std::set<std::string> pnames = all_property_names ();
5387 return pnames.find (pname) != pnames.end ();
5394 displayname (
"displayname", mh,
""),
5395 erasemode (
"erasemode", mh,
"{normal}|none|xor|background"),
5396 alim (
"alim", mh,
Matrix ()),
5397 clim (
"clim", mh,
Matrix ()),
5398 xlim (
"xlim", mh,
Matrix ()),
5399 ylim (
"ylim", mh,
Matrix ()),
5400 zlim (
"zlim", mh,
Matrix ()),
5401 aliminclude (
"aliminclude", mh,
"on"),
5402 climinclude (
"climinclude", mh,
"on"),
5403 xliminclude (
"xliminclude", mh,
"on"),
5404 yliminclude (
"yliminclude", mh,
"on"),
5405 zliminclude (
"zliminclude", mh,
"on")
5435 const std::set<std::string>& pnames = all_property_names ();
5443 error (
"set: \"%s\" is read-only", pname.c_str ());
5447 if (pname.
compare (
"displayname"))
5448 set_displayname (val);
5449 else if (pname.
compare (
"erasemode"))
5450 set_erasemode (val);
5451 else if (pname.
compare (
"aliminclude"))
5452 set_aliminclude (val);
5453 else if (pname.
compare (
"climinclude"))
5454 set_climinclude (val);
5455 else if (pname.
compare (
"xliminclude"))
5456 set_xliminclude (val);
5457 else if (pname.
compare (
"yliminclude"))
5458 set_yliminclude (val);
5459 else if (pname.
compare (
"zliminclude"))
5460 set_zliminclude (val);
5501 const std::set<std::string>& pnames = all_property_names ();
5508 if (pname.
compare (
"displayname"))
5509 retval = get_displayname ();
5510 else if (pname.
compare (
"erasemode"))
5511 retval = get_erasemode ();
5512 else if (pname.
compare (
"alim"))
5513 retval = get_alim ();
5514 else if (pname.
compare (
"clim"))
5515 retval = get_clim ();
5516 else if (pname.
compare (
"xlim"))
5517 retval = get_xlim ();
5518 else if (pname.
compare (
"ylim"))
5519 retval = get_ylim ();
5520 else if (pname.
compare (
"zlim"))
5521 retval = get_zlim ();
5522 else if (pname.
compare (
"aliminclude"))
5523 retval = get_aliminclude ();
5524 else if (pname.
compare (
"climinclude"))
5525 retval = get_climinclude ();
5526 else if (pname.
compare (
"xliminclude"))
5527 retval = get_xliminclude ();
5528 else if (pname.
compare (
"yliminclude"))
5529 retval = get_yliminclude ();
5530 else if (pname.
compare (
"zliminclude"))
5531 retval = get_zliminclude ();
5541 const std::set<std::string>& pnames = all_property_names ();
5548 if (pname.
compare (
"displayname"))
5549 return property (&displayname,
true);
5550 else if (pname.
compare (
"erasemode"))
5551 return property (&erasemode,
true);
5552 else if (pname.
compare (
"alim"))
5554 else if (pname.
compare (
"clim"))
5556 else if (pname.
compare (
"xlim"))
5558 else if (pname.
compare (
"ylim"))
5560 else if (pname.
compare (
"zlim"))
5562 else if (pname.
compare (
"aliminclude"))
5563 return property (&aliminclude,
true);
5564 else if (pname.
compare (
"climinclude"))
5565 return property (&climinclude,
true);
5566 else if (pname.
compare (
"xliminclude"))
5567 return property (&xliminclude,
true);
5568 else if (pname.
compare (
"yliminclude"))
5569 return property (&yliminclude,
true);
5570 else if (pname.
compare (
"zliminclude"))
5571 return property (&zliminclude,
true);
5581 m[
"displayname"] =
"";
5582 m[
"erasemode"] =
"normal";
5588 m[
"aliminclude"] =
"on";
5589 m[
"climinclude"] =
"on";
5590 m[
"xliminclude"] =
"on";
5591 m[
"yliminclude"] =
"on";
5592 m[
"zliminclude"] =
"on";
5599 std::set<std::string>
5602 static std::set<std::string> all_pnames;
5604 static bool initialized =
false;
5608 all_pnames.insert (
"displayname");
5609 all_pnames.insert (
"erasemode");
5610 all_pnames.insert (
"alim");
5611 all_pnames.insert (
"clim");
5612 all_pnames.insert (
"xlim");
5613 all_pnames.insert (
"ylim");
5614 all_pnames.insert (
"zlim");
5615 all_pnames.insert (
"aliminclude");
5616 all_pnames.insert (
"climinclude");
5617 all_pnames.insert (
"xliminclude");
5618 all_pnames.insert (
"yliminclude");
5619 all_pnames.insert (
"zliminclude");
5622 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5633 std::set<std::string> pnames = core_property_names ();
5635 return pnames.find (pname) != pnames.end ();
5638 std::set<std::string>
5641 static std::set<std::string> all_pnames;
5643 static bool initialized =
false;
5647 all_pnames.insert (
"alim");
5648 all_pnames.insert (
"clim");
5649 all_pnames.insert (
"xlim");
5650 all_pnames.insert (
"ylim");
5651 all_pnames.insert (
"zlim");
5654 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5665 std::set<std::string> pnames = readonly_property_names ();
5667 return pnames.find (pname) != pnames.end ();
5670 std::set<std::string>
5673 static std::set<std::string> all_pnames = core_property_names ();
5675 std::set<std::string> retval = all_pnames;
5677 retval.insert (base_props.begin (), base_props.end ());
5685 std::set<std::string> pnames = all_property_names ();
5687 return pnames.find (pname) != pnames.end ();
5694 __object__ (
"__object__", mh,
Matrix ()),
5695 accelerator (
"accelerator", mh,
""),
5696 callback (
"callback", mh,
Matrix ()),
5697 checked (
"checked", mh,
"off"),
5698 enable (
"enable", mh,
"on"),
5699 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
5700 label (
"label", mh,
""),
5701 position (
"position", mh, 0),
5702 separator (
"separator", mh,
"off"),
5703 fltk_label (
"fltk_label", mh,
"")
5722 const std::set<std::string>& pnames = all_property_names ();
5730 error (
"set: \"%s\" is read-only", pname.c_str ());
5734 if (pname.
compare (
"__object__"))
5735 set___object__ (val);
5736 else if (pname.
compare (
"accelerator"))
5737 set_accelerator (val);
5738 else if (pname.
compare (
"callback"))
5740 else if (pname.
compare (
"checked"))
5742 else if (pname.
compare (
"enable"))
5744 else if (pname.
compare (
"foregroundcolor"))
5745 set_foregroundcolor (val);
5746 else if (pname.
compare (
"label"))
5748 else if (pname.
compare (
"position"))
5750 else if (pname.
compare (
"separator"))
5751 set_separator (val);
5752 else if (pname.
compare (
"fltk_label"))
5753 set_fltk_label (val);
5783 const std::set<std::string>& pnames = all_property_names ();
5790 if (pname.
compare (
"__object__"))
5791 retval = get___object__ ();
5792 else if (pname.
compare (
"accelerator"))
5793 retval = get_accelerator ();
5794 else if (pname.
compare (
"callback"))
5795 retval = get_callback ();
5796 else if (pname.
compare (
"checked"))
5797 retval = get_checked ();
5798 else if (pname.
compare (
"enable"))
5799 retval = get_enable ();
5800 else if (pname.
compare (
"foregroundcolor"))
5801 retval = get_foregroundcolor ();
5802 else if (pname.
compare (
"label"))
5803 retval = get_label ();
5804 else if (pname.
compare (
"position"))
5805 retval = get_position ();
5806 else if (pname.
compare (
"separator"))
5807 retval = get_separator ();
5808 else if (pname.
compare (
"fltk_label"))
5809 retval = get_fltk_label ();
5819 const std::set<std::string>& pnames = all_property_names ();
5826 if (pname.
compare (
"__object__"))
5827 return property (&__object__,
true);
5828 else if (pname.
compare (
"accelerator"))
5829 return property (&accelerator,
true);
5830 else if (pname.
compare (
"callback"))
5832 else if (pname.
compare (
"checked"))
5834 else if (pname.
compare (
"enable"))
5836 else if (pname.
compare (
"foregroundcolor"))
5837 return property (&foregroundcolor,
true);
5838 else if (pname.
compare (
"label"))
5840 else if (pname.
compare (
"position"))
5842 else if (pname.
compare (
"separator"))
5843 return property (&separator,
true);
5844 else if (pname.
compare (
"fltk_label"))
5845 return property (&fltk_label,
true);
5855 m[
"__object__"] =
Matrix ();
5856 m[
"accelerator"] =
"";
5857 m[
"callback"] =
Matrix ();
5858 m[
"checked"] =
"off";
5863 m[
"separator"] =
"off";
5864 m[
"fltk_label"] =
"";
5871 std::set<std::string>
5874 static std::set<std::string> all_pnames;
5876 static bool initialized =
false;
5880 all_pnames.insert (
"__object__");
5881 all_pnames.insert (
"accelerator");
5882 all_pnames.insert (
"callback");
5883 all_pnames.insert (
"checked");
5884 all_pnames.insert (
"enable");
5885 all_pnames.insert (
"foregroundcolor");
5886 all_pnames.insert (
"label");
5887 all_pnames.insert (
"position");
5888 all_pnames.insert (
"separator");
5889 all_pnames.insert (
"fltk_label");
5892 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5903 std::set<std::string> pnames = core_property_names ();
5905 return pnames.find (pname) != pnames.end ();
5908 std::set<std::string>
5911 static std::set<std::string> all_pnames;
5913 static bool initialized =
false;
5919 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
5930 std::set<std::string> pnames = readonly_property_names ();
5932 return pnames.find (pname) != pnames.end ();
5935 std::set<std::string>
5938 static std::set<std::string> all_pnames = core_property_names ();
5940 std::set<std::string> retval = all_pnames;
5942 retval.insert (base_props.begin (), base_props.end ());
5950 std::set<std::string> pnames = all_property_names ();
5952 return pnames.find (pname) != pnames.end ();
5959 __object__ (
"__object__", mh,
Matrix ()),
5960 callback (
"callback", mh,
Matrix ()),
5961 position (
"position", mh,
Matrix (1, 2, 0.0))
5972 const std::set<std::string>& pnames = all_property_names ();
5980 error (
"set: \"%s\" is read-only", pname.c_str ());
5984 if (pname.
compare (
"__object__"))
5985 set___object__ (val);
5986 else if (pname.
compare (
"callback"))
5988 else if (pname.
compare (
"position"))
6011 const std::set<std::string>& pnames = all_property_names ();
6018 if (pname.
compare (
"__object__"))
6019 retval = get___object__ ();
6020 else if (pname.
compare (
"callback"))
6021 retval = get_callback ();
6022 else if (pname.
compare (
"position"))
6023 retval = get_position ();
6033 const std::set<std::string>& pnames = all_property_names ();
6040 if (pname.
compare (
"__object__"))
6041 return property (&__object__,
true);
6042 else if (pname.
compare (
"callback"))
6044 else if (pname.
compare (
"position"))
6055 m[
"__object__"] =
Matrix ();
6056 m[
"callback"] =
Matrix ();
6057 m[
"position"] =
Matrix (1, 2, 0.0);
6064 std::set<std::string>
6067 static std::set<std::string> all_pnames;
6069 static bool initialized =
false;
6073 all_pnames.insert (
"__object__");
6074 all_pnames.insert (
"callback");
6075 all_pnames.insert (
"position");
6078 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6089 std::set<std::string> pnames = core_property_names ();
6091 return pnames.find (pname) != pnames.end ();
6094 std::set<std::string>
6097 static std::set<std::string> all_pnames;
6099 static bool initialized =
false;
6105 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6116 std::set<std::string> pnames = readonly_property_names ();
6118 return pnames.find (pname) != pnames.end ();
6121 std::set<std::string>
6124 static std::set<std::string> all_pnames = core_property_names ();
6126 std::set<std::string> retval = all_pnames;
6128 retval.insert (base_props.begin (), base_props.end ());
6136 std::set<std::string> pnames = all_property_names ();
6138 return pnames.find (pname) != pnames.end ();
6145 __object__ (
"__object__", mh,
Matrix ()),
6146 backgroundcolor (
"backgroundcolor", mh,
color_values (1, 1, 1)),
6147 callback (
"callback", mh,
Matrix ()),
6148 cdata (
"cdata", mh,
Matrix ()),
6149 clipping (
"clipping", mh,
"on"),
6150 enable (
"enable", mh,
"{on}|inactive|off"),
6151 extent (
"extent", mh,
Matrix (1, 4, 0.0)),
6152 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
6154 fontsize (
"fontsize", mh, 10),
6155 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
6156 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
6157 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
6158 horizontalalignment (
"horizontalalignment", mh,
"left|{center}|right"),
6159 keypressfcn (
"keypressfcn", mh,
Matrix ()),
6160 listboxtop (
"listboxtop", mh, 1),
6165 string (
"string", mh,
""),
6166 style (
"style", mh,
"{pushbutton}|togglebutton|radiobutton|checkbox|edit|text|slider|frame|listbox|popupmenu"),
6167 tooltipstring (
"tooltipstring", mh,
""),
6168 units (
"units", mh,
"normalized|inches|centimeters|points|{pixels}|characters"),
6169 value (
"value", mh,
Matrix (1, 1, 1.0)),
6170 verticalalignment (
"verticalalignment", mh,
"top|{middle}|bottom")
6204 const std::set<std::string>& pnames = all_property_names ();
6212 error (
"set: \"%s\" is read-only", pname.c_str ());
6216 if (pname.
compare (
"__object__"))
6217 set___object__ (val);
6218 else if (pname.
compare (
"backgroundcolor"))
6219 set_backgroundcolor (val);
6220 else if (pname.
compare (
"callback"))
6222 else if (pname.
compare (
"cdata"))
6224 else if (pname.
compare (
"clipping"))
6226 else if (pname.
compare (
"enable"))
6228 else if (pname.
compare (
"fontangle"))
6229 set_fontangle (val);
6230 else if (pname.
compare (
"fontname"))
6232 else if (pname.
compare (
"fontsize"))
6234 else if (pname.
compare (
"fontunits"))
6235 set_fontunits (val);
6236 else if (pname.
compare (
"fontweight"))
6237 set_fontweight (val);
6238 else if (pname.
compare (
"foregroundcolor"))
6239 set_foregroundcolor (val);
6240 else if (pname.
compare (
"horizontalalignment"))
6241 set_horizontalalignment (val);
6242 else if (pname.
compare (
"keypressfcn"))
6243 set_keypressfcn (val);
6244 else if (pname.
compare (
"listboxtop"))
6245 set_listboxtop (val);
6246 else if (pname.
compare (
"max"))
6248 else if (pname.
compare (
"min"))
6250 else if (pname.
compare (
"position"))
6252 else if (pname.
compare (
"sliderstep"))
6253 set_sliderstep (val);
6254 else if (pname.
compare (
"string"))
6256 else if (pname.
compare (
"style"))
6258 else if (pname.
compare (
"tooltipstring"))
6259 set_tooltipstring (val);
6260 else if (pname.
compare (
"units"))
6262 else if (pname.
compare (
"value"))
6264 else if (pname.
compare (
"verticalalignment"))
6265 set_verticalalignment (val);
6310 const std::set<std::string>& pnames = all_property_names ();
6317 if (pname.
compare (
"__object__"))
6318 retval = get___object__ ();
6319 else if (pname.
compare (
"backgroundcolor"))
6320 retval = get_backgroundcolor ();
6321 else if (pname.
compare (
"callback"))
6322 retval = get_callback ();
6323 else if (pname.
compare (
"cdata"))
6324 retval = get_cdata ();
6325 else if (pname.
compare (
"clipping"))
6326 retval = get_clipping ();
6327 else if (pname.
compare (
"enable"))
6328 retval = get_enable ();
6329 else if (pname.
compare (
"extent"))
6330 retval = get_extent ();
6331 else if (pname.
compare (
"fontangle"))
6332 retval = get_fontangle ();
6333 else if (pname.
compare (
"fontname"))
6334 retval = get_fontname ();
6335 else if (pname.
compare (
"fontsize"))
6336 retval = get_fontsize ();
6337 else if (pname.
compare (
"fontunits"))
6338 retval = get_fontunits ();
6339 else if (pname.
compare (
"fontweight"))
6340 retval = get_fontweight ();
6341 else if (pname.
compare (
"foregroundcolor"))
6342 retval = get_foregroundcolor ();
6343 else if (pname.
compare (
"horizontalalignment"))
6344 retval = get_horizontalalignment ();
6345 else if (pname.
compare (
"keypressfcn"))
6346 retval = get_keypressfcn ();
6347 else if (pname.
compare (
"listboxtop"))
6348 retval = get_listboxtop ();
6349 else if (pname.
compare (
"max"))
6350 retval = get_max ();
6351 else if (pname.
compare (
"min"))
6352 retval = get_min ();
6353 else if (pname.
compare (
"position"))
6354 retval = get_position ();
6355 else if (pname.
compare (
"sliderstep"))
6356 retval = get_sliderstep ();
6357 else if (pname.
compare (
"string"))
6358 retval = get_string ();
6359 else if (pname.
compare (
"style"))
6360 retval = get_style ();
6361 else if (pname.
compare (
"tooltipstring"))
6362 retval = get_tooltipstring ();
6363 else if (pname.
compare (
"units"))
6364 retval = get_units ();
6365 else if (pname.
compare (
"value"))
6366 retval = get_value ();
6367 else if (pname.
compare (
"verticalalignment"))
6368 retval = get_verticalalignment ();
6378 const std::set<std::string>& pnames = all_property_names ();
6385 if (pname.
compare (
"__object__"))
6386 return property (&__object__,
true);
6387 else if (pname.
compare (
"backgroundcolor"))
6388 return property (&backgroundcolor,
true);
6389 else if (pname.
compare (
"callback"))
6391 else if (pname.
compare (
"cdata"))
6393 else if (pname.
compare (
"clipping"))
6395 else if (pname.
compare (
"enable"))
6397 else if (pname.
compare (
"extent"))
6399 else if (pname.
compare (
"fontangle"))
6400 return property (&fontangle,
true);
6401 else if (pname.
compare (
"fontname"))
6403 else if (pname.
compare (
"fontsize"))
6405 else if (pname.
compare (
"fontunits"))
6406 return property (&fontunits,
true);
6407 else if (pname.
compare (
"fontweight"))
6408 return property (&fontweight,
true);
6409 else if (pname.
compare (
"foregroundcolor"))
6410 return property (&foregroundcolor,
true);
6411 else if (pname.
compare (
"horizontalalignment"))
6412 return property (&horizontalalignment,
true);
6413 else if (pname.
compare (
"keypressfcn"))
6414 return property (&keypressfcn,
true);
6415 else if (pname.
compare (
"listboxtop"))
6416 return property (&listboxtop,
true);
6417 else if (pname.
compare (
"max"))
6419 else if (pname.
compare (
"min"))
6421 else if (pname.
compare (
"position"))
6423 else if (pname.
compare (
"sliderstep"))
6424 return property (&sliderstep,
true);
6425 else if (pname.
compare (
"string"))
6427 else if (pname.
compare (
"style"))
6429 else if (pname.
compare (
"tooltipstring"))
6430 return property (&tooltipstring,
true);
6431 else if (pname.
compare (
"units"))
6433 else if (pname.
compare (
"value"))
6435 else if (pname.
compare (
"verticalalignment"))
6436 return property (&verticalalignment,
true);
6446 m[
"__object__"] =
Matrix ();
6448 m[
"callback"] =
Matrix ();
6450 m[
"clipping"] =
"on";
6452 m[
"extent"] =
Matrix (1, 4, 0.0);
6453 m[
"fontangle"] =
"normal";
6456 m[
"fontunits"] =
"points";
6457 m[
"fontweight"] =
"normal";
6459 m[
"horizontalalignment"] =
"center";
6460 m[
"keypressfcn"] =
Matrix ();
6461 m[
"listboxtop"] = 1;
6467 m[
"style"] =
"pushbutton";
6468 m[
"tooltipstring"] =
"";
6469 m[
"units"] =
"pixels";
6470 m[
"value"] =
Matrix (1, 1, 1.0);
6471 m[
"verticalalignment"] =
"middle";
6478 std::set<std::string>
6481 static std::set<std::string> all_pnames;
6483 static bool initialized =
false;
6487 all_pnames.insert (
"__object__");
6488 all_pnames.insert (
"backgroundcolor");
6489 all_pnames.insert (
"callback");
6490 all_pnames.insert (
"cdata");
6491 all_pnames.insert (
"clipping");
6492 all_pnames.insert (
"enable");
6493 all_pnames.insert (
"extent");
6494 all_pnames.insert (
"fontangle");
6495 all_pnames.insert (
"fontname");
6496 all_pnames.insert (
"fontsize");
6497 all_pnames.insert (
"fontunits");
6498 all_pnames.insert (
"fontweight");
6499 all_pnames.insert (
"foregroundcolor");
6500 all_pnames.insert (
"horizontalalignment");
6501 all_pnames.insert (
"keypressfcn");
6502 all_pnames.insert (
"listboxtop");
6503 all_pnames.insert (
"max");
6504 all_pnames.insert (
"min");
6505 all_pnames.insert (
"position");
6506 all_pnames.insert (
"sliderstep");
6507 all_pnames.insert (
"string");
6508 all_pnames.insert (
"style");
6509 all_pnames.insert (
"tooltipstring");
6510 all_pnames.insert (
"units");
6511 all_pnames.insert (
"value");
6512 all_pnames.insert (
"verticalalignment");
6515 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6526 std::set<std::string> pnames = core_property_names ();
6528 return pnames.find (pname) != pnames.end ();
6531 std::set<std::string>
6534 static std::set<std::string> all_pnames;
6536 static bool initialized =
false;
6540 all_pnames.insert (
"extent");
6543 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6554 std::set<std::string> pnames = readonly_property_names ();
6556 return pnames.find (pname) != pnames.end ();
6559 std::set<std::string>
6562 static std::set<std::string> all_pnames = core_property_names ();
6564 std::set<std::string> retval = all_pnames;
6566 retval.insert (base_props.begin (), base_props.end ());
6574 std::set<std::string> pnames = all_property_names ();
6576 return pnames.find (pname) != pnames.end ();
6583 __object__ (
"__object__", mh,
Matrix ()),
6584 backgroundcolor (
"backgroundcolor", mh,
color_values (1, 1, 1)),
6585 bordertype (
"bordertype", mh,
"none|{etchedin}|etchedout|beveledin|beveledout|line"),
6586 borderwidth (
"borderwidth", mh, 1),
6587 fontangle (
"fontangle", mh,
"{normal}|italic|oblique"),
6589 fontsize (
"fontsize", mh, 10),
6590 fontunits (
"fontunits", mh,
"inches|centimeters|normalized|{points}|pixels"),
6591 fontweight (
"fontweight", mh,
"light|{normal}|demi|bold"),
6592 foregroundcolor (
"foregroundcolor", mh,
color_values (0, 0, 0)),
6593 highlightcolor (
"highlightcolor", mh,
color_values (1, 1, 1)),
6595 resizefcn (
"resizefcn", mh,
Matrix ()),
6596 shadowcolor (
"shadowcolor", mh,
color_values (0, 0, 0)),
6597 title (
"title", mh,
""),
6598 titleposition (
"titleposition", mh,
"{lefttop}|centertop|righttop|leftbottom|centerbottom|rightbottom"),
6599 units (
"units", mh,
"{normalized}|inches|centimeters|points|pixels|characters")
6624 const std::set<std::string>& pnames = all_property_names ();
6632 error (
"set: \"%s\" is read-only", pname.c_str ());
6636 if (pname.
compare (
"__object__"))
6637 set___object__ (val);
6638 else if (pname.
compare (
"backgroundcolor"))
6639 set_backgroundcolor (val);
6640 else if (pname.
compare (
"bordertype"))
6641 set_bordertype (val);
6642 else if (pname.
compare (
"borderwidth"))
6643 set_borderwidth (val);
6644 else if (pname.
compare (
"fontangle"))
6645 set_fontangle (val);
6646 else if (pname.
compare (
"fontname"))
6648 else if (pname.
compare (
"fontsize"))
6650 else if (pname.
compare (
"fontunits"))
6651 set_fontunits (val);
6652 else if (pname.
compare (
"fontweight"))
6653 set_fontweight (val);
6654 else if (pname.
compare (
"foregroundcolor"))
6655 set_foregroundcolor (val);
6656 else if (pname.
compare (
"highlightcolor"))
6657 set_highlightcolor (val);
6658 else if (pname.
compare (
"position"))
6660 else if (pname.
compare (
"resizefcn"))
6661 set_resizefcn (val);
6662 else if (pname.
compare (
"shadowcolor"))
6663 set_shadowcolor (val);
6664 else if (pname.
compare (
"title"))
6666 else if (pname.
compare (
"titleposition"))
6667 set_titleposition (val);
6668 else if (pname.
compare (
"units"))
6705 const std::set<std::string>& pnames = all_property_names ();
6712 if (pname.
compare (
"__object__"))
6713 retval = get___object__ ();
6714 else if (pname.
compare (
"backgroundcolor"))
6715 retval = get_backgroundcolor ();
6716 else if (pname.
compare (
"bordertype"))
6717 retval = get_bordertype ();
6718 else if (pname.
compare (
"borderwidth"))
6719 retval = get_borderwidth ();
6720 else if (pname.
compare (
"fontangle"))
6721 retval = get_fontangle ();
6722 else if (pname.
compare (
"fontname"))
6723 retval = get_fontname ();
6724 else if (pname.
compare (
"fontsize"))
6725 retval = get_fontsize ();
6726 else if (pname.
compare (
"fontunits"))
6727 retval = get_fontunits ();
6728 else if (pname.
compare (
"fontweight"))
6729 retval = get_fontweight ();
6730 else if (pname.
compare (
"foregroundcolor"))
6731 retval = get_foregroundcolor ();
6732 else if (pname.
compare (
"highlightcolor"))
6733 retval = get_highlightcolor ();
6734 else if (pname.
compare (
"position"))
6735 retval = get_position ();
6736 else if (pname.
compare (
"resizefcn"))
6737 retval = get_resizefcn ();
6738 else if (pname.
compare (
"shadowcolor"))
6739 retval = get_shadowcolor ();
6740 else if (pname.
compare (
"title"))
6741 retval = get_title ();
6742 else if (pname.
compare (
"titleposition"))
6743 retval = get_titleposition ();
6744 else if (pname.
compare (
"units"))
6745 retval = get_units ();
6755 const std::set<std::string>& pnames = all_property_names ();
6762 if (pname.
compare (
"__object__"))
6763 return property (&__object__,
true);
6764 else if (pname.
compare (
"backgroundcolor"))
6765 return property (&backgroundcolor,
true);
6766 else if (pname.
compare (
"bordertype"))
6767 return property (&bordertype,
true);
6768 else if (pname.
compare (
"borderwidth"))
6769 return property (&borderwidth,
true);
6770 else if (pname.
compare (
"fontangle"))
6771 return property (&fontangle,
true);
6772 else if (pname.
compare (
"fontname"))
6774 else if (pname.
compare (
"fontsize"))
6776 else if (pname.
compare (
"fontunits"))
6777 return property (&fontunits,
true);
6778 else if (pname.
compare (
"fontweight"))
6779 return property (&fontweight,
true);
6780 else if (pname.
compare (
"foregroundcolor"))
6781 return property (&foregroundcolor,
true);
6782 else if (pname.
compare (
"highlightcolor"))
6783 return property (&highlightcolor,
true);
6784 else if (pname.
compare (
"position"))
6786 else if (pname.
compare (
"resizefcn"))
6787 return property (&resizefcn,
true);
6788 else if (pname.
compare (
"shadowcolor"))
6789 return property (&shadowcolor,
true);
6790 else if (pname.
compare (
"title"))
6792 else if (pname.
compare (
"titleposition"))
6793 return property (&titleposition,
true);
6794 else if (pname.
compare (
"units"))
6805 m[
"__object__"] =
Matrix ();
6807 m[
"bordertype"] =
"etchedin";
6808 m[
"borderwidth"] = 1;
6809 m[
"fontangle"] =
"normal";
6812 m[
"fontunits"] =
"points";
6813 m[
"fontweight"] =
"normal";
6817 m[
"resizefcn"] =
Matrix ();
6820 m[
"titleposition"] =
"lefttop";
6821 m[
"units"] =
"normalized";
6828 std::set<std::string>
6831 static std::set<std::string> all_pnames;
6833 static bool initialized =
false;
6837 all_pnames.insert (
"__object__");
6838 all_pnames.insert (
"backgroundcolor");
6839 all_pnames.insert (
"bordertype");
6840 all_pnames.insert (
"borderwidth");
6841 all_pnames.insert (
"fontangle");
6842 all_pnames.insert (
"fontname");
6843 all_pnames.insert (
"fontsize");
6844 all_pnames.insert (
"fontunits");
6845 all_pnames.insert (
"fontweight");
6846 all_pnames.insert (
"foregroundcolor");
6847 all_pnames.insert (
"highlightcolor");
6848 all_pnames.insert (
"position");
6849 all_pnames.insert (
"resizefcn");
6850 all_pnames.insert (
"shadowcolor");
6851 all_pnames.insert (
"title");
6852 all_pnames.insert (
"titleposition");
6853 all_pnames.insert (
"units");
6856 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6867 std::set<std::string> pnames = core_property_names ();
6869 return pnames.find (pname) != pnames.end ();
6872 std::set<std::string>
6875 static std::set<std::string> all_pnames;
6877 static bool initialized =
false;
6883 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
6894 std::set<std::string> pnames = readonly_property_names ();
6896 return pnames.find (pname) != pnames.end ();
6899 std::set<std::string>
6902 static std::set<std::string> all_pnames = core_property_names ();
6904 std::set<std::string> retval = all_pnames;
6906 retval.insert (base_props.begin (), base_props.end ());
6914 std::set<std::string> pnames = all_property_names ();
6916 return pnames.find (pname) != pnames.end ();
6923 __object__ (
"__object__", mh,
Matrix ())
6932 const std::set<std::string>& pnames = all_property_names ();
6940 error (
"set: \"%s\" is read-only", pname.c_str ());
6944 if (pname.
compare (
"__object__"))
6945 set___object__ (val);
6965 const std::set<std::string>& pnames = all_property_names ();
6972 if (pname.
compare (
"__object__"))
6973 retval = get___object__ ();
6983 const std::set<std::string>& pnames = all_property_names ();
6990 if (pname.
compare (
"__object__"))
6991 return property (&__object__,
true);
7001 m[
"__object__"] =
Matrix ();
7008 std::set<std::string>
7011 static std::set<std::string> all_pnames;
7013 static bool initialized =
false;
7017 all_pnames.insert (
"__object__");
7020 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7031 std::set<std::string> pnames = core_property_names ();
7033 return pnames.find (pname) != pnames.end ();
7036 std::set<std::string>
7039 static std::set<std::string> all_pnames;
7041 static bool initialized =
false;
7047 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7058 std::set<std::string> pnames = readonly_property_names ();
7060 return pnames.find (pname) != pnames.end ();
7063 std::set<std::string>
7066 static std::set<std::string> all_pnames = core_property_names ();
7068 std::set<std::string> retval = all_pnames;
7070 retval.insert (base_props.begin (), base_props.end ());
7078 std::set<std::string> pnames = all_property_names ();
7080 return pnames.find (pname) != pnames.end ();
7087 __object__ (
"__object__", mh,
Matrix ()),
7088 cdata (
"cdata", mh,
Matrix ()),
7089 clickedcallback (
"clickedcallback", mh,
Matrix ()),
7090 enable (
"enable", mh,
"on"),
7091 separator (
"separator", mh,
"off"),
7092 tooltipstring (
"tooltipstring", mh,
"")
7106 const std::set<std::string>& pnames = all_property_names ();
7114 error (
"set: \"%s\" is read-only", pname.c_str ());
7118 if (pname.
compare (
"__object__"))
7119 set___object__ (val);
7120 else if (pname.
compare (
"cdata"))
7122 else if (pname.
compare (
"clickedcallback"))
7123 set_clickedcallback (val);
7124 else if (pname.
compare (
"enable"))
7126 else if (pname.
compare (
"separator"))
7127 set_separator (val);
7128 else if (pname.
compare (
"tooltipstring"))
7129 set_tooltipstring (val);
7154 const std::set<std::string>& pnames = all_property_names ();
7161 if (pname.
compare (
"__object__"))
7162 retval = get___object__ ();
7163 else if (pname.
compare (
"cdata"))
7164 retval = get_cdata ();
7165 else if (pname.
compare (
"clickedcallback"))
7166 retval = get_clickedcallback ();
7167 else if (pname.
compare (
"enable"))
7168 retval = get_enable ();
7169 else if (pname.
compare (
"separator"))
7170 retval = get_separator ();
7171 else if (pname.
compare (
"tooltipstring"))
7172 retval = get_tooltipstring ();
7182 const std::set<std::string>& pnames = all_property_names ();
7189 if (pname.
compare (
"__object__"))
7190 return property (&__object__,
true);
7191 else if (pname.
compare (
"cdata"))
7193 else if (pname.
compare (
"clickedcallback"))
7194 return property (&clickedcallback,
true);
7195 else if (pname.
compare (
"enable"))
7197 else if (pname.
compare (
"separator"))
7198 return property (&separator,
true);
7199 else if (pname.
compare (
"tooltipstring"))
7200 return property (&tooltipstring,
true);
7210 m[
"__object__"] =
Matrix ();
7212 m[
"clickedcallback"] =
Matrix ();
7214 m[
"separator"] =
"off";
7215 m[
"tooltipstring"] =
"";
7222 std::set<std::string>
7225 static std::set<std::string> all_pnames;
7227 static bool initialized =
false;
7231 all_pnames.insert (
"__object__");
7232 all_pnames.insert (
"cdata");
7233 all_pnames.insert (
"clickedcallback");
7234 all_pnames.insert (
"enable");
7235 all_pnames.insert (
"separator");
7236 all_pnames.insert (
"tooltipstring");
7239 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7250 std::set<std::string> pnames = core_property_names ();
7252 return pnames.find (pname) != pnames.end ();
7255 std::set<std::string>
7258 static std::set<std::string> all_pnames;
7260 static bool initialized =
false;
7266 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7277 std::set<std::string> pnames = readonly_property_names ();
7279 return pnames.find (pname) != pnames.end ();
7282 std::set<std::string>
7285 static std::set<std::string> all_pnames = core_property_names ();
7287 std::set<std::string> retval = all_pnames;
7289 retval.insert (base_props.begin (), base_props.end ());
7297 std::set<std::string> pnames = all_property_names ();
7299 return pnames.find (pname) != pnames.end ();
7306 __object__ (
"__object__", mh,
Matrix ()),
7307 cdata (
"cdata", mh,
Matrix ()),
7308 clickedcallback (
"clickedcallback", mh,
Matrix ()),
7309 enable (
"enable", mh,
"on"),
7310 offcallback (
"offcallback", mh,
Matrix ()),
7311 oncallback (
"oncallback", mh,
Matrix ()),
7312 separator (
"separator", mh,
"off"),
7313 state (
"state", mh,
"off"),
7314 tooltipstring (
"tooltipstring", mh,
"")
7331 const std::set<std::string>& pnames = all_property_names ();
7339 error (
"set: \"%s\" is read-only", pname.c_str ());
7343 if (pname.
compare (
"__object__"))
7344 set___object__ (val);
7345 else if (pname.
compare (
"cdata"))
7347 else if (pname.
compare (
"clickedcallback"))
7348 set_clickedcallback (val);
7349 else if (pname.
compare (
"enable"))
7351 else if (pname.
compare (
"offcallback"))
7352 set_offcallback (val);
7353 else if (pname.
compare (
"oncallback"))
7354 set_oncallback (val);
7355 else if (pname.
compare (
"separator"))
7356 set_separator (val);
7357 else if (pname.
compare (
"state"))
7359 else if (pname.
compare (
"tooltipstring"))
7360 set_tooltipstring (val);
7388 const std::set<std::string>& pnames = all_property_names ();
7395 if (pname.
compare (
"__object__"))
7396 retval = get___object__ ();
7397 else if (pname.
compare (
"cdata"))
7398 retval = get_cdata ();
7399 else if (pname.
compare (
"clickedcallback"))
7400 retval = get_clickedcallback ();
7401 else if (pname.
compare (
"enable"))
7402 retval = get_enable ();
7403 else if (pname.
compare (
"offcallback"))
7404 retval = get_offcallback ();
7405 else if (pname.
compare (
"oncallback"))
7406 retval = get_oncallback ();
7407 else if (pname.
compare (
"separator"))
7408 retval = get_separator ();
7409 else if (pname.
compare (
"state"))
7410 retval = get_state ();
7411 else if (pname.
compare (
"tooltipstring"))
7412 retval = get_tooltipstring ();
7422 const std::set<std::string>& pnames = all_property_names ();
7429 if (pname.
compare (
"__object__"))
7430 return property (&__object__,
true);
7431 else if (pname.
compare (
"cdata"))
7433 else if (pname.
compare (
"clickedcallback"))
7434 return property (&clickedcallback,
true);
7435 else if (pname.
compare (
"enable"))
7437 else if (pname.
compare (
"offcallback"))
7438 return property (&offcallback,
true);
7439 else if (pname.
compare (
"oncallback"))
7440 return property (&oncallback,
true);
7441 else if (pname.
compare (
"separator"))
7442 return property (&separator,
true);
7443 else if (pname.
compare (
"state"))
7445 else if (pname.
compare (
"tooltipstring"))
7446 return property (&tooltipstring,
true);
7456 m[
"__object__"] =
Matrix ();
7458 m[
"clickedcallback"] =
Matrix ();
7460 m[
"offcallback"] =
Matrix ();
7461 m[
"oncallback"] =
Matrix ();
7462 m[
"separator"] =
"off";
7464 m[
"tooltipstring"] =
"";
7471 std::set<std::string>
7474 static std::set<std::string> all_pnames;
7476 static bool initialized =
false;
7480 all_pnames.insert (
"__object__");
7481 all_pnames.insert (
"cdata");
7482 all_pnames.insert (
"clickedcallback");
7483 all_pnames.insert (
"enable");
7484 all_pnames.insert (
"offcallback");
7485 all_pnames.insert (
"oncallback");
7486 all_pnames.insert (
"separator");
7487 all_pnames.insert (
"state");
7488 all_pnames.insert (
"tooltipstring");
7491 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7502 std::set<std::string> pnames = core_property_names ();
7504 return pnames.find (pname) != pnames.end ();
7507 std::set<std::string>
7510 static std::set<std::string> all_pnames;
7512 static bool initialized =
false;
7518 all_pnames.insert (base_pnames.begin (), base_pnames.end ());
7529 std::set<std::string> pnames = readonly_property_names ();
7531 return pnames.find (pname) != pnames.end ();
7534 std::set<std::string>
7537 static std::set<std::string> all_pnames = core_property_names ();
7539 std::set<std::string> retval = all_pnames;
7541 retval.insert (base_props.begin (), base_props.end ());
7549 std::set<std::string> pnames = all_property_names ();
7551 return pnames.find (pname) != pnames.end ();
bool_property zliminclude
bool has_property(const caseless_str &pname) const
static Matrix default_axes_ticklength(void)
bool_property zliminclude
octave_value get(bool all=false) const
void set_createfcn(const octave_value &val)
radio_property yticklabelmode
radio_property verticalalignment
octave_value get(bool all=false) const
static std::set< std::string > core_property_names(void)
std::set< std::string > all_property_names(void) const
static bool has_readonly_property(const caseless_str &pname)
bool has_readonly_property(const caseless_str &pname) const
array_property colororder
static bool has_core_property(const caseless_str &pname)
bool has_property(const caseless_str &pname) const
#define OCTAVE_DEFAULT_FONTNAME
callback_property keypressfcn
static std::string go_name
bool has_property(const caseless_str &pname) const
std::string get_clipping(void) const
bool_property yliminclude
static Matrix default_screensize(void)
bool has_property(const caseless_str &pname) const
radio_property activepositionproperty
radio_property horizontalalignmentmode
std::string get_busyaction(void) const
static Matrix default_axes_tick(void)
radio_property verticalalignmentmode
radio_property interpreter
static double default_screenpixelsperinch(void)
static caseless_str validate_property_name(const std::string &who, const std::string &what, const std::set< std::string > &pnames, const caseless_str &pname)
static Matrix default_axes_outerposition(void)
static Matrix default_axes_view(void)
double_radio_property edgealpha
static std::string go_name
void set_selected(const octave_value &val)
radio_property minorgridlinestyle
double_property linewidth
base_properties(const std::string &ty="unknown", const graphics_handle &mh=graphics_handle(), const graphics_handle &p=graphics_handle())
bool_property xliminclude
row_vector_property ytick
row_vector_property value
virtual property get_property(const caseless_str &pname)
static Matrix default_control_sliderstep(void)
static property_list::pval_map_type factory_defaults(void)
double_property specularcolorreflectance
radio_property fontweight
static std::set< std::string > core_property_names(void)
bool_property xliminclude
void assign(const std::string &k, const Cell &val)
static Matrix default_figure_paperposition(void)
double_property markersize
static Matrix default_patch_xdata(void)
bool_property aliminclude
static uint32_t state[624]
double_property fontsize_points
static property_list::pval_map_type factory_defaults(void)
property get_property(const caseless_str &pname)
double_property markersize
static Matrix default_data(void)
void set(const caseless_str &pname, const octave_value &val)
radio_property alphadatamapping
octave_value get_buttondownfcn(void) const
void set_selectionhighlight(const octave_value &val)
bool_property aliminclude
color_property backgroundcolor
bool_property interruptible
OCTINTERP_API octave_value box(JNIEnv *jni_env, jobject jobj, jclass jcls=0)
static Matrix default_patch_ydata(void)
std::string get_type(void) const
array_property sliderstep
std::set< std::string > all_property_names(void) const
octave_map map_value(void) const
row_vector_property zmtick
row_vector_property ydata
array_property plotboxaspectratio
static bool has_readonly_property(const caseless_str &pname)
double_property specularstrength
static std::set< std::string > readonly_property_names(void)
array_property cameraposition
static bool has_readonly_property(const caseless_str &pname)
static bool has_core_property(const caseless_str &pname)
double_property fontsize_points
double_property listboxtop
octave_value get_dynamic(const caseless_str &pname) const
void set_deletefcn(const octave_value &val)
radio_property interpreter
static bool has_readonly_property(const caseless_str &pname)
array_property cameratarget
static std::set< std::string > core_property_names(void)
static std::string go_name
bool_property climinclude
double_property mousewheelzoom
static bool has_core_property(const caseless_str &pname)
radio_property yaxislocation
bool has_readonly_property(const caseless_str &pname) const
bool_property __modified__
octave_value get_userdata(void) const
octave_value get(bool all=false) const
row_vector_property xdata
void error(const char *fmt,...)
void set_dynamic(const caseless_str &pname, const octave_value &val)
color_property markerfacecolor
array_property facevertexcdata
property get_property_dynamic(const caseless_str &pname)
void set_visible(const octave_value &val)
octave_value get(bool all=false) const
static Matrix default_axes_position(void)
radio_property projection
std::set< std::string > all_property_names(void) const
array_property x_projectiontransform
radio_property normalmode
color_property highlightcolor
octave_value get(bool all=false) const
static std::set< std::string > core_property_names(void)
bool has_readonly_property(const caseless_str &pname) const
radio_property edgelighting
static property_list::pval_map_type factory_defaults(void)
std::string get___modified__(void) const
bool has_property(const caseless_str &pname) const
array_property x_viewtransform
color_property shadowcolor
string_property ydatasource
static std::set< std::string > readonly_property_names(void)
static Matrix default_surface_xdata(void)
string_property zdatasource
string_property cdatasource
color_property markerfacecolor
radio_property positionmode
static std::string default_toolkit(void)
string_property displayname
static double default_screendepth(void)
radio_property alphadatamapping
color_property foregroundcolor
radio_property cameraviewanglemode
std::string get_tag(void) const
static Matrix default_lim(bool logscale=false)
double_property borderwidth
void set_hidden(bool flag)
double_property ambientstrength
bool_property yliminclude
std::string get_selectionhighlight(void) const
color_property markeredgecolor
bool has_readonly_property(const caseless_str &pname) const
void set(const caseless_str &pname, const octave_value &val)
double_property specularexponent
static std::set< std::string > readonly_property_names(void)
static std::set< std::string > readonly_property_names(void)
property get_property(const caseless_str &pname)
color_property foregroundcolor
std::map< caseless_str, property, cmp_caseless_str > all_props
properties(const graphics_handle &mh, const graphics_handle &p)
void set_interruptible(const octave_value &val)
static property_list::pval_map_type factory_defaults(void)
array_property cameraupvector
array_property dataaspectratio
std::set< std::string > all_property_names(void) const
properties(const graphics_handle &mh, const graphics_handle &p)
bool_property climinclude
radio_property handlevisibility
radio_property zticklabelmode
void set(const caseless_str &pname, const octave_value &val)
void set_clipping(const octave_value &val)
bool has_readonly_property(const caseless_str &pname) const
double_radio_property facealpha
string_property zdatasource
bool_property yliminclude
radio_property gridlinestyle
octave_value get_createfcn(void) const
radio_property backfacelighting
static bool has_core_property(const caseless_str &pname)
string_property displayname
static bool has_core_property(const caseless_str &pname)
static bool has_core_property(const caseless_str &pname)
bool_property yliminclude
void set(const caseless_str &pname, const octave_value &val)
string_property xdatasource
static bool has_readonly_property(const caseless_str &pname)
octave_value get(bool all=false) const
bool_property xliminclude
radio_property horizontalalignment
static Matrix default_patch_vertices(void)
string_property displayname
std::set< std::string > dynamic_property_names(void) const
static std::string go_name
Matrix get_children(void) const
string_property displayname
bool_property zliminclude
static std::string go_name
radio_property autopos_tag
color_property markeredgecolor
static Matrix default_control_position(void)
std::set< std::string > all_property_names(void) const
radio_property normalmode
callback_property callback
std::string get_beingdeleted(void) const
bool has_readonly_property(const caseless_str &pname) const
row_vector_property zdata
bool has_property(const caseless_str &pname) const
radio_property cameraupvectormode
color_property markerfacecolor
row_vector_property xmtick
std::set< std::string > all_property_names(void) const
static Matrix default_figure_position(void)
radio_property tickdirmode
std::string get_visible(void) const
void set___modified__(const octave_value &val)
static std::set< std::string > core_property_names(void)
row_vector_property ymtick
void set(const caseless_str &pname, const octave_value &val)
properties(const graphics_handle &mh, const graphics_handle &p)
radio_property plotboxaspectratiomode
bool has_readonly_property(const caseless_str &pname) const
array_property looseinset
double_property linewidth
double_property diffusestrength
properties(const graphics_handle &mh, const graphics_handle &p)
radio_property cameratargetmode
radio_property alphadatamapping
static std::set< std::string > core_property_names(void)
static Matrix default_panel_position(void)
octave_value get(bool all=false) const
static bool has_core_property(const caseless_str &pname)
radio_property verticalalignment
string_property xdatasource
radio_property edgelighting
double_radio_property edgealpha
callback_property deletefcn
static Matrix default_figure_papersize(void)
row_vector_property xdata
static std::string go_name
property get_property(const caseless_str &pname)
any_property linestyleorder
octave_value get(bool all=false) const
static bool has_readonly_property(const caseless_str &pname)
properties(const graphics_handle &mh, const graphics_handle &p)
radio_property fontweight
bool_property selectionhighlight
octave_value get(bool all=false) const
array_property outerposition
static Matrix default_surface_ydata(void)
string_property displayname
bool_property climinclude
static std::set< std::string > readonly_property_names(void)
static Matrix default_colororder(void)
property get_property(const caseless_str &pname)
static std::string go_name
std::set< std::string > all_property_names(void) const
double_property linewidth
static bool has_core_property(const caseless_str &pname)
void set(const caseless_str &pname, const octave_value &val)
std::string get_selected(void) const
bool_property aliminclude
array_property vertexnormals
radio_property interpreter
double_radio_property facealpha
static Matrix default_surface_cdata(void)
octave_value get_deletefcn(void) const
static std::set< std::string > core_property_names(void)
static bool has_readonly_property(const caseless_str &pname)
array_property facevertexalphadata
bool has_property(const caseless_str &pname) const
static bool has_readonly_property(const caseless_str &pname)
properties(const graphics_handle &mh, const graphics_handle &p)
bool_property xliminclude
callback_property createfcn
bool has_readonly_property(const caseless_str &pname) const
radio_property titleposition
graphics_handle get_uicontextmenu(void) const
bool_property yliminclude
charNDArray max(char d, const charNDArray &m)
bool has_property(const caseless_str &pname) const
radio_property dataaspectratiomode
radio_property rotationmode
double_property ambientstrength
std::set< std::string > all_property_names(void) const
static std::set< std::string > readonly_property_names(void)
radio_property interpreter
void set_handlevisibility(const octave_value &val)
radio_property autopos_tag
children_property children
virtual octave_value get(const caseless_str &pname) const
radio_property fontweight
static property_list::pval_map_type factory_defaults(void)
void set_children(const octave_value &val)
bool_property aliminclude
color_property backgroundcolor
properties(const graphics_handle &mh, const graphics_handle &p)
double_property specularstrength
radio_property cdatamapping
bool_property zliminclude
string_property ydatasource
void set(const caseless_str &pname, const octave_value &val)
double_property specularcolorreflectance
array_property vertexnormals
static std::set< std::string > readonly_property_names(void)
static std::string go_name
void set_userdata(const octave_value &val)
radio_property facelighting
property get_property(const caseless_str &pname)
static Matrix default_image_cdata(void)
static property_list::pval_map_type factory_defaults(void)
std::string get_interruptible(void) const
static bool has_readonly_property(const caseless_str &pname)
double_property cameraviewangle
double_property linewidth
octave_handle graphics_handle
bool_property beingdeleted
radio_property fontweight
bool_property xliminclude
void set(const caseless_str &pname, const octave_value &val)
static std::set< std::string > core_property_names(void)
bool_property climinclude
radio_property horizontalalignment
color_property ambientlightcolor
array_property x_rendertransform
bool compare(const std::string &s, size_t limit=std::string::npos) const
color_property markeredgecolor
array_property currentpoint
void set(const caseless_str &pname, const octave_value &val)
array_property tightinset
static property_list::pval_map_type factory_defaults(void)
callback_property buttondownfcn
static std::set< std::string > core_property_names(void)
radio_property facelighting
std::string get_handlevisibility(void) const
radio_property busyaction
bool_property __hold_all__
BEGIN_BASE_PROPERTIES bool_property off radio_property queue cancel callback_property Matrix() children_property children gf
std::string get_hittest(void) const
graphics_handle get_parent(void) const
static std::set< std::string > readonly_property_names(void)
double_property markersize
string_property tooltipstring
static std::set< std::string > readonly_property_names(void)
property get_property(const caseless_str &pname)
radio_property backfacelighting
void set_beingdeleted(const octave_value &val)
static std::set< std::string > readonly_property_names(void)
double_property specularexponent
properties(const graphics_handle &mh, const graphics_handle &p)
virtual void set(const caseless_str &, const octave_value &)
static property_list::pval_map_type factory_defaults(void)
radio_property interpreter
static property_list::pval_map_type factory_defaults(void)
graphics_handle get___myhandle__(void) const
double_property diffusestrength
static std::set< std::string > core_property_names(void)
radio_property xaxislocation
properties(const graphics_handle &mh, const graphics_handle &p)
void set_busyaction(const octave_value &val)
std::set< std::string > all_property_names(void) const
row_vector_property ztick
std::set< std::string > all_property_names(void) const
color_property backgroundcolor
bool_property yliminclude
bool has_property(const caseless_str &pname) const
bool has_readonly_property(const caseless_str &pname) const
string_property displayname
static bool has_core_property(const caseless_str &pname)
property get_property(const caseless_str &pname)
array_property ticklength
octave_value as_octave_value(void) const
property get_property(const caseless_str &pname)
bool_property xliminclude
void set_uicontextmenu(const octave_value &val)
void set_tag(const octave_value &val)
radio_property cdatamapping
static property_list::pval_map_type factory_defaults(void)
static Matrix default_surface_zdata(void)
static bool has_readonly_property(const caseless_str &pname)
callback_property resizefcn
property get_property(const caseless_str &pname)
array_property x_normrendertransform
row_vector_property ydata
static bool has_core_property(const caseless_str &pname)
static void set_format(double d, int &fw)
void set_parent(const octave_value &val)
void set_hittest(const octave_value &val)
radio_property cdatamapping
array_property x_viewporttransform
static std::string go_name
bool_property zliminclude
void set_buttondownfcn(const octave_value &val)
charNDArray min(char d, const charNDArray &m)
static Matrix default_patch_faces(void)
double_property linewidth
radio_property bordertype
static Matrix jet_colormap(void)
radio_property camerapositionmode
row_vector_property xtick
radio_property xticklabelmode