From 45c76334dda768a91d5f68c30cfef7f2d43d92ed Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 29 Oct 2001 09:44:29 +0000 Subject: [PATCH] *** empty log message *** --- Graphics/Graph2D.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Graphics/Graph2D.cpp b/Graphics/Graph2D.cpp index 17e803a643..e2a81df8c5 100644 --- a/Graphics/Graph2D.cpp +++ b/Graphics/Graph2D.cpp @@ -1,4 +1,4 @@ -// $Id: Graph2D.cpp,v 1.1 2001-10-29 08:52:19 geuzaine Exp $ +// $Id: Graph2D.cpp,v 1.2 2001-10-29 09:44:29 geuzaine Exp $ #include "Gmsh.h" #include "GmshUI.h" @@ -88,7 +88,7 @@ void Draw_Graph2D(Post_View *v){ } } else{ - dx = v->GraphSize[0]/(double)v->NbTimeStep; + dx = v->GraphSize[0]/(double)(v->NbTimeStep-1); for(i=0; i<v->NbTimeStep; i++){ glBegin(GL_LINES); glVertex2d(xtop+i*dx,ybot); -- GitLab