|
SoftIntegration Graphical Library Demos.
An application program written using
SoftIntegration Graphical Library (SIGL) can be compiled in
C++. The same program,
without any modification,
can also run in Ch Professional Edition without compilation.
For example, this program can be compiled in C++
with SIGL or readily executed in Ch.
#include
#include
#define NUM 36
int main() {
double x[NUM], y[NUM];
class CPlot plot;
int i;
for(i=0; i
to display a plot with a sine wave shown below.
Winplot is an example of how a plot can be displayed inside a window
for an application.
The interactive plotting
can be accomplished in SIGL and Embedded Ch.
The mathematical expressions entered by the user
through a graphical user
interface in Windows is processed by Embedded Ch and plotting
is accomplished by SIGL.
Winplotanim is an example of how to plot
real-time data continuously.
There are over 100 demo programs in the distribution of
SIGL.
Click a plot below to view the corresponding program
that generates the plot readily for display
through the Web.
|