Previous: Pipe sample, Up: Vector field samples [Contents][Index]
Function dew is similar to Vect but use drops instead of arrows. The sample code is:
int sample(mglGraph *gr)
{
mglData a,b; mgls_prepare2v(&a,&b);
gr->SubPlot(1,1,0,""); gr->Title("Dew plot");
gr->Box(); gr->Light(true); gr->Dew(a,b);
return 0;
}