Skip to content

Commit c2c1d52

Browse files
committed
make cosmetic change in graphic isovalue in ffglut for OP.
1 parent 56addc1 commit c2c1d52

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Graphics/ffglut.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3233,7 +3233,7 @@ void OneWindow::PlotValue(const KN_<double> & Viso,int k0,const char * cmm)
32333233
R dx=(xmax-xmin);
32343234
R dy=(ymax-ymin);
32353235
// 10 points
3236-
R h=10*kscreenscale;
3236+
R h=14*kscreenscale;
32373237
if( kscreenscale==2) h = 24;// BofBof F.H
32383238
R ho=h*1.1;
32393239
R x0=xmin+dx*0.85;
@@ -3246,14 +3246,14 @@ void OneWindow::PlotValue(const KN_<double> & Viso,int k0,const char * cmm)
32463246
this->color(1);
32473247

32483248
plot(x0+ho,y,cmm);
3249-
y -= ho;
3249+
y -= ho*2;
32503250
for (int i=0;i<Viso.N();i++)
32513251
{
32523252
if((debug > 10)) cout << " x0 : " << x0<< " " << y << " " << h << " v = " << Viso[i] << endl;
32533253
this->color(i+4);
32543254
FillRectRasterPos(x0,y,x0+h,y+h);
32553255
plot(x0+ho,y+3*h/10,Viso[i]);
3256-
y -= ho;
3256+
y -= h;
32573257
;
32583258
}
32593259
ShowGlerror("PlotValue f");

0 commit comments

Comments
 (0)