Archive for the ‘Documents’ Category:
Matlab Annotation Objects and Example
Users typically create annotation objects from the Plot Edit toolbar or the Insert menu (select Plot Edit in the View menu to display the Plot Edit toolbar). However, you can also create annotation objects using the annotation function. Read More
Tags: annotation, Annotation arrow properties, Annotation doublearrow properties, Annotation ellipse properties, Annotation line properties, Annotation rectangle properties, Annotation textarrow properties, Annotation textbox properties, delete, Graphics, line, matlab, Position, Positioning Annotations in Data Space, rectangle, text, The Property Editor, TightInset
Linking Graphs to Variables & Data Source Properties
Plot objects let you link a MATLAB expression with properties that contain data. For example, the lineseries object has data source properties associated with the XData, YData, and ZData properties. These properties are called XDataSource, YDataSource, and ZDataSource. Read More
Matlab Plot Objects
A number of high-level plotting functions create plot objects. The properties of plot objects provide easy access to the important properties of the core graphics objects that the plot objects contain. Read More
Tags: area, areaseries, bar, barseries, contour, contourgroup, Core Graphics Objects, errorbar, errorbarseries, Graphics, graphs, hggroup, hgsave, hgtransform, lineseries, matlab, mesh, Objects That Can Contain Other Objects, patch, peaks, plot, Plot Objects, plot3, plotting, quiver, quiver3, quivergroup, scatter, scatter3, scattergroup, set, stairs, stairseries, stairstep, stem, stem3, stemseries, surf, surfaceplot
Matlab Core Graphics Objects
Core graphics objects include basic drawing primitives: Read More
Tags: annotation, axes, bar, camera commands, Children, contour3, Controlling Graphics Output, Core Graphics Objects, fill3, function, Graphics, gtext, image, light, line, loglog, matlab, mesh, NextPlot, patch, pcolor, plot, plot3, Position, rectangle, surf, surface, text, title, Units, view, xlabel, XLim, ylabel, YLim, zlabel, ZLim
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
Controlling the Number of Instances
Limiting Instances
You can limit the number of instances of a class that can exist at any one time. For example, a singleton class can have only one instance and provides a way to access this instance. You can create a singleton class using these elements: Read More
Tags: constructor, delete, events, getInstance, isvalid, matlab, methods, sealed class, Superclasses