matlab primer 6th edition phần 9 ppsx

17 382 0
matlab primer 6th edition phần 9 ppsx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

High-level light control Creates or sets position of a light Spherical position of a light Graph annotation Graph title x-axis label y-axis label z-axis label Display color bar (color scale) Text annotation Mouse placement of text Graph editing and annotation tools Hard copy and printing Print graph or Simulink system; or save graph to M-file Printer defaults Set paper orientation Save graphics to VRML 2.0 file 15.15 Specialized graphs KHOSVSHFJUDSK Specialized 2-D graphs Filled area plot Bar graph Horizontal bar graph Comet-like trajectory Compass plot Error bar plot Easy-to-use function plotter Easy-to-use polar coordinate plotter Feather plot (continued on next page) © 2002 by CRC Press LLC Specialized 2-D graphs (continued) Filled 2-D polygons Plot function Histogram Pareto chart Pie chart Scatter plot matrix Angle histogram plot Scatter plot Discrete sequence or “stem” plot Stairstep plot Contour and 2½-D graphs Contour plot Filled contour plot 3-D contour plot Contour plot elevation labels Easy-to-use contour plotter Easy-to-use filled contour plotter Pseudocolor (checkerboard) plot Voronoi diagram Specialized 3-D graphs 3-D bar graph Horizontal 3-D bar graph 3-D comet-like trajectories General-purpose surface plotter Easy-to-use 3-D mesh plotter Easy-to-use combination mesh/contour plotter Easy-to-use 3-D parametric curve plotter Easy-to-use 3-D colored surface plotter Easy-to-use combination surf/contour plotter (continued on next page) © 2002 by CRC Press LLC Specialized 3-D graphs (continued) Combination mesh/contour plot 3-D mesh with curtain 3-D pie chart Draw 2-D lines as ribbons in 3-D 3-D scatter plot 3-D stem plot Combination surf/contour plot Triangular surface plot Triangular mesh plot Waterfall plot Volume and vector visualization Visualization suite Isosurface extractor Isosurface normals Isosurface end caps Isosurface and patch colors Contours in slice planes Volumetric slice plot Streamlines from 2-D or 3-D vector data 3-D streamlines 2-D streamlines 3-D quiver plot 2-D quiver plot Divergence of a vector field Curl and angular velocity of vector field 3-D cone plot 3-D stream tube 3-D stream ribbon Streamlines in slice planes Display stream particles Interpolate streamline vertices from speed (continued on next page) © 2002 by CRC Press LLC Volume and vector visualization (continued) Extract subset of volume dataset Reduce volume dataset Returns x,y,z and color limits for volume data Smooth 3-D data Reduce number of patch faces Reduce size of patch faces Image display and file I/O Display image Scale data and display as image Color look-up table Linear grayscale color map Grayscale color map to enhance image contrast Brighten or darken color map Display color bar (color scale) Read image from graphics file Write image to graphics file Information about graphics file Movies and animation Screen capture of current figure Initialize movie frame memory Get movie frame Play recorded movie frames Rotate object about specified orgin and direction Convert movie frame to indexed image Convert index image into movie format © 2002 by CRC Press LLC Color-related functions Spin color map Plot color map Parse color and style from string Convert indexed image to RGB image Solid modeling Generate cylinder Generate sphere Generate ellipsoid Create patch Convert surface data to patch data 15.16 Handle Graphics KHOSJUDSKLFV Figure window creation and control Create figure window Get handle to current figure Clear current figure Show graph window Close figure Refresh figure Open new or raise copy of saved figure Axis creation and control Create axes in tiled positions Create axes in arbitrary positions Get handle to current axes Clear current axes Control axis scaling and appearance Axis box Control pseudocolor axis scaling Hold current graph Return hold state © 2002 by CRC Press LLC Handle Graphics objects Create figure window Create axes Create line Create text Create patch Create rectangle, rounded rectangle, or ellipse Create surface Create image Create light Create user interface control Create user interface menu Create user interface context menu Handle Graphics operations Set object properties Get object properties Reset object properties Delete object Get handle to current object Get handle to current callback object Get handle to current callback figure Flush pending graphics events Find objects with specified property values Make copy of graphics object and its children Check if application-defined data exists Get value of application-defined data Set application-defined data Remove application-defined data © 2002 by CRC Press LLC Hard copy and printing Print graph or Simulink system; or save graph to M-file Printer defaults Set paper orientation Utilities Figure close request function M-file preamble for NextPlot property True for graphics handles ActiveX client functions (PC only) Create an ActiveX control Create an ActiveX server 15.17 Graphical user interface tools KHOSXLWRROV GUI functions Create user interface control Create user interface menu Graphical input from mouse Drag XOR rectangles with mouse Rubberband box Interactively select, move, resize, or copy objects Wait for key/buttonpress over figure Block execution and wait for event Block execution and wait for resume Resume execution of blocked M-file Control stacking order of objects Suspend the interactive state of a figure Restore the interactive state of a figure © 2002 by CRC Press LLC GUI design tools Design GUI Inspect object properties Align uicontrols and axes Edit property Dialog boxes Axes limits dialog box Create dialog figure Error dialog box Help dialog box Show image in figure with zoom Input dialog box List selection dialog box Generate menu of choices for user input Show movie in figure with replay button Message box Page position dialog box Page setup dialog Print dialog box Display preview of figure to be printed Question dialog box Question dialog box with preference support Show sound in figure and play Standard open file dialog box Standard save file dialog box Color selection dialog box Font selection dialog box Show open file dialog and call on result Show open file dialog and call on result (continued on next page) © 2002 by CRC Press LLC Dialog boxes (continued) Show open file dialog and call on result Start the GUI for importing data (Import Wizard) Display wait bar Warning dialog box Menu utilities Create menu structure Computer-dependent default setting for MenuBar property Toggle checked status of object Create submenu for Window menu item Toolbar button group utilities Create toolbar button group Resize button group Query state of toolbar button group Button press manager for toolbar button group Depress button in toolbar button group Raise button in toolbar button group Preferences Add preference Get preference Remove preference Set preference Test for existence of preference © 2002 by CRC Press LLC Miscellaneous utilities Get all object children Copy and paste strings to and from system clipboard Interactive editing of axes text objects Find all objects Find figures positioned off screen Get figure pointer Get status text string in figure Hide/unhide GUI Get list of available system fonts in cell array Move GUI to specified part of screen Return a structure of handles Store or retrieve application data Get handle of object the pointer is over Get popup menu selection string Transform figure objects’ positions Set figure pointer Set status text string in figure Clears the currently active interactive mode 15.18 Character strings KHOSVWUIXQ General Create character array (string) Convert string to numeric character codes Create cell array of strings from character array String of blanks Remove trailing blanks Execute string as a MATLAB expression © 2002 by CRC Press LLC [...]... to binary string Convert base B string to decimal integer Convert decimal integer to base B string 15. 19 File input/output KHOS LRIXQ File import/export functions qy€…rhqà Read delimited text file qy€…v‡rà Write delimited text file y‚hqà v€ƒ‚…‡qh‡hà x …rhqà x …v‡rà ‘y†…rhqà Load workspace from MATLAB (€h‡) file Load workspace variables disk file Read spreadsheet (WK1) file Write spreadsheet (WK1)... WAVE sound file © 2002 by CRC Press LLC Video file import/export h‰v…rhqà Read movie (AVI) file h‰vvs‚à Return information about AVI file h‰vsvyrà Create a new AVI file €‚‰vr!h‰và Create AVI movie from MATLAB movie Formatted file I/O str‡yà str‡†Ã sƒ…v‡sà s†phsà vƒˆ‡Ã ‡r‘‡…rhqà Read line from file, discard newline character Read line from file, keep newline char Write formatted data to file Read formatted... position indicator © 2002 by CRC Press LLC File name handling svyrƒh…‡†Ã Filename parts svyr†rƒÃ Directory separator for this platform sˆyysvyrà Build full filename from parts €h‡yhi…‚‚‡Ã Root directory of MATLAB installation €r‘r‘‡Ã ƒh…‡vhyƒh‡uà ƒh‡u†rƒÃ ƒ…rsqv…à ‡r€ƒqv…à ‡r€ƒh€rà MEX filename extension for this platform Partial pathnames Path separator for this platform Preference directory name Get temporary... library uqshÃ HDF multifile annotation interface uqsqs!#à HDF raster image interface uqsqs…'à HDF 8-bit raster image interface uqsuà HDF H interface uqsuqà HDF HD interface uqsurà HDF HE interface uqs€yà MATLAB- HDF gateway utilities uqs†qà HDF multifile scientific dataset interface uqs‰Ã HDF V (Vgroup) interface uqs‰sà HDF VF (Vdata) interface uqs‰uà HDF VH (Vdata) interface uqs‰†Ã HDF VS (Vdata) interface . integer to base B string 15. 19 File input/output KHOSLRIXQ File import/export functions Read delimited text file Write delimited text file Load workspace from MATLAB ( ) file Load workspace. of strings from character array String of blanks Remove trailing blanks Execute string as a MATLAB expression © 2002 by CRC Press LLC String tests True for character array (string) True. movie (AVI) file Return information about AVI file Create a new AVI file Create AVI movie from MATLAB movie Formatted file I/O Read line from file, discard newline character Read line

Ngày đăng: 12/08/2014, 21:20

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan