[Top][All Lists]

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

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

From: John W. Eaton
Subject: Re: missing pdf terminal; was --> [changeset] print.m (matlab compatibility)
Date: Tue, 10 Mar 2009 12:13:53 -0400

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.


reply via email to

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