Menu

Text rotation and EPS format

Help
2013-01-09
2013-01-11
  • Petr Aleksandrov

    When SetRotatedText(false) is used and the image is saved in EPS format, axis labels are not horizontal. The example program:

    #include <mgl2/mgl.h>

    int main() {
    mglGraph graph;
    graph.SetRotatedText(false);
    graph.SetRanges(-1.0, 1.0, -1.0, 1.0);
    graph.Box();
    graph.Axis();
    graph.WriteEPS("test.eps");
    return 0;
    }

    MathGL 2.1.1 and svn revision 274. Kubuntu 12.10, GCC 4.7.2.

     

    Last edit: Petr Aleksandrov 2013-01-09
  • Alexey Balakin

    Alexey Balakin - 2013-01-11

    Thank you for the bug! I fixed it in latest SVN commit (rev.676).

     

    Last edit: Alexey Balakin 2013-01-11

Log in to post a comment.

MongoDB Logo MongoDB