Previous: , Up: Vector field samples   [Contents][Index]


3.8.6 Dew sample

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;
}
Example of Dew()