Janusz
Janusz

Reputation: 31

Javaplot under windows 7 and gnuplot 4.6 - disappearing result

I want to return to the old thing: JavaPlot and gnuplot

I'm using windows 7 and I have the same problem, it means that my graph disappear immediately after the launching my simple test program:

public static void main(String... args) {
    JavaPlot p = new JavaPlot("F:/Programs/GnuPlot/bin/pgnuplot.exe");

    p.addPlot("sin(x)");
    p.setPersist(true);
    p.plot();
}

Moreover this line

p.setPersist(true);

does not change anything, I can use true or false and there is the same result as above.

I'm using gnuplot 4.6 and there is no file called "GnuPlotParameters" like in earlier solution. Is there anyone who used javaplot under windows 7 and gnuplot 4.6, and had the same problem? I created new question because the old one was closed.

Best Janusz

Upvotes: 1

Views: 554

Answers (1)

Panayotis
Panayotis

Reputation: 1862

This is a problem with default gnuplot distribution unde Windows. See this bug report.

Also more info what to do with it, here.

EDIT: There is a new version of JavaPlot which is supposed to fix this issue.

Upvotes: 1

Related Questions