gnuplot 4.7和Javaplot |窗户立即消失了 [英] gnuplot 4.7 and Javaplot | The windows is disappeared immediately

查看:72
本文介绍了gnuplot 4.7和Javaplot |窗户立即消失了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Javaplot查看我的图,但是窗口甚至没有显示,并且立即消失了. 这是我的代码:

I'm trying to see my plot using Javaplot, but the window is not even shown and disappeared immediately. Here is my code:

JavaPlot p = new JavaPlot("C:/Program Files (x86)/gnuplot/bin/pgnuplot.exe");
String s=readFile();
p.addPlot(s);
p.plot();            
p.set("term", "x11 persist");
p.setPersist(true);

在使用gnuplot 4.6时,此代码已成功运行,但是在移至gnuplot 4.7(因为我需要超文本新功能)后,此代码无法正常工作.

This code is running successfully when using gnuplot 4.6, but after moving to gnuplot 4.7 (becuase I need the hypertext new feature) it doesn't work.

有什么建议吗? 谢谢

推荐答案

a JavaPlot的新版本,该版本应该可以在Windows上解决此问题. 根据该错误的此错误,新版本使用临时文件而不是管道,因此可以在Windows上正常工作.报告.

There is a new version of JavaPlot which is supposed to fix this issue with Windows. The new version uses temporary files instead of pipes and thus it works fine with Windows, according to this bug report.

另请参见此处此处.

这篇关于gnuplot 4.7和Javaplot |窗户立即消失了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆