Exemplo n.º 1
0
/*--------------------------------------------------------------------------*/
static int example3(void)
{
    SendScilabJob("plot3d();quit;");
    printf("\nClose Graphical Windows to close this example.\n");
    while ( ScilabHaveAGraph() )
    {
        ScilabDoOneEvent();
    }
    return 1;
}
Exemplo n.º 2
0
/*------------------------------------------------------------*/
static int second_example(void)
{
    printf("\nExample 2:\n");
    printf("Call graphics\n");

    SendScilabJob("plot3d();");

    printf("\nClose Graphical Windows to close this example.\n");
    while ( ScilabHaveAGraph() )
    {
        ScilabDoOneEvent();
        sleep(1);
    }
    return 1;
}