GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
graphics-utils.cc File Reference
#include "caseless-str.h"
#include "gh-manager.h"
#include "graphics-utils.h"
#include "graphics.h"
#include "input.h"
#include "interpreter-private.h"
#include "ov.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)
 
void delete_graphics_object (double val, bool from_root)
 
void delete_graphics_objects (const NDArray vals, bool from_root)
 
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)
 
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 = false
 

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 
)

◆ delete_graphics_objects()

void delete_graphics_objects ( const NDArray  vals,
bool  from_root 
)

◆ 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 
)

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 = false

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

Referenced by delete_graphics_objects(), and Fdrawnow().