r296: *** empty log message ***
[ctsim.git] / libctgraphics / ezplot.cpp
index 3ea5ce1fe2c383c0e59b6975fb1d30c369d20f07..7d6e23e745807d82905b603bf2d3a52e76545ad7 100644 (file)
@@ -6,7 +6,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ezplot.cpp,v 1.18 2000/12/18 05:40:30 kevin Exp $
+**  $Id: ezplot.cpp,v 1.19 2000/12/18 06:32:13 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -753,8 +753,10 @@ EZPlot::drawAxes()
       if (o_ytlabel == TRUE && axis_near == FALSE) {
        snprintf (str, sizeof(str), y_numfmt, ygw_min + yw_tickinc * i);
        rSGP.moveAbs (yaxispos + ytl_ofs, y + 0.5 * charheight);
-       rSGP.setTextColor (clr_number, -1);
+       rSGP.setTextColor (clr_number, -1);\r
+       rSGP.setTextAngle(HALFPI);
        rSGP.drawText (str);
+       rSGP.setTextAngle(0.);\r
       }
     }
   }            // Y - Axis