Download presentation
Presentation is loading. Please wait.
1
Lesson 6 A. Using graphs to display data B. About clusters C. Some cluster functions You Will Learn: graphs and clusters
2
Selected from the Graph subpalette Waveform Graph – Plot an array of numbers against their indices XY Graph – Plot one array against another Graphs
3
Single-Plot Waveform Graphs
4
Multiple-Plot Waveform Graphs
5
Clusters Data structure that groups data together Data may be of different types Elements must be either all controls or all indicators Thought of as wires bundled into a cable
6
1. Select a Cluster shell from the Array & Cluster subpalette Cluster Controls and Indicators 2.Place objects inside the shell
7
Cluster Constants Select a Cluster Constant shell from the Cluster subpalette Right-click on existing cluster and select Create»Constant
8
Cluster Order Elements have a logical order (start with 0) To change order, right-click on border and select Reorder Controls in Cluster...
9
Use clusters to pass several values to one terminal Overcomes 28-terminal limit Simplifies wiring
10
Cluster Functions In the Cluster subpalette of the Functions palette Can also be accessed by right-clicking on the cluster terminal Bundle (Terminal labels reflect data type)
11
Cluster Functions Unbundle
12
Polymorphism with Clusters Polymorphic functions work with clusters Arithmetic functions can perform computations on clusters of numeric data
13
Creating array or cluster controls/indicators is a two-step process 1. Get array or cluster shell 2. Place desired control/indicator inside the shell Plot data on graphs – Many features to manipulate plotted graph – Multiple plots can be plotted on one graph Clusters group data that can be different types The Bundle and Unbundle functions are used to create and disassemble clusters Summary
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.