3 This first simple example provides data for the x, y and z coordinates. PyX
4 creates a rectangular grid from the data from the first two coordinates without
5 relying on a special ordering of the data. ... A missing point will create a
8 ! The surface is plotted using a mesh. In case of a huge number of data points,
9 you may want to replace the mesh by a bitmap rasterized on a different (i.e.
10 lower) resolution. This can reduce the file size and may also resolve various
11 printing problems (unfortunately those are quite common with mesh data). To
12 enable the mesh by bitmap replacement feature use the option `mesh_as_bitmap`
13 (together with its `mesh_as_bitmap_resolution` option)::
15 g.writeEPSfile(write_mesh_as_bitmap=True)
16 g.writePDFfile(write_mesh_as_bitmap=True)
18 !! The underlying rectangular grid is created by the gridpos style. By changing
19 its parameters you can also create the base rectangular grid from others than
20 the first two coordinates.