Next: Dens sample, Previous: Tile sample, Up: 2D samples [Contents][Index]
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; }