From a1feaef8e33edad2fb2a0d222f405c37a30e5718 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Sat, 6 Oct 2012 14:39:34 +0000 Subject: [PATCH] fix description git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@3263 069f4177-920e-0410-937b-c2a4a81bcd90 --- examples/3dgraphs/surface.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/3dgraphs/surface.txt b/examples/3dgraphs/surface.txt index 340538f8..b9bdb06b 100644 --- a/examples/3dgraphs/surface.txt +++ b/examples/3dgraphs/surface.txt @@ -14,12 +14,11 @@ plotted prior to the axes by the dodata call. you may want to replace the mesh 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 mesh by bitmap replacement feature use the option `meshasbitmap` -(together with its `meshasbitmap_resolution` option):: +enable the mesh by bitmap replacement feature use the option `mesh_as_bitmap` +(together with its `mesh_as_bitmap_resolution` option):: - d = document.document([document.page(g)]) - d.writeEPSfile("color", mesh_as_bitmap=1) - d.writePDFfile("color", mesh_as_bitmap=1) + g.writeEPSfile(write_mesh_as_bitmap=True) + g.writePDFfile(write_mesh_as_bitmap=True) !! 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 -- 2.11.4.GIT