diff src/graphics.cc @ 11598:62b7ea59a6ff

fixing color mismatch between axis and axis label
author Konstantinos Poulios <logari81@googlemail.com>
date Fri, 21 Jan 2011 20:22:42 +0100
parents 12df7854fa7c
children 85f9a5b211fd
line wrap: on
line diff
--- a/src/graphics.cc	Fri Jan 21 13:15:38 2011 -0500
+++ b/src/graphics.cc	Fri Jan 21 20:22:42 2011 +0100
@@ -3299,6 +3299,7 @@
   xset (xlabel.handle_value (), "horizontalalignmentmode", "auto");
   xset (xlabel.handle_value (), "verticalalignmentmode", "auto");
   xset (xlabel.handle_value (), "clipping", "off");
+  xset (xlabel.handle_value (), "color", get_xcolor ());
 }
 
 void
@@ -3310,6 +3311,7 @@
   xset (ylabel.handle_value (), "horizontalalignmentmode", "auto");
   xset (ylabel.handle_value (), "verticalalignmentmode", "auto");
   xset (ylabel.handle_value (), "clipping", "off");
+  xset (ylabel.handle_value (), "color", get_ycolor ());
 }
 
 void
@@ -3321,6 +3323,7 @@
   xset (zlabel.handle_value (), "horizontalalignmentmode", "auto");
   xset (zlabel.handle_value (), "verticalalignmentmode", "auto");
   xset (zlabel.handle_value (), "clipping", "off");
+  xset (zlabel.handle_value (), "color", get_zcolor ());
 }
 
 void