Hi bug-list,
In Matlab's "display" function help text, there is an example how to
implement a user-defined display method. The root property FormatSpacing
is used in this example. Octave doesn't have such a property.
I attached a changeset that adds a formatspacing root property.
David
# HG changeset patch
# User David Grundberg <
davidg@...>
# Date 1257241954 -3600
# Node ID d82e637c479e1d732e46de4e796c3df29e199198
# Parent 4634a0e9ea1b43041cfa4ff2b2e3e2ad76206e83
Add property FormatSpacing to root
diff -r 4634a0e9ea1b -r d82e637c479e src/ChangeLog
--- a/src/ChangeLog Mon Nov 02 21:34:04 2009 -0500
+++ b/src/ChangeLog Tue Nov 03 10:52:34 2009 +0100
@@ -1,3 +1,7 @@
+2009-11-03 David Grundberg <
davidg@...>
+
+ * graphics.h.in (root_figure): Add FormatSpacing property.
+
2009-11-02 Jaroslav Hajek <
highegg@...>
* ov-class.cc (octave_class::unique_parent_class): New method.
diff -r 4634a0e9ea1b -r d82e637c479e src/graphics.h.in
--- a/src/graphics.h.in Mon Nov 02 21:34:04 2009 -0500
+++ b/src/graphics.h.in Tue Nov 03 10:52:34 2009 +0100
@@ -2210,6 +2210,7 @@
array_property screensize r , default_screensize ()
double_property screenpixelsperinch r , default_screenpixelsperinch ()
radio_property units U , "inches|centimeters|normalized|points|{pixels}"
+ radio_property formatspacing , "{loose}|compact"
bool_property showhiddenhandles , "off"
END_PROPERTIES
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave