X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2Fcharts%2FCharter.java;h=ef3cc955f61f260f6ce3ed724424631d6a2c7a53;hp=842084da8b9d7b03ce14c84569e0164e1cf4c3d0;hb=a6197ddcaac11c0b943183da7d46169742d024af;hpb=88f2c3647ed9e055090484f01a959d4581f85e7d diff --git a/tim/prune/function/charts/Charter.java b/tim/prune/function/charts/Charter.java index 842084d..ef3cc95 100644 --- a/tim/prune/function/charts/Charter.java +++ b/tim/prune/function/charts/Charter.java @@ -284,6 +284,9 @@ public class Charter extends GenericFunction + getSvgValue(_svgHeightField, DEFAULT_SVG_HEIGHT) + "\n"); writer.write("set out '" + svgFile.getAbsolutePath() + "'\n"); } + else { + // For screen output, gnuplot should use the default terminal (windows or x11 or wxt or something) + } if (numCharts > 1) { writer.write("set multiplot layout " + numCharts + ",1\n"); } @@ -374,7 +377,7 @@ public class Charter extends GenericFunction break; } // Make a temporary data file for the output (one per subchart) - File tempFile = File.createTempFile("prunedata", null); + File tempFile = File.createTempFile("gpsprunedata", null); tempFile.deleteOnExit(); // write out values for x and y to temporary file FileWriter tempFileWriter = null;