# HG changeset patch # User Francesco Potorti # Date 1217574674 -7200 # Node ID 642af2e62b1f0a30839b41c1f373528036fbccbe # Parent 77793a0fad3dda0dadf3b82e2b384af45dd2d734 fix incorrect axis location properties diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2008-08-01 Francesco Potorti + + * 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 * error.cc (Flasterror, Flasterr): Unwind-protect error_state. diff --git a/src/graphics.cc b/src/graphics.cc --- 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);