GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
graphics-utils.h File Reference
#include "octave-config.h"
#include <string>
#include "graphics-handle.h"

Go to the source code of this file.

Functions

void close_figure (const graphics_handle &h)
 
void delete_graphics_object (const graphics_handle &h, bool from_root=false)
 
void delete_graphics_object (double val, bool from_root=false)
 
void delete_graphics_objects (const NDArray vals, bool from_root=false)
 
void force_close_figure (const graphics_handle &h)
 
bool isfigure (double val)
 
graphics_handle reparent (const octave_value &ov, const std::string &who, const std::string &pname, const graphics_handle &new_parent, bool adopt=true)
 
octave_value xget (const graphics_handle &h, const caseless_str &pname)
 
void xset (const graphics_handle &h, const caseless_str &pname, const octave_value &val)
 
void xset (const graphics_handle &h, const octave_value_list &args)
 

Variables

bool delete_executing
 

Function Documentation

◆ close_figure()

void close_figure ( const graphics_handle h)

◆ delete_graphics_object() [1/2]

◆ delete_graphics_object() [2/2]

void delete_graphics_object ( double  val,
bool  from_root = false 
)

◆ delete_graphics_objects()

void delete_graphics_objects ( const NDArray  vals,
bool  from_root = false 
)

◆ force_close_figure()

void force_close_figure ( const graphics_handle h)

Definition at line 171 of file graphics-utils.cc.

References delete_graphics_object(), and xset().

Referenced by gh_manager::close_all_figures().

◆ isfigure()

bool isfigure ( double  val)

◆ reparent()

graphics_handle reparent ( const octave_value ov,
const std::string &  who,
const std::string &  pname,
const graphics_handle new_parent,
bool  adopt = true 
)

Definition at line 89 of file graphics-utils.cc.

◆ xget()

octave_value xget ( const graphics_handle h,
const caseless_str pname 
)

Definition at line 69 of file graphics-utils.cc.

References __get_gh_manager__(), graphics_object::get(), and gh_manager::get_object().

Referenced by close_figure(), gca(), and gcf().

◆ xset() [1/2]

◆ xset() [2/2]

void xset ( const graphics_handle h,
const octave_value_list args 
)

Variable Documentation

◆ delete_executing

bool delete_executing
extern

Definition at line 42 of file graphics-utils.cc.

Referenced by delete_graphics_objects(), and Fdrawnow().