octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing pdf terminal; was --> [changeset] print.m (matlab compatibil


From: Ben Abbott
Subject: Re: missing pdf terminal; was --> [changeset] print.m (matlab compatibility)
Date: Wed, 11 Mar 2009 10:02:02 +0800


On Mar 11, 2009, at 12:13 AM, John W. Eaton wrote:

On 10-Mar-2009, Ben Abbott wrote:

| Some weeks ago I wrote a short function to obtain values for
| gnuplot's public variables.
|
| ... which can be used to obtain the version and patch-level
|
|       ver = __gnuplot_get_var__ (gcf, "GPVAL_VERSION");
|       level = __gnuplot_get_var__ (gcf, "GPVAL_PATCHLEVEL");
|
| ... the X11 window id
|
|       window_id = __gnuplot_get_var__ (gcf, "GPVAL_TERM_WINDOWID");
|
| ... as well as the available gnuplot terminals
|
| terms = regexp (__gnuplot_get_var__ (gcf, "GPVAL_TERMINALS"), "\\b \\w+
| \\b", "match");
|
| Shall I commit this function and add a check to gnuplot_drawnow to
| verify the terminal type is available in gnuplot just after the plot
| stream is opened?

Please post the function so we can discuss the implementation.

jwe

It's attached.

Attachment: changeset-gp_get_var.patch
Description: Binary data



reply via email to

[Prev in Thread] Current Thread [Next in Thread]