Javaplot under windows 7 and gnuplot 4.6 - disappearing result

喜欢而已 提交于 2019-12-24 15:33:37

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/13587736/javaplot-under-windows-7-and-gnuplot-4-6-disappearing-result

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!