manpagez: man pages & more
info mathgl_en
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ] [Top] [Contents] [Index] [ ? ]

2.7.5 Dens3 sample

Function dens3 draw just usual density plot but at slices of 3D data. The sample code is:

int sample(mglGraph *gr)
{
 mglData c; mgls_prepare3d(&c);
 gr->Title("Dens3 sample"); gr->Rotate(50,60);
 gr->Alpha(true); gr->SetAlphaDef(0.7);
 gr->SetOrigin(0,0,0); gr->Axis("_xyz"); gr->Box();
 gr->Dens3(c,"x"); gr->Dens3(c); gr->Dens3(c,"z");
 return 0;
}
Example of Dens3()

This document was generated on March 21, 2014 using texi2html 5.0.

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.

AltStyle によって変換されたページ (->オリジナル) /