X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctgraphics%2Fezplot.cpp;h=7d6e23e745807d82905b603bf2d3a52e76545ad7;hp=3ea5ce1fe2c383c0e59b6975fb1d30c369d20f07;hb=f46d464bb065716c6738c23a4d7e7dbedd0b93b9;hpb=e9222e8a8190ca48f30a1359badae06bcb200210 diff --git a/libctgraphics/ezplot.cpp b/libctgraphics/ezplot.cpp index 3ea5ce1..7d6e23e 100644 --- a/libctgraphics/ezplot.cpp +++ b/libctgraphics/ezplot.cpp @@ -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); + rSGP.setTextAngle(HALFPI); rSGP.drawText (str); + rSGP.setTextAngle(0.); } } } // Y - Axis