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.
Thank you for the bug! I fixed it in latest SVN commit (rev.676).
Log in to post a comment.
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
Thank you for the bug! I fixed it in latest SVN commit (rev.676).
Last edit: Alexey Balakin 2013-01-11