missing pdf terminal; was --> [changeset] print.m (matlab compatibility)
Ben Abbott
bpabbott at mac.com
Tue Mar 10 21:02:02 CDT 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-gp_get_var.patch
Type: application/octet-stream
Size: 5067 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090311/067cd86a/attachment.obj
-------------- next part --------------
More information about the Octave-maintainers
mailing list