GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
graphics.h File Reference
#include "octave-config.h"
#include <cctype>
#include <cmath>
#include <algorithm>
#include <list>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
#include "caseless-str.h"
#include "errwarn.h"
#include "graphics-handle.h"
#include "graphics-toolkit.h"
#include "oct-map.h"
#include "oct-mutex.h"
#include "oct-refcount.h"
#include "ov.h"
#include "text-renderer.h"

Go to the source code of this file.

Classes

class  any_property
 
class  array_property
 
class  axes
 
class  base_graphics_event
 
class  base_graphics_object
 
class  base_properties
 
class  base_property
 
class  base_scaler
 
class  bool_property
 
class  callback_property
 
class  children_property
 
struct  base_properties::cmp_caseless_str
 
class  color_property
 
class  color_values
 
class  double_property
 
class  double_radio_property
 
class  figure
 
class  graphics_event
 
class  graphics_object
 
class  graphics_xform
 
class  handle_property
 
class  hggroup
 
class  image
 
class  light
 
class  lin_scaler
 
class  line
 
class  log_scaler
 
class  neg_log_scaler
 
class  patch
 
class  uitable::properties
 
class  hggroup::properties
 
class  uimenu::properties
 
class  surface::properties
 
class  uicontextmenu::properties
 
class  scatter::properties
 
class  uicontrol::properties
 
class  patch::properties
 
class  light::properties
 
class  uibuttongroup::properties
 
class  image::properties
 
class  uipanel::properties
 
class  text::properties
 
class  line::properties
 
class  axes::properties
 
class  uitoolbar::properties
 
class  uipushtool::properties
 
class  figure::properties
 
class  uitoggletool::properties
 
class  root_figure::properties
 
class  property
 
class  property_list
 
class  pval_vector
 
class  radio_property
 
class  radio_values
 
class  root_figure
 
class  row_vector_property
 
class  scaler
 
class  scatter
 
class  string_array_property
 
class  string_property
 
class  surface
 
class  text
 
class  text_label_property
 
class  uibuttongroup
 
class  uicontextmenu
 
class  uicontrol
 
class  uimenu
 
class  uipanel
 
class  uipushtool
 
class  uitable
 
class  uitoggletool
 
class  uitoolbar
 

Macros

#define OCTAVE_DEFAULT_FONTNAME   "*"
 

Typedefs

typedef std::pair< std::string, octave_valuepval_pair
 

Enumerations

enum  { AXE_ANY_DIR = 0 , AXE_DEPTH_DIR = 1 , AXE_HORZ_DIR = 2 , AXE_VERT_DIR = 3 }
 
enum  finite_type { NO_CHECK , FINITE , NOT_NAN , NOT_INF }
 
enum  listener_mode { GCB_POSTSET , GCB_PERSISTENT , GCB_PREDELETE }
 

Functions

int calc_dimensions (const graphics_object &gh)
 
void close_all_figures ()
 
graphics_handle gca ()
 
graphics_handle gcf ()
 
void get_children_limits (double &min_val, double &max_val, double &min_pos, double &max_neg, const Matrix &kids, char limit_type)
 
octave_value get_property_from_handle (double handle, const std::string &property, const std::string &fcn)
 
base_graphics_objectmake_graphics_object_from_type (const caseless_str &type, const graphics_handle &h=graphics_handle(), const graphics_handle &p=graphics_handle())
 
bool set_property_in_handle (double handle, const std::string &property, const octave_value &arg, const std::string &fcn)
 

Macro Definition Documentation

◆ OCTAVE_DEFAULT_FONTNAME

#define OCTAVE_DEFAULT_FONTNAME   "*"

Definition at line 63 of file graphics.h.

Typedef Documentation

◆ pval_pair

typedef std::pair<std::string, octave_value> pval_pair

Definition at line 2123 of file graphics.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AXE_ANY_DIR 
AXE_DEPTH_DIR 
AXE_HORZ_DIR 
AXE_VERT_DIR 

Definition at line 4654 of file graphics.h.

◆ finite_type

Enumerator
NO_CHECK 
FINITE 
NOT_NAN 
NOT_INF 

Definition at line 1179 of file graphics.h.

◆ listener_mode

Enumerator
GCB_POSTSET 
GCB_PERSISTENT 
GCB_PREDELETE 

Definition at line 280 of file graphics.h.

Function Documentation

◆ calc_dimensions()

◆ close_all_figures()

void close_all_figures ( )

◆ gca()

graphics_handle gca ( )

Definition at line 2803 of file graphics.cc.

References octave_value::double_value(), gcf(), octave_value::isempty(), NaN, and xget().

◆ gcf()

graphics_handle gcf ( )

Definition at line 2793 of file graphics.cc.

References octave_value::double_value(), octave_value::isempty(), NaN, and xget().

Referenced by Fdrawnow(), and gca().

◆ get_children_limits()

void get_children_limits ( double &  min_val,
double &  max_val,
double &  min_pos,
double &  max_neg,
const Matrix kids,
char  limit_type 
)

◆ get_property_from_handle()

octave_value get_property_from_handle ( double  handle,
const std::string &  property,
const std::string &  fcn 
)

◆ make_graphics_object_from_type()

base_graphics_object* make_graphics_object_from_type ( const caseless_str type,
const graphics_handle h = graphics_handle(),
const graphics_handle p = graphics_handle() 
)

Definition at line 1205 of file graphics.cc.

References caseless_str::compare().

Referenced by gh_manager::make_graphics_handle().

◆ set_property_in_handle()

bool set_property_in_handle ( double  handle,
const std::string &  property,
const octave_value arg,
const std::string &  fcn 
)