#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 &fcn) |
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 &fcn) |
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_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 CHECK_ARRAY_EQUAL | ( | T, | |
F, | |||
A | |||
) |
#define CONVERT_CDATA_1 | ( | ARRAY_T, | |
VAL_FN, | |||
IS_REAL | |||
) |
#define FIX_LIMITS |
#define GO_BODY | ( | TYPE | ) |
Definition at line 13436 of file graphics.cc.
|
static |
Definition at line 3168 of file graphics.cc.
References __get_gh_manager__().
Referenced by F__go_figure__(), make_graphics_object(), and reparent().
int calc_dimensions | ( | const graphics_object & | go | ) |
Definition at line 13447 of file graphics.cc.
References __get_gh_manager__(), Array< T, Alloc >::numel(), and octave_handle::ok().
Referenced by F__calc_dimensions__().
|
inline |
Definition at line 5937 of file graphics.cc.
References Array< T, Alloc >::fortran_vec(), and m.
|
static |
Definition at line 7440 of file graphics.cc.
References Inf, octave_value::is_matrix_type(), isfinite(), m, Matrix, and octave_value::matrix_value().
Referenced by get_children_limits().
|
static |
|
static |
Definition at line 14381 of file graphics.cc.
References do_cleanup_waitfor_listener().
Referenced by Fwaitfor().
|
static |
Definition at line 14385 of file graphics.cc.
References do_cleanup_waitfor_listener().
Referenced by Fwaitfor().
|
static |
Definition at line 3102 of file graphics.cc.
References __get_gh_manager__(), and xget().
|
static |
Definition at line 14323 of file graphics.cc.
References feval(), and octave_value_list::length().
Referenced by Fwaitfor(), and waitfor_listener().
|
static |
Definition at line 995 of file graphics.cc.
References __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 985 of file graphics.cc.
References convert_cdata_2().
|
static |
Definition at line 953 of file graphics.cc.
References fix(), isnan(), and x.
Referenced by convert_cdata_1().
|
static |
Definition at line 632 of file graphics.cc.
References caseless_str::compare(), octave_value::double_value(), and xget().
|
static |
Definition at line 6388 of file graphics.cc.
References convert_position(), Matrix::extract_n(), ColumnVector::resize(), and xform().
|
static |
Definition at line 7235 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 690 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 833 of file graphics.cc.
References __get_gh_manager__(), caseless_str::compare(), convert_position(), Matrix::extract_n(), Array< T, Alloc >::numel(), Utils::properties(), Matrix::resize(), and v2.
|
static |
Definition at line 7137 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 9844 of file graphics.cc.
References is_coplanar(), Matrix, Matrix::resize(), and Matrix::transpose().
|
inline |
Definition at line 5904 of file graphics.cc.
References r, v2, and xform_vector().
|
inline |
Definition at line 10073 of file graphics.cc.
References x.
|
static |
Definition at line 448 of file graphics.cc.
References m.
|
static |
Definition at line 435 of file graphics.cc.
References m.
|
static |
Definition at line 472 of file graphics.cc.
References m.
|
static |
Definition at line 487 of file graphics.cc.
References m.
|
static |
Definition at line 461 of file graphics.cc.
References m.
|
static |
Definition at line 256 of file graphics.cc.
|
static |
Definition at line 544 of file graphics.cc.
|
static |
Definition at line 557 of file graphics.cc.
|
static |
Definition at line 310 of file graphics.cc.
|
static |
Definition at line 321 of file graphics.cc.
References Inf.
|
static |
Definition at line 522 of file graphics.cc.
References m.
|
static |
Definition at line 511 of file graphics.cc.
References m.
|
static |
Definition at line 498 of file graphics.cc.
References m.
|
static |
Definition at line 536 of file graphics.cc.
References __get_gtk_manager__().
|
static |
Definition at line 334 of file graphics.cc.
References default_im_data, and m.
|
static |
Definition at line 581 of file graphics.cc.
References m.
|
static |
Definition at line 291 of file graphics.cc.
References m.
|
static |
Definition at line 568 of file graphics.cc.
|
static |
Definition at line 391 of file graphics.cc.
References m.
|
static |
Definition at line 403 of file graphics.cc.
References m.
|
static |
Definition at line 415 of file graphics.cc.
References m.
|
static |
Definition at line 425 of file graphics.cc.
References m.
|
static |
Definition at line 225 of file graphics.cc.
References __get_display_info__().
|
static |
Definition at line 248 of file graphics.cc.
References __get_display_info__().
|
static |
Definition at line 233 of file graphics.cc.
References __get_display_info__().
|
static |
Definition at line 385 of file graphics.cc.
References default_surface_zdata().
|
static |
Definition at line 350 of file graphics.cc.
References m.
|
static |
Definition at line 362 of file graphics.cc.
References m.
|
static |
|
static |
Definition at line 606 of file graphics.cc.
|
static |
Definition at line 593 of file graphics.cc.
|
static |
Definition at line 3059 of file graphics.cc.
References __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().
|
static |
Definition at line 3081 of file graphics.cc.
References __get_gh_manager__(), delete_graphics_object(), and isfigure().
|
static |
Definition at line 3092 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 938 of file graphics.cc.
References __get_gh_manager__().
|
static |
Definition at line 14347 of file graphics.cc.
References __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 9097 of file graphics.cc.
References pow().
Definition at line 8952 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 13488 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 13222 of file graphics.cc.
References error(), octave_value_list::length(), n, Array< T, Alloc >::numel(), ovl(), print_usage(), state, and toggle_warn().
OCTAVE_EXPORT octave_value_list F__get_frame__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14748 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 14775 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 14808 of file graphics.cc.
References 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 13506 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 13668 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 13737 of file graphics.cc.
References error(), octave_value_list::length(), 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 13344 of file graphics.cc.
References adopt(), caseless_str::compare(), delete_graphics_object(), error(), isfigure(), isnan(), octave_value_list::length(), NaN, octave_handle::ok(), print_usage(), octave_value_list::splice(), octave_handle::value(), 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 13718 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 13700 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 13578 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 13533 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 13569 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 13515 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 13551 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 13773 of file graphics.cc.
References error(), octave_value_list::length(), 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 13560 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 13542 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 13524 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 13605 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 13623 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 13596 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 13587 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 13614 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 13650 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 13632 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 13659 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 13641 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 13808 of file graphics.cc.
References error(), octave_value_list::length(), Matrix, ovl(), print_usage(), and Utils::properties().
OCTAVE_EXPORT octave_value_list F__is_handle_visible__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 12733 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 13893 of file graphics.cc.
References error(), octave_value_list::length(), octave_handle::ok(), ovl(), print_usage(), and Utils::properties().
OCTAVE_EXPORT octave_value_list F__update_normals__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 10673 of file graphics.cc.
References error(), octave_value_list::length(), ovl(), print_usage(), and Utils::properties().
OCTAVE_EXPORT octave_value_list F__zoom__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14691 of file graphics.cc.
References error(), octave_value_list::length(), octave_handle::ok(), ovl(), print_usage(), Utils::properties(), and Vdrawnow_requested.
OCTAVE_EXPORT octave_value_list Faddlistener | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14085 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 14255 of file graphics.cc.
References error(), octave_value_list::length(), 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 13836 of file graphics.cc.
References ovl().
OCTAVE_EXPORT octave_value_list Fdellistener | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 14146 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 13932 of file graphics.cc.
References caseless_str::compare(), delete_executing, dir_sep_chars, dirname(), error(), gcf(), octave_value_list::length(), Array< T, Alloc >::numel(), octave_handle::ok(), ovl(), print_usage(), Utils::properties(), and Vdrawnow_requested.
Referenced by F__fltk_check__(), Fkbhit(), Fpause(), and main_window::handle_new_figure_request().
OCTAVE_EXPORT octave_value_list Fget | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 13100 of file graphics.cc.
References octave_map::cat(), error(), get_graphics_object_type(), octave_value_list::length(), m, Matrix, n, Array< T, Alloc >::numel(), OCTAVE_LOCAL_BUFFER, ovl(), print_usage(), and Array< T, Alloc >::resize().
|
static |
Definition at line 2128 of file graphics.cc.
References __get_gh_manager__(), and Array< T, Alloc >::numel().
OCTAVE_EXPORT octave_value_list Fishghandle | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 12660 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 13878 of file graphics.cc.
References ovl().
|
static |
Definition at line 3112 of file graphics.cc.
References delete_graphics_object(), and xset().
|
inline |
Definition at line 8941 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 13855 of file graphics.cc.
References octave_value_list::length(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Freset | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 12754 of file graphics.cc.
References octave_value_list::length(), n, 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 12980 of file graphics.cc.
References error(), octave_map::getfield(), octave_map::isfield(), octave_value_list::length(), Matrix, n, 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 14475 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(), sleep(), waitfor_del_listener(), waitfor_listener(), waitfor_results, and warning().
graphics_handle gca | ( | void | ) |
Definition at line 3050 of file graphics.cc.
References octave_value::double_value(), gcf(), octave_value::isempty(), NaN, and xget().
graphics_handle gcf | ( | void | ) |
Definition at line 3040 of file graphics.cc.
References octave_value::double_value(), octave_value::isempty(), NaN, and xget().
Referenced by Fdrawnow(), and gca().
|
static |
Definition at line 1097 of file graphics.cc.
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 8422 of file graphics.cc.
References __get_gh_manager__(), check_limit_vals(), n, and Array< T, Alloc >::numel().
Referenced by max_axes_scale().
|
static |
Definition at line 13074 of file graphics.cc.
References __get_gh_manager__(), and error().
Referenced by Fget().
octave_value get_property_from_handle | ( | double | handle, |
const std::string & | property, | ||
const std::string & | fcn | ||
) |
Definition at line 14289 of file graphics.cc.
References __get_gh_manager__(), and error().
Referenced by mexGet(), and mexGet_interleaved().
|
static |
Definition at line 2146 of file graphics.cc.
References __get_gh_manager__(), and Array< T, Alloc >::numel().
bool is_coplanar | ( | const Matrix & | cov | ) |
Definition at line 9832 of file graphics.cc.
References EIG::eigenvalues(), ColumnVector::max(), ColumnVector::min(), and real().
Referenced by coplanar_partition().
|
static |
Definition at line 12692 of file graphics.cc.
References __get_gh_manager__(), and octave_handle::ok().
Referenced by F__is_handle_visible__(), and is_handle_visible().
|
static |
Definition at line 12708 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().
|
static |
Definition at line 12700 of file graphics.cc.
References __get_gh_manager__(), and is_handle_visible().
|
static |
Definition at line 2871 of file graphics.cc.
References __get_gh_manager__().
Referenced by delete_graphics_object(), and F__go_figure__().
|
static |
Definition at line 3178 of file graphics.cc.
References octave_handle::ok().
Referenced by Fishghandle(), Fwaitfor(), and ishghandle().
|
static |
Definition at line 3194 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().
|
static |
Definition at line 3184 of file graphics.cc.
References __get_gh_manager__(), and octave_handle::ok().
|
static |
Definition at line 1126 of file graphics.cc.
References caseless_str::compare(), and len.
|
static |
|
static |
Definition at line 619 of file graphics.cc.
References __get_gh_manager__().
|
static |
Definition at line 13265 of file graphics.cc.
References __get_gh_manager__(), adopt(), caseless_str::compare(), delete_graphics_object(), error(), 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 1206 of file graphics.cc.
References caseless_str::compare().
|
static |
Definition at line 2822 of file graphics.cc.
|
static |
Definition at line 6830 of file graphics.cc.
References get_children_limits(), Inf, isfinite(), and max().
|
inline |
Definition at line 5898 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 5885 of file graphics.cc.
References scale().
|
static |
Definition at line 6815 of file graphics.cc.
References min().
|
static |
Definition at line 4419 of file graphics.cc.
References caseless_str::compare().
|
static |
Definition at line 12395 of file graphics.cc.
References __get_gh_manager__().
|
static |
Definition at line 3007 of file graphics.cc.
References __get_gh_manager__(), adopt(), error(), octave_handle::ok(), octave_handle::value(), and octave_value::xdouble_value().
|
inline |
Definition at line 5869 of file graphics.cc.
References x.
|
inline |
Definition at line 5851 of file graphics.cc.
References m, x, and xform_scale().
Referenced by sparse_lu< lu_type >::sparse_lu(), F__glpk__(), Fairy(), Faudiowrite(), Flu(), glpk(), fftw::ifft(), 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 925 of file graphics.cc.
References __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 & | fcn | ||
) |
Definition at line 14305 of file graphics.cc.
References __get_gh_manager__(), and error().
Referenced by mexSet().
|
static |
Definition at line 3239 of file graphics.cc.
References disable_warning(), set_warning_state(), state, and warning_enabled().
Referenced by F__get__(), and xreset_default_properties().
|
inline |
Definition at line 5819 of file graphics.cc.
References m, x, and xform_vector().
Referenced by make_valid_name_options::make_valid_name_options(), stream_list::clear(), do_stream_open(), F__eigs__(), Faudiodevinfo(), Faudioformats(), Faudiowrite(), Fcolloc(), Ffftw(), Fmatrix_type(), Fnorm(), Fnproc(), Fset(), Fstrfind(), Ftypecast(), Fwarning(), hash(), octregexp(), textscan::parse_options(), parse_options(), and set_format_style().
|
inline |
Definition at line 5877 of file graphics.cc.
References x.
|
inline |
Definition at line 5857 of file graphics.cc.
References m, x, and xform_translate().
Referenced by workspace_view::notice_settings().
|
inline |
Definition at line 5916 of file graphics.cc.
References m.
|
static |
Definition at line 2266 of file graphics.cc.
References __get_gh_manager__(), Array< T, Alloc >::numel(), and Utils::properties().
|
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 14422 of file graphics.cc.
References octave_value_list::length(), ovl(), and waitfor_results.
Referenced by Fwaitfor().
|
static |
Definition at line 14388 of file graphics.cc.
References __get_gh_manager__(), compare_property_values(), octave_value_list::length(), octave_handle::ok(), ovl(), and waitfor_results.
Referenced by Fwaitfor().
|
static |
Definition at line 3216 of file graphics.cc.
References __get_gh_manager__().
Referenced by F__go_figure__(), and make_graphics_object().
|
inline |
|
inline |
Definition at line 5947 of file graphics.cc.
References ColumnVector::extract_n(), and ColumnVector::transpose().
|
inline |
|
inline |
|
inline |
Definition at line 5838 of file graphics.cc.
References m, x, and xform_matrix().
Referenced by translate().
|
inline |
Definition at line 5807 of file graphics.cc.
References x.
|
inline |
Definition at line 5797 of file graphics.cc.
Referenced by cross(), and transform().
|
static |
Definition at line 2997 of file graphics.cc.
References __get_gh_manager__().
Referenced by close_figure(), convert_font_size(), convert_position(), gca(), and gcf().
|
static |
Definition at line 3226 of file graphics.cc.
References __get_gh_manager__().
Referenced by F__go_figure__(), and make_graphics_object().
|
static |
Definition at line 3257 of file graphics.cc.
References __get_gh_manager__(), state, and toggle_warn().
|
static |
Definition at line 2973 of file graphics.cc.
References __get_gh_manager__().
Referenced by F__go_figure__(), force_close_figure(), and make_graphics_object().
|
static |
Definition at line 2984 of file graphics.cc.
References __get_gh_manager__(), and octave_value_list::length().
|
static |
Definition at line 12256 of file graphics.cc.
References __get_gh_manager__(), octave_handle::as_octave_value(), and Utils::properties().
|
static |
Definition at line 3089 of file graphics.cc.
Referenced by delete_graphics_objects(), and Fdrawnow().
|
static |
Definition at line 2000 of file graphics.cc.
|
static |
Definition at line 1974 of file graphics.cc.
|
static |
Definition at line 6851 of file graphics.cc.
|
static |
Definition at line 6166 of file graphics.cc.
|
static |
Definition at line 8507 of file graphics.cc.
|
static |
Definition at line 10804 of file graphics.cc.
|
static |
Definition at line 9748 of file graphics.cc.
|
static |
Definition at line 10373 of file graphics.cc.
|
static |
Definition at line 6750 of file graphics.cc.
|
static |
Definition at line 6416 of file graphics.cc.
|
static |
Definition at line 6520 of file graphics.cc.
|
static |
Definition at line 6624 of file graphics.cc.
|
static |
Definition at line 14338 of file graphics.cc.
Referenced by cleanup_waitfor_id(), Fwaitfor(), waitfor_del_listener(), and waitfor_listener().