From a0c1b8fe4cd64775e8b5fe9afe0ce65ddcf7af2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Wed, 17 Oct 2012 08:56:11 +0000 Subject: [PATCH] doplot is not needed anymore (due to the layers feature) git-svn-id: http://svn.code.sf.net/p/pyx/code/trunk/pyx@3311 a4f5e268-e194-4f32-bce1-d30804cbbcc5 --- examples/3dgraphs/bar.py | 1 - examples/3dgraphs/surface.py | 1 - examples/3dgraphs/surface.txt | 9 ++------- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/examples/3dgraphs/bar.py b/examples/3dgraphs/bar.py index ae130da1..3382c51c 100755 --- a/examples/3dgraphs/bar.py +++ b/examples/3dgraphs/bar.py @@ -4,6 +4,5 @@ from pyx import * g = graph.graphxyz(0, 0, size=5, x=graph.axis.bar(), y=graph.axis.bar(), z=None, z2=graph.axis.lin()) g.plot(graph.data.data(graph.data.points([[1, 1, 1.4], [1, 2, 1.8], [2, 1, -0.5], [2, 2, 0.9]]), xname=1, yname=2, z2=3), [graph.style.barpos(fromvalue=0, frompathattrs=None), graph.style.bar(barattrs=[style.linejoin.bevel])]) -g.doplot() g.writeEPSfile("bar") g.writePDFfile("bar") diff --git a/examples/3dgraphs/surface.py b/examples/3dgraphs/surface.py index 4b105b2b..23e94b5c 100755 --- a/examples/3dgraphs/surface.py +++ b/examples/3dgraphs/surface.py @@ -3,6 +3,5 @@ from pyx import * g = graph.graphxyz(size=4, x2=None, y2=None) g.plot(graph.data.file("surface.dat", x=1, y=2, z=3), [graph.style.surface()]) -g.doplot() g.writeEPSfile("surface") g.writePDFfile("surface") diff --git a/examples/3dgraphs/surface.txt b/examples/3dgraphs/surface.txt index b9bdb06b..7abcdca2 100644 --- a/examples/3dgraphs/surface.txt +++ b/examples/3dgraphs/surface.txt @@ -2,13 +2,8 @@ Simple 3d surface This first simple example provides data for the x, y and z coordinates. PyX creates a rectangular grid from the data from the first two coordinates without -relying on a special ordering of the data. ... - -! In this example we turn off the other two axes x2 and y2, which would be -plotted on the opposite side of the bottom horizontal plane. The data are -plotted prior to the axes by the dodata call. - -! A missing point will create a hole in the surface. +relying on a special ordering of the data. ... 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 mesh by a bitmap rasterized on a different (i.e. -- 2.11.4.GIT