Tagged: graphs

A GUI to Set Simulink Model Parameters

About the Simulink Model Parameters Example This example illustrates how to create a GUI that sets the parameters of a Simulink® model. In addition, the GUI can run the simulation and plot the results...

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...

matlab

Matlab Plot Objects

Matlab Plot 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. Plot...

Matlab Core Graphics Objects

Core graphics objects include basic drawing primitives: Line, text, and polygon shells (patch objects) Specialized objects like surfaces, which are composed of a rectangular grid of vertices Images Light objects, which are not visible...

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. MATLAB places no limits on the...

Generating MATLAB Code to Reproduce a Graph

Generating Matlab Code Create a Stem Plot and Generate Code for It Suppose you have created the following graph. t = 0:.2:20; alpha =.055; stem(t,exp(-alpha*t).*sin(5*t)) Use the Property Editor to modify the graph. Select...

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....