Docsity

Assignment 10 for System Modeling and Simulation | ECE 5800, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 5800
Severance
Assignment Ten
Due: November 17
The purpose of this assignment is to create two Active-X components by which you can
easily and conveniently create graphical results. This can be implemented in either the “old” way
using procedural techniques or the “new” way using objects, or both. The object oriented
approach is preferred, but you make the choice! The first component handles two-dimensional
plots: Plot2, while the second component handles three-dimensional plots: Plot3.
Each Active-X component should have a minimum of these basic features:
1. The graphs should accept the data (either X and Y for Plot2, or X, Y and Z for
Plot3) as arrays.
2. The component should automatically scale the graphs so that all data fits inside
the picture box. Axes should also be automatic.
3. Each axis should be labeled appropriately.
4. For Plot3, the perspective angle should be user defined.
You might find it good to add other features such as tool-tip coordinates and vernors. I am
looking for creativity here, so let’s just leave it there for now!
In presenting your results, you should clearly indicate the...
i. Properties
ii. Methods
iii. Events
Also, explain which are run-time features and which are purely design-time features. In
other words, I need to understand just how to use your system! I only need the final OCX file
and a program listing.
In testing your program, please use the 3-dimensional random walk program discussed in
lecture. This should be done by ploting the 3-dimensional walk along with the projections onto
each coordinate plane. Your program and sourse files for the main program should be submitted
as per usual.

Partial preview of the text

Download Assignment 10 for System Modeling and Simulation | ECE 5800 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 5800

Severance

Assignment Ten

Due: November 17

The purpose of this assignment is to create two Active-X components by which you can easily and conveniently create graphical results. This can be implemented in either the “old” way using procedural techniques or the “new” way using objects, or both. The object oriented approach is preferred, but you make the choice! The first component handles two-dimensional plots: Plot2 , while the second component handles three-dimensional plots: Plot.

Each Active-X component should have a minimum of these basic features:

  1. The graphs should accept the data (either X and Y for Plot2, or X, Y and Z for Plot3) as arrays.
  2. The component should automatically scale the graphs so that all data fits inside the picture box. Axes should also be automatic.
  3. Each axis should be labeled appropriately.
  4. For Plot3, the perspective angle should be user defined.

You might find it good to add other features such as tool-tip coordinates and vernors. I am looking for creativity here, so let’s just leave it there for now!

In presenting your results, you should clearly indicate the...

i. Properties ii. Methods iii. Events

Also, explain which are run-time features and which are purely design-time features. In other words, I need to understand just how to use your system! I only need the final OCX file and a program listing.

In testing your program, please use the 3-dimensional random walk program discussed in lecture. This should be done by ploting the 3-dimensional walk along with the projections onto each coordinate plane. Your program and sourse files for the main program should be submitted as per usual.