32 #if defined (HAVE_CONFIG_H)
63 return go.
isa (
"figure");
68 if (go.
isa (
"figure"))
79 if (go.
isa (
"figure"))
104 feval (
"__gnuplot_drawnow__", args);
112 if (! debug_file.empty ())
113 args(3) = debug_file;
117 feval (
"__gnuplot_drawnow__", args);
130 {
return Matrix (1, 2, 0.0); }
140 toolkit_loaded =
false;
158 if (fids.
numel () > 1)
162 if (fids.
numel () > 2)
180 if (
tmp(0).is_string ())
189 if (! fs.
exists () && ! exeext.empty ())
201 catch (octave::execution_exception&)
218 error (
"__init_gnuplot__: the gnuplot program is not available, see 'gnuplot_binary'");
219 else if (! toolkit_loaded)
226 toolkit_loaded =
true;
OCTINTERP_API octave_value_list Fwaitpid(const octave_value_list &=octave_value_list(), int=0)
static bool have_gnuplot_binary(void)
For example cd octave end example noindent changes the current working directory to file
bool is_visible(void) const
bool isa(const std::string &go_name) const
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).is_integer_type())
octave_idx_type numel(void) const
Number of elements in the array.
OCTINTERP_API octave_value_list Ffputs(const octave_value_list &=octave_value_list(), int=0)
void error(const char *fmt,...)
static void load_toolkit(const graphics_toolkit &tk)
OCTINTERP_API octave_value_list Fpclose(const octave_value_list &=octave_value_list(), int=0)
static std::string getenv(const std::string &name)
static bool toolkit_loaded
static void unload_toolkit(const std::string &name)
base_properties & get_properties(void)
OCTINTERP_API void munlock(const std::string &)
Matrix matrix_value(bool frc_str_conv=false) const
OCTINTERP_API octave_value_list Ffflush(const octave_value_list &=octave_value_list(), int=0)
std::string search_path_for_file(const std::string &path, const string_vector &names)
bool is_empty(void) const
octave::sys::file_stat fs(filename)
#define DEFUN_DLD(name, args_name, nargout_name, doc)
graphics_handle get_handle(void) const
octave_value as_octave_value(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
OCTINTERP_API void mlock(void)