GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cctype>
#include <algorithm>
#include <list>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include "caseless-str.h"
#include "gripes.h"
#include "oct-handle.h"
#include "oct-map.h"
#include "oct-mutex.h"
#include "oct-refcount.h"
#include "ov.h"
#include "txt-eng-ft.h"
Go to the source code of this file.
Macros | |
#define | OCTAVE_DEFAULT_FONTNAME "*" |
Typedefs | |
typedef octave_handle | graphics_handle |
typedef std::pair< std::string, octave_value > | pval_pair |
Enumerations | |
enum | { AXE_ANY_DIR = 0, AXE_DEPTH_DIR = 1, AXE_HORZ_DIR = 2, AXE_VERT_DIR = 3 } |
enum | listener_mode { POSTSET, PERSISTENT, PREDELETE, POSTSET, PERSISTENT, PREDELETE } |
Functions | |
OCTINTERP_API int | calc_dimensions (const graphics_object &gh) |
OCTINTERP_API void | close_all_figures (void) |
OCTINTERP_API graphics_handle | gca (void) |
OCTINTERP_API graphics_handle | gcf (void) |
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 &func) |
bool | set_property_in_handle (double handle, const std::string &property, const octave_value &arg, const std::string &func) |
#define OCTAVE_DEFAULT_FONTNAME "*" |
Definition at line 53 of file graphics.in.h.
typedef octave_handle graphics_handle |
Definition at line 56 of file graphics.in.h.
typedef std::pair<std::string, octave_value> pval_pair |
Definition at line 2002 of file graphics.in.h.
anonymous enum |
Enumerator | |
---|---|
AXE_ANY_DIR | |
AXE_DEPTH_DIR | |
AXE_HORZ_DIR | |
AXE_VERT_DIR |
Definition at line 3702 of file graphics.in.h.
enum listener_mode |
Enumerator | |
---|---|
POSTSET | |
PERSISTENT | |
PREDELETE | |
POSTSET | |
PERSISTENT | |
PREDELETE |
Definition at line 268 of file graphics.in.h.
OCTINTERP_API int calc_dimensions | ( | const graphics_object & | gh | ) |
Definition at line 10619 of file graphics.cc.
References calc_dimensions(), graphics_object::get(), base_properties::get_children(), gh_manager::get_object(), graphics_object::get_properties(), octave_value::is_empty(), graphics_object::isa(), Array< T >::length(), gh_manager::lookup(), octave_handle::ok(), and graphics_object::valid_object().
Referenced by calc_dimensions(), and F__calc_dimensions__().
OCTINTERP_API void close_all_figures | ( | void | ) |
OCTINTERP_API graphics_handle gca | ( | void | ) |
Definition at line 2620 of file graphics.cc.
References octave_value::double_value(), gcf(), octave_value::is_empty(), octave_NaN, and xget().
OCTINTERP_API graphics_handle gcf | ( | void | ) |
Definition at line 2611 of file graphics.cc.
References octave_value::double_value(), octave_value::is_empty(), octave_NaN, and xget().
Referenced by Fdrawnow(), and gca().
void get_children_limits | ( | double & | min_val, |
double & | max_val, | ||
double & | min_pos, | ||
double & | max_neg, | ||
const Matrix & | kids, | ||
char | limit_type | ||
) |
Definition at line 7218 of file graphics.cc.
References check_limit_vals(), graphics_object::get_alim(), graphics_object::get_clim(), gh_manager::get_object(), graphics_object::get_xlim(), graphics_object::get_ylim(), graphics_object::get_zlim(), graphics_object::is_aliminclude(), graphics_object::is_climinclude(), graphics_object::is_xliminclude(), graphics_object::is_yliminclude(), graphics_object::is_zliminclude(), and Array< T >::numel().
Referenced by max_axes_scale(), axes::properties::translate_view(), axes::update_axis_limits(), hggroup::update_axis_limits(), and axes::properties::zoom_about_point().
octave_value get_property_from_handle | ( | double | handle, |
const std::string & | property, | ||
const std::string & | func | ||
) |
Definition at line 11647 of file graphics.cc.
References error(), graphics_object::get(), and gh_manager::get_object().
Referenced by mexGet().
bool set_property_in_handle | ( | double | handle, |
const std::string & | property, | ||
const octave_value & | arg, | ||
const std::string & | func | ||
) |
Definition at line 11664 of file graphics.cc.
References error(), error_state, gh_manager::get_object(), and graphics_object::set().
Referenced by mexSet().