Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture gnuplot warnings #35

Open
maasha opened this issue Sep 18, 2014 · 3 comments
Open

Capture gnuplot warnings #35

maasha opened this issue Sep 18, 2014 · 3 comments

Comments

@maasha
Copy link
Contributor

maasha commented Sep 18, 2014

Is there a mechanism to capture gnuplot warnings such as:

Warning: empty y range [0:0], adjusting to [-1:1]

so that these can be handled in Ruby instead of being output to stderr?

@rdp
Copy link
Owner

rdp commented Sep 24, 2014

do they go to stderr today?

On Thu, Sep 18, 2014 at 5:33 AM, maasha [email protected] wrote:

Is there a mechanism to capture gnuplot warnings such as:

Warning: empty y range [0:0], adjusting to [-1:1]

so that these can be handled in Ruby instead of being output to stderr?


Reply to this email directly or view it on GitHub
#35.

@maasha
Copy link
Contributor Author

maasha commented Sep 24, 2014

So if I run a Ruby app using ruby_gnuplot that warning is printed to the console if I have missing data. I believe it is a warning printed to stderr from gnuplot itself. Such errors can be captured in a IO using popen3 AFAIK.

@rdp
Copy link
Owner

rdp commented Sep 12, 2017

nope no mechanism today, pull requests welcome as always :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants