35 #if defined (HAVE_CONFIG_H)
46 #include "builtin-defun-decls.h"
72 return go.
isa (
"figure");
77 if (go.
isa (
"figure"))
88 if (go.
isa (
"figure"))
97 case base_properties::ID_VISIBLE:
98 if (! props.is_visible ())
100 send_quit (props.get___plot_stream__ ());
101 props.set___plot_stream__ (
Matrix ());
102 props.set_graphicssmoothing (
false);
111 static bool drawnow_executing =
false;
114 if (! drawnow_executing)
119 drawnow_executing =
true;
127 const std::string& file,
128 const std::string& debug_file)
const
131 if (! debug_file.empty ())
132 args(3) = debug_file;
149 {
return Matrix (1, 2, 0.0); }
171 if (fids.
numel () > 1)
175 if (fids.
numel () > 2)
196 if (tmp(0).is_string () && ! tmp(0).isempty ())
198 std::string gnuplot_binary = tmp(0).string_value ();
205 if (! fs.
exists () && ! exeext.empty ())
217 catch (octave::execution_exception&)
237 error (
"__init_gnuplot__: the gnuplot program is not available, see 'gnuplot_binary'");
238 else if (! interp.mislocked (
"__init_gnuplot__"))
static bool have_gnuplot_binary(void)
octave_idx_type numel(void) const
Number of elements in the array.
bool isa(const std::string &go_name) const
base_properties & get_properties(void)
graphics_handle get_handle(void) const
void load_toolkit(const graphics_toolkit &tk)
bool mislocked(bool skip_first=false) const
void recover_from_exception(void)
void munlock(bool skip_first=false) const
static std::string getenv(const std::string &name)
octave_value as_octave_value(void) const
Matrix matrix_value(bool frc_str_conv=false) const
#define DEFUN_DLD(name, args_name, nargout_name, doc)
Macro to define an at run time dynamically loadable builtin function.
#define DEFMETHOD_DLD(name, interp_name, args_name, nargout_name, doc)
Macro to define an at run time dynamically loadable builtin method.
void error(const char *fmt,...)
OCTAVE_EXPORT octave_value_list Fpclose(octave::interpreter &interp, const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Ffflush(octave::interpreter &interp, const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Ffputs(octave::interpreter &interp, const octave_value_list &args, int)
interpreter & __get_interpreter__(const std::string &who)
octave_value_list feval(const char *name, const octave_value_list &args, int nargout)
Evaluate an Octave function (built-in or interpreted) and return the list of result values.
std::string search_path_for_file(const std::string &path, const string_vector &names)
octave_value::octave_value(const Array< char > &chm, char type) return retval
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.
OCTAVE_EXPORT octave_value_list Fwaitpid(const octave_value_list &args, int)