diff --git a/Common/DefaultOptions.h b/Common/DefaultOptions.h index dad185102522e741255ab51e4cc1353cf2109b58..4192f0369d664c9b90d9b167f574ed7f5c619c66 100644 --- a/Common/DefaultOptions.h +++ b/Common/DefaultOptions.h @@ -997,7 +997,7 @@ StringXNumber ViewOptions_Number[] = { "Display size of points (in pixels)" }, { F|O, "PointType" , opt_view_point_type , 0. , "Display points as solid color dots (0) or 3D spheres (1)" }, - { F|O, "PositionX" , opt_view_position0 , 80. , + { F|O, "PositionX" , opt_view_position0 , 100. , "Horizontal position (in pixels) of the upper left corner of the scale or 2D graph" }, { F|O, "PositionY" , opt_view_position1 , 50. , "Vertical position (in pixels) of the upper left corner of the scale or 2D graph" }, diff --git a/Graphics/Graph2D.cpp b/Graphics/Graph2D.cpp index bdebad1324915fa742fca9d0d799b50d2e9a80c2..404dd5b37da3e4efdfbe3c5c321265ecedda2177 100644 --- a/Graphics/Graph2D.cpp +++ b/Graphics/Graph2D.cpp @@ -1,4 +1,4 @@ -// $Id: Graph2D.cpp,v 1.33 2004-04-24 02:13:07 geuzaine Exp $ +// $Id: Graph2D.cpp,v 1.34 2004-04-24 04:19:43 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -378,8 +378,8 @@ void Draw_Graph2D(void) { int i, nbauto = 0; Post_View *v; - double dx, dy, bb[4], bbtot[4] = { 0., 0., 0., 0. }, pos[2], tic, space = - 10.; + double dx, dy, bb[4], bbtot[4] = { 0., 0., 0., 0. }, pos[2] = {0., 0.}, tic; + double space = 10.; char label[1024]; if(!CTX.post.list)