Posts Tagged ‘Graphics’
Matlab Graphics Windows & the Figure
Figures are the windows in which MATLAB displays graphics. Figures contain menus, toolbars, user-interface objects, context menus, axes and, as axes children, all other types of graphics objects. Read More
Tags: Automatic Axes Resize, ButtonDownFcn, Callback Properties for Graphics Objects, Controlling Graphics Output, Creating Graphical User Interfaces, CurrentFigure >, Example — Transforming a Hierarchy of Objects, Example — Using Figure Panels, figure, Figure Properties, gcf, Graphics, Graphics Windows, gui, HandleVisibility, matlab, MenuBar, Multiple Axes per Figure, Name, Objects That Can Contain Other Objects, plot, ResizeFcn, Root Properties, surf, Toolbar, UIContextMenu, WindowButtonDownFcn, WindowButtonMotionFcn, WindowButtonUpFcn, windows, WindowStyle
Matlab Editing Plots
Why Edit Plots?
MATLAB graphs are formatted to provide readability, setting the scale of axes, including tick marks on the axes, and using color and line style to distinguish the plots in the graph. However, if you are creating presentation graphics, you might want to change this default formatting or add descriptive labels, titles, legends, and other annotations to help explain your data. Read More
Implementing a Set/Get Interface for Properties
The Standard Set/Get Interface
The MATLAB Handle Graphics system implements an interface based on set and get methods. These methods enable you to set or query the value of graphics object properties. The hgsetget subclass of the handle class provides implementations of these methods that your class can inherit to provide the same set and get functionality. Read More
Comparing Handle and Value Classes
Why Select Handle or Value
MATLAB support two kinds of classes — handle classes and value classes. The kind of class you use depends on the desired behavior of the class instances and what features you want to use. Read More
Tags: Arrays of Handle Objects, Behavior of MATLAB Built-In Classes, Classdef, Defining Events and Listeners — Syntax and Techniques, delete, Dynamic Properties — Adding Properties to an Instance, Functions, Graphics, Handle Class Delete Methods, Handle Class Methods, How to Initialize Property Values, Implementing a Set/Get Interface for Properties, matlab, Memory Allocation for Arrays, Passing Objects to Functions, The Handle Superclass, Which Kind of Class to Use
Modifying and Reloading Classes
Ensuring MATLAB Uses Your Changes
There is only one class definition for a given class in MATLAB at any given time. When you create an instance of a class, MATLAB loads the class definition. So as long as instances of that class exist, MATLAB does not reload the class definition. Read More
Tags: clear, Clear Classes, close, close_system, Functions, Graphics, Graphics Objects, Handle, matlab, mlock, munlock, Persistent, rmappdata, simulink, Simulink Models, variables
Matlab Books and Software
Plotting Tools — Interactive Plotting
What Are Plotting Tools?
The modular, interactive plotting environment called plotting tools enables you to Read More