Function flow3 draw flow threads, which start from given plane.
MGL code:
call 'prepare3v' subplot 2 2 0:title 'Flow3 plot (default)':rotate 50 60:box flow3 ex ey ez subplot 2 2 1:title '"v" style, from boundary':rotate 50 60:box flow3 ex ey ez 'v' 0 subplot 2 2 2:title '"t" style':rotate 50 60:box flow3 ex ey ez 't' 0 subplot 2 2 3:title 'from \i z planes':rotate 50 60:box flow3 ex ey ez 'z' 0 flow3 ex ey ez 'z' 9
C++ code:
void smgl_flow3(mglGraph *gr) { mglData ex,ey,ez; mgls_prepare3v(&ex,&ey,&ez); if(big!=3) {gr->SubPlot(2,2,0); gr->Title("Flow3 plot (default)");} gr->Rotate(50,60); gr->Box(); gr->Flow3(ex,ey,ez); if(big==3) return; gr->SubPlot(2,2,1); gr->Title("'v' style, from boundary"); gr->Rotate(50,60); gr->Box(); gr->Flow3(ex,ey,ez,"v",0); gr->SubPlot(2,2,2); gr->Title("'t' style"); gr->Rotate(50,60); gr->Box(); gr->Flow3(ex,ey,ez,"t",0); gr->SubPlot(2,2,3); gr->Title("from \\i z planes"); gr->Rotate(50,60); gr->Box(); gr->Flow3(ex,ey,ez,"z",0); gr->Flow3(ex,ey,ez,"z",9); }