diff --git a/classdesc b/classdesc index 199cf12..138f8c1 160000 --- a/classdesc +++ b/classdesc @@ -1 +1 @@ -Subproject commit 199cf12a2e8d622eebb5a3582e21a721701bd437 +Subproject commit 138f8c144f4c6b666662ac465ad683dbd1184ceb diff --git a/src/plot.cc b/src/plot.cc index 9cff0dd..22a6916 100644 --- a/src/plot.cc +++ b/src/plot.cc @@ -588,7 +588,7 @@ namespace ecolab { pango.setFontSize(0.6*lh); pango.setMarkup(ylabel); - cairo_move_to(cairo,offx-0.48*width,0.5*pango.width()); + cairo_move_to(cairo,offx-0.5*width+0.5*pango.height(),0.5*pango.width()); pango.angle=-0.5*M_PI; pango.show(); } @@ -597,7 +597,7 @@ namespace ecolab { pango.setFontSize(0.6*lh); pango.setMarkup(y1label); - cairo_move_to(cairo,0.48*width-pango.height(),0.5*pango.width()); + cairo_move_to(cairo,0.5*width-1.5*pango.height(),0.5*pango.width()); pango.show(); } cairo_restore(cairo);