Skip to content
Snippets Groups Projects
Commit 180dee39 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

set default position of 2d graphs 20 pixels more to the right
parent 6298cf17
No related branches found
No related tags found
No related merge requests found
...@@ -997,7 +997,7 @@ StringXNumber ViewOptions_Number[] = { ...@@ -997,7 +997,7 @@ StringXNumber ViewOptions_Number[] = {
"Display size of points (in pixels)" }, "Display size of points (in pixels)" },
{ F|O, "PointType" , opt_view_point_type , 0. , { F|O, "PointType" , opt_view_point_type , 0. ,
"Display points as solid color dots (0) or 3D spheres (1)" }, "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" }, "Horizontal position (in pixels) of the upper left corner of the scale or 2D graph" },
{ F|O, "PositionY" , opt_view_position1 , 50. , { F|O, "PositionY" , opt_view_position1 , 50. ,
"Vertical position (in pixels) of the upper left corner of the scale or 2D graph" }, "Vertical position (in pixels) of the upper left corner of the scale or 2D graph" },
......
// $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 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// //
...@@ -378,8 +378,8 @@ void Draw_Graph2D(void) ...@@ -378,8 +378,8 @@ void Draw_Graph2D(void)
{ {
int i, nbauto = 0; int i, nbauto = 0;
Post_View *v; Post_View *v;
double dx, dy, bb[4], bbtot[4] = { 0., 0., 0., 0. }, pos[2], tic, space = double dx, dy, bb[4], bbtot[4] = { 0., 0., 0., 0. }, pos[2] = {0., 0.}, tic;
10.; double space = 10.;
char label[1024]; char label[1024];
if(!CTX.post.list) if(!CTX.post.list)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment