11.07.2015 Views

Advanced Programming Guide

Advanced Programming Guide

Advanced Programming Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.4 <strong>Programming</strong> with Plot Data Structures • 235> LL := [ [ [0,0,0], [1,0,0], [2,0,0], [3,0,0] ],> [ [0,1,0], [1,1,0], [2.1, 0.9, 0],> [3.2, 0.7, 0] ],> [ [0,1,1], [1,1,1], [2.2, 0.6, 1],> [3.5, 0.5, 1.1] ] ];LL := [[[0, 0, 0], [1, 0, 0], [2, 0, 0], [3, 0, 0]],[[0, 1, 0], [1, 1, 0], [2.1, 0.9, 0], [3.2, 0.7, 0]],[[0, 1, 1], [1, 1, 1], [2.2, 0.6, 1], [3.5, 0.5, 1.1]]]The MESH structure represents the quadrilaterals spanned byLL i,j , LL i,j+1 , LL i+1,j , LL i+1,j+1for all meaningful values of i and j.> PLOT3D( MESH( LL ), AXESLABELS(x,y,z), AXES(BOXED),> ORIENTATION(-140, 45) );0.8 10.6 z0.40.2010.80.6y 0.40.2003.52.531.52 x0.51All the options available for PLOT are also available for PLOT3D. In addition,you can also use the GRIDSTYLE, LIGHTMODEL, and AMBIENTLIGHToptions.For details on the various options to the PLOT3D structure, see the?plot3d,structure help page.6.4 <strong>Programming</strong> with Plot Data StructuresThis section describes tools for programming at the PLOT and PLOT3Ddata structure level. Plotting data structures allows direct access to theMaple plotting facility. The examples in section 6.3 show the extent ofthe facilities’ power. In this section, you learn how to thicken the lines in

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!