comparison src/DLD-FUNCTIONS/__gnuplot_raw__.l @ 7151:aeeb646f6538

[project @ 2007-11-09 19:34:17 by jwe]
author jwe
date Fri, 09 Nov 2007 19:35:52 +0000
parents 68a1b616b7df
children cc0276c3269d
comparison
equal deleted inserted replaced
7150:68a1b616b7df 7151:aeeb646f6538
28 // PKG_ADD: mark_as_rawcommand ("__gnuplot_splot__"); 28 // PKG_ADD: mark_as_rawcommand ("__gnuplot_splot__");
29 // PKG_ADD: mark_as_rawcommand ("__gnuplot_replot__"); 29 // PKG_ADD: mark_as_rawcommand ("__gnuplot_replot__");
30 30
31 // PKG_ADD: mark_as_command ("__gnuplot_set__"); 31 // PKG_ADD: mark_as_command ("__gnuplot_set__");
32 // PKG_ADD: mark_as_command ("__gnuplot_show__"); 32 // PKG_ADD: mark_as_command ("__gnuplot_show__");
33
34 // PKG_ADD: atexit ("closeplot");
35 33
36 #ifdef HAVE_CONFIG_H 34 #ifdef HAVE_CONFIG_H
37 #include <config.h> 35 #include <config.h>
38 #endif 36 #endif
39 37
1728 Close stream to the @code{gnuplot} subprocess. If you are using X11,\n\ 1726 Close stream to the @code{gnuplot} subprocess. If you are using X11,\n\
1729 this will close the plot window.\n\ 1727 this will close the plot window.\n\
1730 @seealso{close}\n\ 1728 @seealso{close}\n\
1731 @end deftypefn") 1729 @end deftypefn")
1732 { 1730 {
1733 // Don't use WARN_OBSOLETE here because closeplot is called 1731 WARN_OBSOLETE ("closeplot");
1734 // unconditionally from atexit and always printing the warning when
1735 // Octave exits could cause confusion.
1736 1732
1737 gnuplot::close (); 1733 gnuplot::close ();
1738 1734
1739 return octave_value_list (); 1735 return octave_value_list ();
1740 } 1736 }