| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
2.6.2 SurfC sample
SurfC is similar to Surf but its coloring is determined by another data. The sample code is:
int sample(mglGraph *gr)
{
mglData a,b; mgls_prepare2d(&a,&b);
gr->Title("SurfC plot"); gr->Rotate(50,60);
gr->Light(true); gr->Box(); gr->SurfC(a,b);
return 0;
}
This document was generated on April 13, 2012 using texi2html 5.0.
