Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use a 'xtics rotate right' workaround for x-axis label being clipped.

This closes #107.

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
  • Loading branch information...
commit b874fe502f873294d2b16bb5e29111f0b35a3410 1 parent 20ecfd3
@isavin isavin authored tsuna committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/graph/Plot.java
View
2  src/graph/Plot.java
@@ -263,7 +263,7 @@ private void writeGnuplotScript(final String basepath,
gp.append("\n"
+ "set xdata time\n"
+ "set timefmt \"%s\"\n"
- + "set xtic rotate\n"
+ + "if (GPVAL_VERSION < 4.6) set xtics rotate; else set xtics rotate right\n"
+ "set output \"").append(basepath + ".png").append("\"\n"
+ "set xrange [\"")
.append(String.valueOf((start_time & UNSIGNED) + utc_offset))
Please sign in to comment.
Something went wrong with that request. Please try again.