Example:
int some_funct() { float *x, *y; int np, i; gra_command(" create test 0 10 100 0"); gra_return_data_address( "test", &x, &y); gra_decode_int( "curr(test)", &np); for( i=0; i < np; i++) { x[i] = ... ; y[i] = ... ; } gra_command(" cls; display/graphic"); ... }