Menu

#485 Output setting for "show"

open
nobody
show (1)
5
2019-02-18
2019-02-17
No

Print has setting for directing its output, incl. sending via a command, like 'set print "|nc ..."'
It is cool, though it does not affect outputs of "show ..." commands.
Could we have such an output-directing setting for the "show" stuff too?

Discussion

  • Ethan Merritt

    Ethan Merritt - 2019-02-18

    Why "show" in particular? Can you describe in more detail what you are trying to do?

    My first thought is that for querying particular settings you could use "save" instead of "show".
    For example:

    gnuplot> show zeroaxis
            xzeroaxis is OFF
            x2zeroaxis is OFF
            yzeroaxis is OFF
            y2zeroaxis is OFF
            zzeroaxis is OFF
    gnuplot> save '| grep zeroaxis > query.1'
    gnuplot>!cat query.1
    unset xzeroaxis
    unset yzeroaxis
    unset zzeroaxis
    unset x2zeroaxis
    unset y2zeroaxis
    
     
  • Martin Saturka

    Martin Saturka - 2019-02-18

    I had to write that this is about a stuff that is not necessary, thus about a low priority for me.

    I have (at some situations) gnuplot instances started in a way where they run commands in a given file and wait on pause to end. There (at some situations) they (may) have "print" set to use netcat with the printed stuff netcated to an external widget that displays that (whatever text comes).

    Here "show" commands print information in a nice way, while it is cumbersome to find (by eye) anything in "save" output. It is just that the "show" info does not get into netcat; and I do not want to redirect the whole stdout/stderr, since I can not rely on netcat being working (and still better to just not have printed stuff than to not have the plot at all).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.