[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.6.4 Mesh sample

Mesh draw wired surface. You can use SetMeshNum for changing number of lines to be drawn. The sample code is:

int sample(mglGraph *gr)
{
  mglData a;  mgls_prepare2d(&a);
  gr->Title("Mesh plot"); gr->Rotate(50,60);
  gr->Box();  gr->Mesh(a);
  return 0;
}
Example of Mesh()

This document was generated by Autobuild on July 16, 2012 using texi2html 1.82.