Online Tutorial - Simple data visualization


Objectives Learning the basic principles of modeling in Stratum 2000
button1.gif (167 bytes)
The Open Existing File button
Start Stratum 2000 and open the project, created on the previous example. The access to the last used project is in the bottom of the File menu.
Access to the class libraries

button13.gif (183 bytes)
The Create link
button

Let us learn  how to use standard libraries. For that add the Oscilloscope object to the scheme. You can do it in the following way: choose Object item in the Insert menu . The dialog box "New object" is open. Select the UNIT.LIB library in the list of libraries, then choose the OSCSpace2d object. Then press OK. There will be 2 objects on the scheme.

scheme1.gif (6992 bytes)

In order to link them you should press the Create link button on the Drawing panel. Mouse pointer will look like the lighting. Put the crosshair on the first object and click. Then move the mouse pointer holding the botton down to the second object and release the button. The red line will link these objects (it means that the link is settled). At the same time the box for describing this link will appear. You need to link the variables of one object with those of the other. Press Add button so many times, as many variables you need to link. Within our example you should do it twice. One of the object "Linear_func" variables will appear under its name. One of OSCSpace2d object variables will appear on the other side under the object name. In our example you should link the variables "X" and "Y" of the left object with the same of the right object. For that click the variable on the left ( you will have all variables of the object in the list) and then choose the variable you need (Y). Repeat the same for the right list.

Then press the Start button. After the scheme stops, try to change value of X-scale and Y-scale in oscilloscope to give them other values. These are the variables ScaleX and ScaleY.

osc1.gif (10392 bytes)

Change the function Y:=F(X) to these:

  • 1. Y:=X*X+2
  • 2. Y:=30*sin(X/3)
  • 3. As an equation
    Y=2*X+2
    ? Y
Additional exercise.
Draw the graph of function Y:=sin(X) for X from 0 to 4PI.

Back : Index : Forward

Trademarks & Copyright © 1998 Stratum Modeling Group.  Last modified on 6-January-1999.