# HG changeset patch # User John W. Eaton # Date 1205292827 14400 # Node ID 842cc9439011872cc7be43883030a3095e10a1ca # Parent e13219eaf388da734744b16d1253d340a60e6751 graphcs.cc, graphics.h.in: new property, linewidth diff -r e13219eaf388 -r 842cc9439011 src/ChangeLog --- a/src/ChangeLog Tue Mar 11 23:13:04 2008 -0400 +++ b/src/ChangeLog Tue Mar 11 23:33:47 2008 -0400 @@ -1,5 +1,7 @@ 2008-03-11 John W. Eaton + * graphics.cc, graphics.h.in (class axes): New property, linewidth. + * DLD-FUNCTIONS/eig.cc (Feig): Handle possible error from EIG. * DLD-FUNCTIONS/qp.cc (qp, Fqp): Likewise. * xpow.cc (xpow): Likewise. diff -r e13219eaf388 -r 842cc9439011 src/graphics.cc --- a/src/graphics.cc Tue Mar 11 23:13:04 2008 -0400 +++ b/src/graphics.cc Tue Mar 11 23:33:47 2008 -0400 @@ -1140,6 +1140,7 @@ zdir ("normal"), xaxislocation ("bottom"), yaxislocation ("left"), + linewidth (0.5), view (), visible ("on"), nextplot ("replace"), @@ -1348,6 +1349,8 @@ set_xaxislocation (val); else if (name.compare ("yaxislocation")) set_yaxislocation (val); + else if (name.compare ("linwdiwth")) + set_linewidth (val); else if (name.compare ("view")) set_view (val); else if (name.compare ("visible")) @@ -1432,6 +1435,7 @@ zdir = "normal"; xaxislocation = "left"; yaxislocation = "bottom"; + linewidth = 0.5; Matrix tview (1, 2, 0.0); tview(1) = 90; @@ -1558,6 +1562,7 @@ m.assign ("zdir", zdir); m.assign ("xaxislocation", xaxislocation); m.assign ("yaxislocation", yaxislocation); + m.assign ("linewidth", linewidth); m.assign ("view", view); m.assign ("visible", visible); m.assign ("nextplot", nextplot); @@ -1685,6 +1690,8 @@ retval = xaxislocation; else if (name.compare ("yaxislocation")) retval = yaxislocation; + else if (name.compare ("linewidth")) + retval = linewidth; else if (name.compare ("view")) retval = view; else if (name.compare ("visible")) @@ -1794,6 +1801,7 @@ m["zdir"] = "normal"; m["xaxislocation"] = "bottom"; m["yaxislocation"] = "left"; + m["linewidth"] = 0.5; Matrix tview (1, 2, 0.0); tview(1) = 90; diff -r e13219eaf388 -r 842cc9439011 src/graphics.h.in --- a/src/graphics.h.in Tue Mar 11 23:13:04 2008 -0400 +++ b/src/graphics.h.in Tue Mar 11 23:33:47 2008 -0400 @@ -1414,6 +1414,7 @@ octave_value zdir octave_value xaxislocation octave_value yaxislocation + octave_value linewidth octave_value view octave_value visible octave_value nextplot