Mercurial > hg > octave-terminal
changeset 11795:642af2e62b1f release-3-0-x
fix incorrect axis location properties
author | Francesco Potorti <Potorti@isti.cnr.it> |
---|---|
date | Fri, 01 Aug 2008 09:11:14 +0200 |
parents | 77793a0fad3d |
children | e633fd6ed049 |
files | src/ChangeLog src/graphics.cc |
diffstat | 2 files changed, 12 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2008-08-01 Francesco Potorti <Potorti@isti.cnr.it> + + * graphics.cc (axes::properties::properties, + axes::properties::set_defaults, axes::properties::factory_defaults): + Exchange xaxislocation and yaxislocation property values. + 2008-07-28 John W. Eaton <jwe@octave.org> * error.cc (Flasterror, Flasterr): Unwind-protect error_state.
--- a/src/graphics.cc +++ b/src/graphics.cc @@ -1140,8 +1140,8 @@ xdir ("normal"), ydir ("normal"), zdir ("normal"), - xaxislocation ("bottom"), - yaxislocation ("left"), + xaxislocation ("left"), + yaxislocation ("bottom"), linewidth (0.5), view (), visible ("on"), @@ -1441,8 +1441,8 @@ xdir = "normal"; ydir = "normal"; zdir = "normal"; - xaxislocation = "left"; - yaxislocation = "bottom"; + xaxislocation = "bottom"; + yaxislocation = "left"; linewidth = 0.5; Matrix tview (1, 2, 0.0); @@ -1815,8 +1815,8 @@ m["xdir"] = "normal"; m["ydir"] = "normal"; m["zdir"] = "normal"; - m["xaxislocation"] = "bottom"; - m["yaxislocation"] = "left"; + m["xaxislocation"] = "left"; + m["yaxislocation"] = "bottom"; m["linewidth"] = 0.5; Matrix tview (1, 2, 0.0);