From de386c68e2f54066801fe799d4849b0a1b57d512 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Mon, 19 May 2008 07:12:14 +0000 Subject: [PATCH] add some comment about the mashasbitmap feature git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@2995 069f4177-920e-0410-937b-c2a4a81bcd90 --- examples/3dgraphs/surface.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/3dgraphs/surface.txt b/examples/3dgraphs/surface.txt index 368b49d9..12346803 100644 --- a/examples/3dgraphs/surface.txt +++ b/examples/3dgraphs/surface.txt @@ -10,6 +10,17 @@ plotted prior to the axes by the dodata call. ! A missing point will create a hole in the surface. +! The surface is plotted using a mesh. In case of a huge number of data points, +you may want to replace the mash by a bitmap rasterized on a different (i.e. +lower) resolution. This can reduce the file size and may also resolve various +printing problems (unfortunately those are quite common with mesh data). To +enable the mash by bitmap replacement feature use the option `mashasbitmap` +(together with its `mashasbitmap_resolution` option):: + + d = document.document([document.page(g)]) + d.writeEPSfile("color", mashasbitmap=1) + d.writePDFfile("color", mashasbitmap=1) + !! The underlying rectangular grid is created by the gridpos style. By changing its parameters you can also create the base rectangular grid from others than the first two coordinates. -- 2.11.4.GIT