Oberon Function Visualizer script
Note: a new much more advanced Oberon Function Visualizer is now available for CorelDRAW 10 and 11.
Use Oberon Function Visualizer script to create graphs of functions. You can enter a function in symbolic interpretation and the script will evaluate it and build a graph. You can use the following components to build the function body:
When the graph is build a predefined variable T runs through values from From to To with the step of Step specified in T Range controls of the dialog.
Each current coordinate is calculated as follows:
Where f1 and f2 are defined by user. To draw a simple charts like y=sin(x) just define:
The script checks for correct syntax as you type the formulae and displays warnings in the status bar at the bottom of dialog.
You can use expressions in T Range controls either however all parameters here must be constants. When you type the range value, the status bar displays the current value entered. For example, entering "sin(pi/2)/2" in From field will result in value of 0.5 as displayed in the status bar immediately...
Screenshot of the Oberon Function Visualizer main dialog:
Live preview feature is based on my new User Interface Extension Run-Time Library for CorelSCRIPT which allows you paint in the dialog boxes. This new technology will be available to public as soon as I finish it.
Here are some examples of graphs built with this script:
Download Oberon Function Visualizer script for CorelDRAW 8:
CorelDRAW 9 script is available here.
CorelDRAW 10/11 macro is here.
|[ CorelDRAW Scripts | CorelDRAW Users' Page | DTP & Graphics | Oberon Home Page ]|
Copyright © 2000 by Alex Vakulenko. All rights reserved.