Next: , Previous: , Up: 2D samples   [Contents][Index]

3.6.10 TileS sample

Function tiles is similar to Tile but tile sizes is determined by another data. This allows one to simulate transparency of the plot. The sample code is:

int sample(mglGraph *gr)
  mglData a,b;  mgls_prepare2d(&a,&b);
  gr->SubPlot(1,1,0,""); gr->Title("TileS plot");
  gr->Box();  gr->TileS(a,b);
  return 0;

Example of TileS()