Index: trunk/Ohana/src/kapa2/include/structures.h
===================================================================
--- trunk/Ohana/src/kapa2/include/structures.h	(revision 17466)
+++ trunk/Ohana/src/kapa2/include/structures.h	(revision 17530)
@@ -138,4 +138,6 @@
   char isaxis, areticks, islabel, islog;
   double fx, dfx, fy, dfy;  /* axis location on graphic */
+  double lweight;
+  int color;
 } Axis;
 
Index: trunk/Ohana/src/kapa2/src/DrawFrame.c
===================================================================
--- trunk/Ohana/src/kapa2/src/DrawFrame.c	(revision 17466)
+++ trunk/Ohana/src/kapa2/src/DrawFrame.c	(revision 17530)
@@ -8,10 +8,7 @@
   
   int i, fx, fy, dfx, dfy, P, IsLabel, IsMajor;
-  double range, major, minor, first, next;
+  double range, major, minor, first, next, lweight;
 
   graphic = GetGraphic();
-
-  // XXX why is this called for every redraw?
-  DrawRotTextInit (graphic->display, graphic->window, graphic->gc, graphic->fore, graphic->back);
 
   /* each axis is drawn independently, but ticks and labels are placed according to
@@ -23,4 +20,9 @@
     dfy = graph[0].axis[i].dfy;
     P = hypot ((double)graph[0].axis[(i+1)%2].dfx, (double)graph[0].axis[(i+1)%2].dfy);
+
+    lweight = MAX (0, MIN (10, graph[0].axis[i].lweight));
+    XSetLineAttributes (graphic->display, graphic->gc, lweight, LineSolid, CapNotLast, JoinMiter);
+    XSetForeground (graphic->display, graphic->gc, graphic->color[graph[0].axis[i].color]);
+    DrawRotTextInit (graphic->display, graphic->window, graphic->gc, graphic->color[graph[0].axis[i].color], graphic->back);
 
     if (graph[0].axis[i].isaxis) {
Index: trunk/Ohana/src/kapa2/src/LoadFrame.c
===================================================================
--- trunk/Ohana/src/kapa2/src/LoadFrame.c	(revision 17466)
+++ trunk/Ohana/src/kapa2/src/LoadFrame.c	(revision 17530)
@@ -3,6 +3,7 @@
 int LoadFrame (int sock) {
   
-  int i;
+  int i, color;
   char Axis[16], Labels[16], Ticks[16];
+  double lweight;
   Section *section;
   KapaGraphWidget *graph;
@@ -24,7 +25,12 @@
   graph[0].axis[2].max = graph[0].axis[0].max;
   
+  KiiScanMessage (sock, "%lf %d", &lweight, &color);
+
   KiiScanMessage (sock, "%s %s %s", Axis, Labels, Ticks);
 
   for (i = 0; i < 4; i++) {
+    graph[0].axis[i].lweight = lweight;
+    graph[0].axis[i].color = color;
+
     switch (Axis[i]) {
     case '0':
