#include <cctype>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <algorithm>
#include <iostream>
#include <limits>
#include <list>
#include <map>
#include <set>
#include <string>
#include <sstream>
#include "cmd-edit.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-locbuf.h"
#include "oct-time.h"
#include "builtin-defun-decls.h"
#include "defun.h"
#include "display.h"
#include "error.h"
#include "graphics.h"
#include "input.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "ov.h"
#include "ovl.h"
#include "oct-map.h"
#include "ov-fcn-handle.h"
#include "pager.h"
#include "parse.h"
#include "text-engine.h"
#include "text-renderer.h"
#include "unwind-prot.h"
#include "utils.h"
#include "octave-default-image.h"
#include "graphics-props.cc"
Go to the source code of this file.
Classes | |
class | callback_event |
class | callback_props |
class | function_event |
class | mcode_event |
class | set_event |
Macros | |
#define | CHECK_ARRAY_EQUAL(T, F, A) |
#define | CONVERT_CDATA_1(ARRAY_T, VAL_FN, IS_REAL) |
#define | FIX_LIMITS |
#define | GO_BODY(TYPE) |
Functions | |
static void | adopt (const graphics_handle &parent_h, const graphics_handle &h) |
int | calc_dimensions (const graphics_object &go) |
ColumnVector | cam2xform (const Array< double > &m) |
static void | check_limit_vals (double &min_val, double &max_val, double &min_pos, double &max_neg, const octave_value &data) |
static void | cleanup_waitfor_id (uint32_t id) |
static void | cleanup_waitfor_postset_listener (const octave_value &listener) |
static void | cleanup_waitfor_predelete_listener (const octave_value &listener) |
static void | close_figure (const graphics_handle &h) |
static bool | compare_property_values (const octave_value &ov1, const octave_value &ov2) |
static octave_value | convert_cdata (const base_properties &props, const octave_value &cdata, bool is_scaled, int cdim) |
template<typename T > | |
void | convert_cdata_1 (bool is_scaled, bool is_real, double clim_0, double clim_1, const double *cmapv, const T *cv, octave_idx_type lda, octave_idx_type nc, double *av) |
static void | convert_cdata_2 (bool is_scaled, bool is_real, double clim_0, double clim_1, const double *cmapv, double x, octave_idx_type lda, octave_idx_type nc, octave_idx_type i, double *av) |
static double | convert_font_size (double font_size, const caseless_str &from_units, const caseless_str &to_units, double parent_height=0) |
static ColumnVector | convert_label_position (const ColumnVector &p, const text::properties &props, const graphics_xform &xform, const Matrix &bbox) |
static octave_value | convert_linestyleorder_string (const octave_value &val) |
static Matrix | convert_position (const Matrix &pos, const caseless_str &from_units, const caseless_str &to_units, const Matrix &parent_dim) |
static Matrix | convert_text_position (const Matrix &pos, const text::properties &props, const caseless_str &from_units, const caseless_str &to_units) |
static octave_value | convert_ticklabel_string (const octave_value &val) |
std::vector< octave_idx_type > | coplanar_partition (const Matrix &vert, const Matrix &idx, octave_idx_type nc, octave_idx_type jj) |
ColumnVector | cross (const ColumnVector &v1, const ColumnVector &v2) |
void | cross_product (double x1, double y1, double z1, double x2, double y2, double z2, double &x, double &y, double &z) |
static Matrix | default_axes_outerposition (void) |
static Matrix | default_axes_position (void) |
static Matrix | default_axes_tick (void) |
static Matrix | default_axes_ticklength (void) |
static Matrix | default_axes_view (void) |
static Matrix | default_colororder (void) |
static Matrix | default_control_position (void) |
static Matrix | default_control_sliderstep (void) |
static Matrix | default_data (void) |
static Matrix | default_data_lim (void) |
static Matrix | default_figure_paperposition (void) |
static Matrix | default_figure_papersize (void) |
static Matrix | default_figure_position (void) |
static std::string | default_graphics_toolkit (void) |
static Matrix | default_image_cdata (void) |
static Matrix | default_light_position (void) |
static Matrix | default_lim (bool logscale=false) |
static Matrix | default_panel_position (void) |
static Matrix | default_patch_faces (void) |
static Matrix | default_patch_vertices (void) |
static Matrix | default_patch_xdata (void) |
static Matrix | default_patch_ydata (void) |
static double | default_screendepth (void) |
static double | default_screenpixelsperinch (void) |
static Matrix | default_screensize (void) |
static Matrix | default_surface_cdata (void) |
static Matrix | default_surface_xdata (void) |
static Matrix | default_surface_ydata (void) |
static Matrix | default_surface_zdata (void) |
static Matrix | default_table_backgroundcolor (void) |
static Matrix | default_table_position (void) |
static void | delete_graphics_object (const graphics_handle &h, bool from_root=false) |
static void | delete_graphics_object (double val, bool from_root=false) |
static void | delete_graphics_objects (const NDArray vals, bool from_root=false) |
static double | device_pixel_ratio (graphics_handle h) |
static void | do_cleanup_waitfor_listener (const octave_value &listener, listener_mode mode=GCB_POSTSET) |
static Matrix | do_translate (double x0, double x1, const Matrix &lims, bool is_logscale) |
static Matrix | do_zoom (double val, double factor, const Matrix &lims, bool is_logscale) |
double | dot (const ColumnVector &v1, const ColumnVector &v2) |
static OCTAVE_NORETURN void | err_set_invalid (const std::string &pname) |
OCTAVE_EXPORT octave_value_list | F__calc_dimensions__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__get__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__get_frame__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__get_position__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__get_system_fonts__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_axes__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_delete__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_execute_callback__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_figure__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_figure_handles__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_handles__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_hggroup__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_image__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_light__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_line__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_patch__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_post_callback__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_scatter__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_surface__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_text__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_uibuttongroup__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_uicontextmenu__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_uicontrol__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_uimenu__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_uipanel__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_uipushtool__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_uitable__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_uitoggletool__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__go_uitoolbar__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__image_pixel_size__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__is_handle_visible__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__show_figure__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__update_normals__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | F__zoom__ (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Faddlistener (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Faddproperty (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Favailable_graphics_toolkits (octave::interpreter &interp, const octave_value_list &, int) |
OCTAVE_EXPORT octave_value_list | Fdellistener (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fdrawnow (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fget (octave::interpreter &interp, const octave_value_list &args, int) |
static void | finalize_r (const graphics_handle &h) |
OCTAVE_EXPORT octave_value_list | Fishghandle (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Floaded_graphics_toolkits (octave::interpreter &interp, const octave_value_list &, int) |
static void | force_close_figure (const graphics_handle &h) |
double | force_in_range (double x, double lower, double upper) |
OCTAVE_EXPORT octave_value_list | Fregister_graphics_toolkit (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Freset (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fset (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fwaitfor (octave::interpreter &interp, const octave_value_list &args, int) |
graphics_handle | gca (void) |
graphics_handle | gcf (void) |
template<typename T > | |
static void | get_array_limits (const Array< T > &m, double &emin, double &emax, double &eminp, double &emaxp) |
void | get_children_limits (double &min_val, double &max_val, double &min_pos, double &max_neg, const Matrix &kids, char limit_type) |
static std::string | get_graphics_object_type (double val) |
octave_value | get_property_from_handle (double handle, const std::string &property, const std::string &func) |
static void | initialize_r (const graphics_handle &h) |
bool | is_coplanar (const Matrix &cov) |
static bool | is_handle_visible (const graphics_handle &h) |
static octave_value | is_handle_visible (const octave_value &val) |
static bool | is_handle_visible (double val) |
static bool | isfigure (double val) |
static bool | ishghandle (const graphics_handle &h) |
static octave_value | ishghandle (const octave_value &val) |
static bool | ishghandle (double val) |
static bool | lookup_object_name (const caseless_str &name, caseless_str &go_name, caseless_str &rest) |
static void | magform (double x, double &a, int &b) |
static graphics_handle | make_graphics_handle (const std::string &go_name, const graphics_handle &parent, bool integer_figure_handle=false, bool call_createfcn=true, bool notify_toolkit=true) |
static octave_value | make_graphics_object (const std::string &go_name, bool integer_figure_handle, const octave_value_list &args) |
static base_graphics_object * | make_graphics_object_from_type (const caseless_str &type, const graphics_handle &h=graphics_handle(), const graphics_handle &p=graphics_handle()) |
static double | make_handle_fraction (void) |
static void | max_axes_scale (double &s, Matrix &limits, const Matrix &kids, double pbfactor, double dafactor, char limit_type, bool tight) |
double | norm (const ColumnVector &v) |
void | normalize (ColumnVector &v) |
static void | normalized_aspectratios (Matrix &aspectratios, const Matrix &scalefactors, double xlength, double ylength, double zlength) |
static Matrix | papersize_from_type (const caseless_str punits, const caseless_str ptype) |
static int | process_graphics_events (void) |
static graphics_handle | reparent (const octave_value &ov, const std::string &who, const std::string &pname, const graphics_handle &new_parent, bool adopt=true) |
void | scale (ColumnVector &v, double x, double y, double z) |
void | scale (Matrix &m, double x, double y, double z) |
static Matrix | screen_size_pixels (void) |
bool | set_property_in_handle (double handle, const std::string &property, const octave_value &arg, const std::string &func) |
static int | toggle_warn (std::string id, bool on, int state=-1) |
ColumnVector | transform (const Matrix &m, double x, double y, double z) |
void | translate (ColumnVector &v, double x, double y, double z) |
void | translate (Matrix &m, double x, double y, double z) |
Matrix | unit_cube (void) |
static void | update_text_pos (graphics_handle h) |
static caseless_str | validate_property_name (const std::string &who, const std::string &what, const std::set< std::string > &pnames, const caseless_str &pname) |
static Matrix | viridis_colormap (void) |
static octave_value_list | waitfor_del_listener (const octave_value_list &args, int) |
static octave_value_list | waitfor_listener (const octave_value_list &args, int) |
static void | xcreatefcn (const graphics_handle &h) |
void | xform (ColumnVector &v, const Matrix &m) |
RowVector | xform2cam (const ColumnVector &v) |
Matrix | xform_matrix (void) |
Matrix | xform_scale (double x, double y, double z) |
Matrix | xform_translate (double x, double y, double z) |
ColumnVector | xform_vector (double x, double y, double z) |
ColumnVector | xform_vector (void) |
static OCTAVE_NAMESPACE_BEGIN octave_value | xget (const graphics_handle &h, const caseless_str &name) |
static void | xinitialize (const graphics_handle &h) |
static void | xreset_default_properties (graphics_handle h, property_list::pval_map_type factory_pval) |
static void | xset (const graphics_handle &h, const caseless_str &pname, const octave_value &val) |
static void | xset (const graphics_handle &h, const octave_value_list &args) |
static void | xset_gcbo (const graphics_handle &h) |
Variables | |
static bool | delete_executing = false |
static std::map< caseless_str, graphics_object > | dprop_obj_map |
static callback_props | executing_callbacks |
static std::set< double > | updating_aspectratios |
static bool | updating_axes_layout = false |
static std::set< double > | updating_axis_limits |
static bool | updating_hggroup_limits = false |
static bool | updating_patch_data = false |
static bool | updating_scatter_cdata = false |
static bool | updating_title_position = false |
static bool | updating_xlabel_position = false |
static bool | updating_ylabel_position = false |
static bool | updating_zlabel_position = false |
static std::map< uint32_t, bool > | waitfor_results |
#define CONVERT_CDATA_1 | ( | ARRAY_T, | |
VAL_FN, | |||
IS_REAL | |||
) |
#define FIX_LIMITS |
#define GO_BODY | ( | TYPE | ) |
Definition at line 13406 of file graphics.cc.
|
static |
Definition at line 3178 of file graphics.cc.
References octave::__get_gh_manager__().
Referenced by F__go_figure__(), make_graphics_object(), and reparent().
int calc_dimensions | ( | const graphics_object & | go | ) |
Definition at line 13417 of file graphics.cc.
References octave::__get_gh_manager__(), calc_dimensions(), Array< T, Alloc >::numel(), and octave_handle::ok().
Referenced by calc_dimensions(), and F__calc_dimensions__().
|
inline |
Definition at line 5979 of file graphics.cc.
References Array< T, Alloc >::data(), and Array< T, Alloc >::fortran_vec().
|
static |
Definition at line 7490 of file graphics.cc.
References Inf, octave_value::is_matrix_type(), octave::math::isfinite(), Matrix, octave_value::matrix_value(), and Array< T, Alloc >::numel().
Referenced by get_children_limits().
|
static |
|
static |
Definition at line 14348 of file graphics.cc.
References do_cleanup_waitfor_listener().
Referenced by Fwaitfor().
|
static |
Definition at line 14352 of file graphics.cc.
References do_cleanup_waitfor_listener().
Referenced by Fwaitfor().
|
static |
Definition at line 3112 of file graphics.cc.
References octave::__get_gh_manager__(), and xget().
|
static |
Definition at line 14289 of file graphics.cc.
References octave::feval(), and octave_value_list::length().
Referenced by Fwaitfor(), and waitfor_listener().
|
static |
Definition at line 999 of file graphics.cc.
References octave::__get_gh_manager__(), CONVERT_CDATA_1, Array< T, Alloc >::data(), octave_value::dims(), Array< T, Alloc >::fortran_vec(), octave_value::is_double_type(), octave_value::is_int16_type(), octave_value::is_int32_type(), octave_value::is_int64_type(), octave_value::is_int8_type(), octave_value::is_single_type(), octave_value::is_uint16_type(), octave_value::is_uint32_type(), octave_value::is_uint64_type(), octave_value::is_uint8_type(), octave_value::islogical(), NDArray, dim_vector::ndims(), Array< T, Alloc >::numel(), octave_value(), dim_vector::resize(), Array< T, Alloc >::rows(), octave_value::type_name(), and warning().
void convert_cdata_1 | ( | bool | is_scaled, |
bool | is_real, | ||
double | clim_0, | ||
double | clim_1, | ||
const double * | cmapv, | ||
const T * | cv, | ||
octave_idx_type | lda, | ||
octave_idx_type | nc, | ||
double * | av | ||
) |
Definition at line 989 of file graphics.cc.
References convert_cdata_2().
|
static |
Definition at line 957 of file graphics.cc.
References octave::math::fix(), octave::math::isnan(), and x.
Referenced by convert_cdata_1().
|
static |
Definition at line 636 of file graphics.cc.
References caseless_str::compare(), octave_value::double_value(), and xget().
|
static |
Definition at line 6430 of file graphics.cc.
References convert_position(), Matrix::extract_n(), ColumnVector::resize(), and xform().
|
static |
Definition at line 7283 of file graphics.cc.
References string_vector::append(), octave_value::columns(), octave_value::is_string(), octave_value::iscellstr(), octave_value::numel(), octave_value(), octave_value::reshape(), octave_value::rows(), and octave_value::string_value().
|
static |
Definition at line 694 of file graphics.cc.
References caseless_str::compare(), octave_value::double_value(), f, Array< T, Alloc >::numel(), and xget().
Referenced by convert_label_position(), convert_text_position(), F__get_position__(), and screen_size_pixels().
|
static |
Definition at line 837 of file graphics.cc.
References octave::__get_gh_manager__(), caseless_str::compare(), convert_position(), Matrix::extract_n(), Array< T, Alloc >::numel(), octave::Utils::properties(), Matrix::resize(), and v2.
|
static |
Definition at line 7185 of file graphics.cc.
References string_vector::append(), octave_value::array_value(), octave_value::columns(), octave_value::is_string(), octave_value::iscellstr(), octave_value::isnumeric(), octave_value::numel(), octave_value(), octave_value::reshape(), octave_value::rows(), and octave_value::string_value().
std::vector< octave_idx_type > coplanar_partition | ( | const Matrix & | vert, |
const Matrix & | idx, | ||
octave_idx_type | nc, | ||
octave_idx_type | jj | ||
) |
Definition at line 9810 of file graphics.cc.
References is_coplanar(), Matrix, Matrix::resize(), and Matrix::transpose().
|
inline |
Definition at line 5946 of file graphics.cc.
References v2, and xform_vector().
|
inline |
Definition at line 10039 of file graphics.cc.
References x.
|
static |
Definition at line 451 of file graphics.cc.
|
static |
Definition at line 438 of file graphics.cc.
|
static |
Definition at line 475 of file graphics.cc.
|
static |
Definition at line 490 of file graphics.cc.
|
static |
Definition at line 464 of file graphics.cc.
|
static |
Definition at line 259 of file graphics.cc.
|
static |
Definition at line 548 of file graphics.cc.
|
static |
Definition at line 561 of file graphics.cc.
|
static |
Definition at line 313 of file graphics.cc.
|
static |
Definition at line 324 of file graphics.cc.
References Inf.
|
static |
Definition at line 525 of file graphics.cc.
|
static |
Definition at line 514 of file graphics.cc.
|
static |
Definition at line 501 of file graphics.cc.
|
static |
Definition at line 539 of file graphics.cc.
References octave::__get_gtk_manager__(), and octave::gtk_manager::default_toolkit().
|
static |
Definition at line 337 of file graphics.cc.
References default_im_data.
|
static |
Definition at line 585 of file graphics.cc.
Definition at line 294 of file graphics.cc.
|
static |
Definition at line 572 of file graphics.cc.
|
static |
Definition at line 394 of file graphics.cc.
|
static |
Definition at line 406 of file graphics.cc.
|
static |
Definition at line 418 of file graphics.cc.
|
static |
Definition at line 428 of file graphics.cc.
|
static |
Definition at line 225 of file graphics.cc.
References octave::__get_display_info__().
|
static |
Definition at line 250 of file graphics.cc.
References octave::__get_display_info__().
|
static |
Definition at line 234 of file graphics.cc.
References octave::__get_display_info__().
|
static |
Definition at line 388 of file graphics.cc.
References default_surface_zdata().
|
static |
Definition at line 353 of file graphics.cc.
|
static |
Definition at line 365 of file graphics.cc.
|
static |
Definition at line 377 of file graphics.cc.
Referenced by default_surface_cdata().
|
static |
Definition at line 610 of file graphics.cc.
|
static |
Definition at line 597 of file graphics.cc.
|
static |
Definition at line 3068 of file graphics.cc.
References octave::__get_gh_manager__(), octave_handle::ok(), and Vdrawnow_requested.
Referenced by delete_graphics_object(), delete_graphics_objects(), F__go_figure__(), force_close_figure(), and make_graphics_object().
Definition at line 3091 of file graphics.cc.
References octave::__get_gh_manager__(), delete_graphics_object(), and isfigure().
Definition at line 3102 of file graphics.cc.
References delete_executing, delete_graphics_object(), Array< T, Alloc >::elem(), and Array< T, Alloc >::numel().
Referenced by F__go_delete__().
|
static |
Definition at line 942 of file graphics.cc.
References octave::__get_gh_manager__().
|
static |
Definition at line 14313 of file graphics.cc.
References octave::__get_gh_manager__(), octave_value::cell_value(), Array< T, Alloc >::numel(), and octave_handle::ok().
Referenced by cleanup_waitfor_postset_listener(), and cleanup_waitfor_predelete_listener().
Definition at line 9055 of file graphics.cc.
References pow().
Definition at line 8910 of file graphics.cc.
References pow().
|
inline |
|
static |
Definition at line 77 of file graphics.cc.
References error().
OCTAVE_EXPORT octave_value_list F__calc_dimensions__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13458 of file graphics.cc.
References calc_dimensions(), octave_value_list::length(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__get__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13192 of file graphics.cc.
References error(), octave_value_list::length(), Array< T, Alloc >::numel(), ovl(), print_usage(), octave::state, and toggle_warn().
OCTAVE_EXPORT octave_value_list F__get_frame__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14714 of file graphics.cc.
References error(), octave_value_list::length(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__get_position__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14741 of file graphics.cc.
References convert_position(), error(), Matrix::extract_n(), octave_value_list::length(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__get_system_fonts__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 14774 of file graphics.cc.
References octave::text_renderer::get_system_fonts(), octave_value_list::length(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__go_axes__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13476 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_delete__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13638 of file graphics.cc.
References delete_graphics_objects(), error(), octave_value_list::length(), NaN, Array< T, Alloc >::numel(), octave_handle::ok(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__go_execute_callback__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13707 of file graphics.cc.
References error(), octave_value_list::length(), name, Array< T, Alloc >::numel(), octave_handle::ok(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__go_figure__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13314 of file graphics.cc.
References adopt(), caseless_str::compare(), delete_graphics_object(), error(), isfigure(), octave::math::isnan(), octave_value_list::length(), NaN, octave_handle::ok(), print_usage(), octave_value_list::splice(), octave_handle::value(), octave::math::x_nint(), xcreatefcn(), xinitialize(), and xset().
OCTAVE_EXPORT octave_value_list F__go_figure_handles__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13688 of file graphics.cc.
References octave_value_list::length(), and ovl().
OCTAVE_EXPORT octave_value_list F__go_handles__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13670 of file graphics.cc.
References octave_value_list::length(), and ovl().
OCTAVE_EXPORT octave_value_list F__go_hggroup__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13548 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_image__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13503 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_light__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13539 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_line__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13485 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_patch__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13521 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_post_callback__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13743 of file graphics.cc.
References error(), octave_value_list::length(), name, Array< T, Alloc >::numel(), octave_handle::ok(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__go_scatter__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13530 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_surface__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13512 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_text__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13494 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uibuttongroup__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13575 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uicontextmenu__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13593 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uicontrol__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13566 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uimenu__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13557 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uipanel__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13584 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uipushtool__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13620 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uitable__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13602 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uitoggletool__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13629 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__go_uitoolbar__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13611 of file graphics.cc.
References GO_BODY.
OCTAVE_EXPORT octave_value_list F__image_pixel_size__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13778 of file graphics.cc.
References error(), octave_value_list::length(), Matrix, ovl(), print_usage(), and octave::Utils::properties().
OCTAVE_EXPORT octave_value_list F__is_handle_visible__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 12727 of file graphics.cc.
References is_handle_visible(), octave_value_list::length(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__show_figure__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13860 of file graphics.cc.
References error(), octave_value_list::length(), octave_handle::ok(), ovl(), print_usage(), and octave::Utils::properties().
OCTAVE_EXPORT octave_value_list F__update_normals__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 10641 of file graphics.cc.
References error(), octave_value_list::length(), ovl(), print_usage(), and octave::Utils::properties().
OCTAVE_EXPORT octave_value_list F__zoom__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14657 of file graphics.cc.
References error(), octave_value_list::length(), octave_handle::ok(), ovl(), print_usage(), octave::Utils::properties(), and Vdrawnow_requested.
OCTAVE_EXPORT octave_value_list Faddlistener | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14051 of file graphics.cc.
References caseless_str::compare(), error(), octave_value_list::length(), octave_handle::ok(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Faddproperty | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14221 of file graphics.cc.
References error(), octave_value_list::length(), name, octave_handle::ok(), ovl(), print_usage(), and octave_value_list::splice().
OCTAVE_EXPORT octave_value_list Favailable_graphics_toolkits | ( | octave::interpreter & | interp, |
const octave_value_list & | , | ||
int | |||
) |
Definition at line 13806 of file graphics.cc.
References octave::gtk_manager::available_toolkits_list(), and ovl().
OCTAVE_EXPORT octave_value_list Fdellistener | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14112 of file graphics.cc.
References error(), octave_value_list::length(), octave_handle::ok(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fdrawnow | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13899 of file graphics.cc.
References caseless_str::compare(), delete_executing, octave::sys::file_ops::dir_sep_chars(), octave::sys::file_ops::dirname(), error(), gcf(), octave::sys::base_file_stat::is_dir(), octave_value_list::length(), Array< T, Alloc >::numel(), octave_handle::ok(), ovl(), print_usage(), octave::Utils::properties(), and Vdrawnow_requested.
Referenced by F__fltk_check__(), Fkbhit(), Fpause(), and octave::main_window::handle_new_figure_request().
OCTAVE_EXPORT octave_value_list Fget | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13071 of file graphics.cc.
References octave_map::cat(), error(), get_graphics_object_type(), octave_value_list::length(), Matrix, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ovl(), print_usage(), and Array< T, Alloc >::resize().
|
static |
Definition at line 2136 of file graphics.cc.
References octave::__get_gh_manager__(), finalize_r(), and Array< T, Alloc >::numel().
Referenced by finalize_r().
OCTAVE_EXPORT octave_value_list Fishghandle | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 12654 of file graphics.cc.
References ishghandle(), octave_value_list::length(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Floaded_graphics_toolkits | ( | octave::interpreter & | interp, |
const octave_value_list & | , | ||
int | |||
) |
Definition at line 13845 of file graphics.cc.
References octave::gtk_manager::loaded_toolkits_list(), and ovl().
|
static |
Definition at line 3122 of file graphics.cc.
References delete_graphics_object(), and xset().
Definition at line 8899 of file graphics.cc.
References x.
OCTAVE_EXPORT octave_value_list Fregister_graphics_toolkit | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13822 of file graphics.cc.
References octave_value_list::length(), name, ovl(), print_usage(), and octave::gtk_manager::register_toolkit().
OCTAVE_EXPORT octave_value_list Freset | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 12748 of file graphics.cc.
References octave_value_list::length(), Array< T, Alloc >::numel(), ovl(), print_usage(), and Vdrawnow_requested.
OCTAVE_EXPORT octave_value_list Fset | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 12951 of file graphics.cc.
References error(), octave_map::getfield(), octave_map::isfield(), octave_value_list::length(), Matrix, Array< T, Alloc >::numel(), octave_stdout, print_usage(), octave_value_list::splice(), transform(), and Vdrawnow_requested.
OCTAVE_EXPORT octave_value_list Fwaitfor | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14442 of file graphics.cc.
References cleanup_waitfor_id(), cleanup_waitfor_postset_listener(), cleanup_waitfor_predelete_listener(), caseless_str::compare(), compare_property_values(), error(), octave_value::is_defined(), ishghandle(), octave_value_list::length(), octave_value(), octave_handle::ok(), ovl(), print_usage(), octave::command_editor::run_event_hooks(), octave::unwind_action::set(), sleep(), octave::sys::time::stamp(), waitfor_del_listener(), waitfor_listener(), waitfor_results, and warning().
graphics_handle gca | ( | void | ) |
Definition at line 3059 of file graphics.cc.
References octave_value::double_value(), gcf(), octave_value::isempty(), NaN, and xget().
graphics_handle gcf | ( | void | ) |
Definition at line 3049 of file graphics.cc.
References octave_value::double_value(), octave_value::isempty(), NaN, and xget().
Referenced by Fdrawnow(), and gca().
|
static |
Definition at line 1101 of file graphics.cc.
References Array< T, Alloc >::data(), octave::math::isinf(), and Array< T, Alloc >::numel().
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 8392 of file graphics.cc.
References octave::__get_gh_manager__(), check_limit_vals(), and Array< T, Alloc >::numel().
Referenced by max_axes_scale().
|
static |
Definition at line 13045 of file graphics.cc.
References octave::__get_gh_manager__(), and error().
Referenced by Fget().
octave_value get_property_from_handle | ( | double | handle, |
const std::string & | property, | ||
const std::string & | func | ||
) |
Definition at line 14255 of file graphics.cc.
References octave::__get_gh_manager__(), and error().
Referenced by mexGet(), and mexGet_interleaved().
|
static |
Definition at line 2154 of file graphics.cc.
References octave::__get_gh_manager__(), initialize_r(), and Array< T, Alloc >::numel().
Referenced by initialize_r().
Definition at line 9798 of file graphics.cc.
References EIG::eigenvalues(), ColumnVector::max(), ColumnVector::min(), and real().
Referenced by coplanar_partition().
|
static |
Definition at line 12686 of file graphics.cc.
References octave::__get_gh_manager__(), and octave_handle::ok().
Referenced by F__is_handle_visible__(), and is_handle_visible().
|
static |
Definition at line 12702 of file graphics.cc.
References octave_value::array_value(), Array< T, Alloc >::dims(), octave_value::double_value(), is_handle_visible(), octave_value::is_real_scalar(), octave_value::isnumeric(), octave_value::isreal(), Array< T, Alloc >::numel(), and Array< T, Alloc >::xelem().
Definition at line 12694 of file graphics.cc.
References octave::__get_gh_manager__(), and is_handle_visible().
Definition at line 2880 of file graphics.cc.
References octave::__get_gh_manager__().
Referenced by delete_graphics_object(), and F__go_figure__().
|
static |
Definition at line 3188 of file graphics.cc.
References octave_handle::ok().
Referenced by Fishghandle(), Fwaitfor(), and ishghandle().
|
static |
Definition at line 3204 of file graphics.cc.
References octave_value::array_value(), Array< T, Alloc >::dims(), octave_value::double_value(), octave_value::is_real_scalar(), ishghandle(), octave_value::isnumeric(), octave_value::isreal(), Array< T, Alloc >::numel(), and Array< T, Alloc >::xelem().
Definition at line 3194 of file graphics.cc.
References octave::__get_gh_manager__(), and octave_handle::ok().
|
static |
Definition at line 1130 of file graphics.cc.
References caseless_str::compare(), len, and name.
Definition at line 7529 of file graphics.cc.
References abs(), octave::math::floor(), pow(), and x.
|
static |
Definition at line 623 of file graphics.cc.
References octave::__get_gh_manager__().
|
static |
Definition at line 13235 of file graphics.cc.
References octave::__get_gh_manager__(), adopt(), caseless_str::compare(), delete_graphics_object(), error(), octave::math::isnan(), octave_value_list::length(), NaN, octave_handle::ok(), octave_value_list::splice(), octave_handle::value(), Vdrawnow_requested, xcreatefcn(), xinitialize(), and xset().
|
static |
Definition at line 1210 of file graphics.cc.
References caseless_str::compare().
|
static |
Definition at line 2831 of file graphics.cc.
|
static |
Definition at line 6874 of file graphics.cc.
References get_children_limits(), Inf, octave::math::isfinite(), and octave::math::max().
|
inline |
Definition at line 5940 of file graphics.cc.
References dot().
Referenced by MatrixType::MatrixType(), filter(), ComplexMatrix::ltsolve(), FloatComplexMatrix::ltsolve(), FloatMatrix::ltsolve(), Matrix::ltsolve(), matrix_complex_probe(), ComplexMatrix::rcond(), Matrix::rcond(), FloatComplexMatrix::rcond(), FloatMatrix::rcond(), ComplexMatrix::utsolve(), FloatComplexMatrix::utsolve(), FloatMatrix::utsolve(), and Matrix::utsolve().
|
inline |
Definition at line 5927 of file graphics.cc.
References scale().
|
static |
Definition at line 6859 of file graphics.cc.
References octave::math::min().
|
static |
Definition at line 4456 of file graphics.cc.
References caseless_str::compare().
|
static |
Definition at line 12389 of file graphics.cc.
References octave::__get_gh_manager__().
|
static |
Definition at line 3016 of file graphics.cc.
References octave::__get_gh_manager__(), adopt(), error(), octave_handle::ok(), octave_handle::value(), and octave_value::xdouble_value().
|
inline |
Definition at line 5911 of file graphics.cc.
References x.
Definition at line 5893 of file graphics.cc.
References x, and xform_scale().
Referenced by octave::math::sparse_lu< lu_type >::sparse_lu(), F__glpk__(), Fairy(), Faudiowrite(), Flu(), glpk(), octave::fftw::ifft(), octave::fftw::ifftNd(), FloatEIG::init(), hess< T >::init(), EIG::init(), lin_interpn(), make_complex_matrix_format(), make_range_format(), make_real_matrix_format(), normalize(), pr_float(), pr_imag_float(), pr_scale_header(), and Sylvester().
|
static |
Definition at line 929 of file graphics.cc.
References octave::__get_gh_manager__(), convert_position(), and Matrix::extract_n().
bool set_property_in_handle | ( | double | handle, |
const std::string & | property, | ||
const octave_value & | arg, | ||
const std::string & | func | ||
) |
Definition at line 14271 of file graphics.cc.
References octave::__get_gh_manager__(), and error().
Referenced by mexSet().
Definition at line 3249 of file graphics.cc.
References disable_warning(), set_warning_state(), octave::state, and warning_enabled().
Referenced by F__get__(), and xreset_default_properties().
|
inline |
Definition at line 5861 of file graphics.cc.
References x, and xform_vector().
Referenced by make_valid_name_options::make_valid_name_options(), octave::stream_list::clear(), do_stream_open(), F__eigs__(), Faudiodevinfo(), Faudioformats(), Faudiowrite(), Fcolloc(), Ffftw(), Fmatrix_type(), Fnorm(), Fnproc(), Fset(), Fstrfind(), Ftypecast(), Fwarning(), octave::crypto::hash(), octregexp(), octave::textscan::parse_options(), parse_options(), and set_format_style().
|
inline |
Definition at line 5919 of file graphics.cc.
References x.
Definition at line 5899 of file graphics.cc.
References x, and xform_translate().
Referenced by octave::workspace_view::notice_settings().
|
inline |
Definition at line 5958 of file graphics.cc.
References Array< T, Alloc >::fortran_vec().
|
static |
Definition at line 2275 of file graphics.cc.
References octave::__get_gh_manager__(), Array< T, Alloc >::numel(), octave::Utils::properties(), and update_text_pos().
Referenced by update_text_pos().
|
static |
Definition at line 87 of file graphics.cc.
References caseless_str::compare(), error(), len, string_vector::list_in_columns(), and warning_with_id().
|
static |
Definition at line 141 of file graphics.cc.
References Array< T, Alloc >::fortran_vec().
|
static |
Definition at line 14389 of file graphics.cc.
References octave_value_list::length(), ovl(), and waitfor_results.
Referenced by Fwaitfor().
|
static |
Definition at line 14355 of file graphics.cc.
References octave::__get_gh_manager__(), compare_property_values(), octave_value_list::length(), octave_handle::ok(), ovl(), and waitfor_results.
Referenced by Fwaitfor().
|
static |
Definition at line 3226 of file graphics.cc.
References octave::__get_gh_manager__().
Referenced by F__go_figure__(), and make_graphics_object().
|
inline |
Definition at line 5905 of file graphics.cc.
Referenced by convert_label_position().
|
inline |
Definition at line 5989 of file graphics.cc.
References ColumnVector::extract_n(), and ColumnVector::transpose().
|
inline |
Definition at line 5828 of file graphics.cc.
Referenced by xform_translate().
Definition at line 5880 of file graphics.cc.
References x, and xform_matrix().
Referenced by translate().
|
inline |
Definition at line 5849 of file graphics.cc.
References x.
|
inline |
Definition at line 5839 of file graphics.cc.
Referenced by cross(), and transform().
|
static |
Definition at line 3006 of file graphics.cc.
References octave::__get_gh_manager__().
Referenced by close_figure(), convert_font_size(), convert_position(), gca(), and gcf().
|
static |
Definition at line 3236 of file graphics.cc.
References octave::__get_gh_manager__().
Referenced by F__go_figure__(), and make_graphics_object().
|
static |
Definition at line 3267 of file graphics.cc.
References octave::__get_gh_manager__(), octave::state, and toggle_warn().
|
static |
Definition at line 2982 of file graphics.cc.
References octave::__get_gh_manager__().
Referenced by F__go_figure__(), force_close_figure(), and make_graphics_object().
|
static |
Definition at line 2993 of file graphics.cc.
References octave::__get_gh_manager__(), and octave_value_list::length().
|
static |
Definition at line 12250 of file graphics.cc.
References octave::__get_gh_manager__(), octave_handle::as_octave_value(), and octave::Utils::properties().
|
static |
Definition at line 3099 of file graphics.cc.
Referenced by delete_graphics_objects(), and Fdrawnow().
|
static |
Definition at line 2009 of file graphics.cc.
|
static |
Definition at line 1982 of file graphics.cc.
|
static |
Definition at line 6895 of file graphics.cc.
|
static |
Definition at line 6208 of file graphics.cc.
|
static |
Definition at line 8477 of file graphics.cc.
|
static |
Definition at line 10776 of file graphics.cc.
|
static |
Definition at line 9714 of file graphics.cc.
|
static |
Definition at line 10339 of file graphics.cc.
|
static |
Definition at line 6793 of file graphics.cc.
|
static |
Definition at line 6458 of file graphics.cc.
|
static |
Definition at line 6562 of file graphics.cc.
|
static |
Definition at line 6666 of file graphics.cc.
|
static |
Definition at line 14304 of file graphics.cc.
Referenced by cleanup_waitfor_id(), Fwaitfor(), waitfor_del_listener(), and waitfor_listener().