Posts Tagged ‘plot’
Stream Line Plots of Vector Data
Wind Mapping Data
The MATLAB vector data set called wind represents air currents over North America. This example uses a combination of techniques: Read More
Displaying Curl with Stream Ribbons
What Stream Ribbons Can Show
Stream ribbons illustrate direction of flow, similar to stream lines, but can also show rotation about the flow axis by twisting the ribbon-shaped flow line. The streamribbon function enables you to specify a twist angle (in radians) for each vertex in the stream ribbons. Read More
A GUI to Set Simulink Model Parameters Example 2
Running the Simulation from the GUI
The GUI Simulate and store results button callback runs the model simulation and stores the results in the handles structure. Storing data in the handles structure simplifies the process of passing data to other subfunction since this structure can be passed as an argument. Read More
Tags: Enable, example, find_system, gui, guidata, HandleVisibility, IntegerHandle, legend, list box, matlab, model_open, open_system, Parent, plot, Running Simulation, set_param, sim, Simulate, simulation, simulink, str2double, web
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 in a figure window. The following figure shows the GUI after running three simulations with different values for controller gains.

The example illustrates a number of GUI building techniques: Read More
Tags: Click here to add the example files to the MATLAB path, Click here to copy the files to your current folder, Click here to display the GUI code file in the MATLAB Editor (read only), Click here to display the GUI in the GUIDE Layout Editor (read only), click here to open the code file in the Editor, click here to open the FIG-file in GUIDE, Click here to run the f14ex GUI, Enable, find_system, gui, GUI building, guidata, HandleVisibility, IntegerHandle, legend, list box, matlab, model, model_open, open_system, parameters, Parent, plot, set, set_param, sim, simulink, str2double, web, which
Matlab Using FFT
This demonstration uses the FFT function to analyze the variations in sunspot activity over the last 300 years. 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