| 1 | initial version |
First, i can not reproduce your last problem about the empty frame. By default, plot3d() uses jmol, which is a java applet launched from your web browser. So your web browser should be able to run java. If you use firefox/iceweasel under linux, just install the default-jre and icedtea6-plugin packages.
Another possibility is to use another 3D viewer, like tachyon:
sage: g = plot3d(condor(x, y), (x, -8, 8), (y, 0, 8), viewer='tachyon')
sage: show(g)
Concerning your question about plotting a non-rectangular range, plot3d() lacks a region parameter (which implicit_plot3d() has). So you have to do it yourself. Here is a possibility: define a function that returns condor(x,y) inside your region and returns NaN (not a number) outside the region, as follows:
sage: f = lambda x, y: condor(x,y) if abs(x) <= y else NaN sage: plot3d(f, (-8, 8), (0, 8))
| 2 | No.2 Revision |
First, i can not reproduce your last problem about the empty frame. By default, plot3d() uses jmol, which is a java applet launched from your web browser. So your web browser should be able to run java. If you use firefox/iceweasel under linux, just install the default-jre and icedtea6-plugin packages.
Another possibility is to use another 3D viewer, like tachyon:
sage: g = plot3d(condor(x, y), (x, -8, 8), (y, 0, 8), viewer='tachyon')
sage: show(g)
Concerning your question about plotting a non-rectangular range, plot3d() lacks a region parameter (which implicit_plot3d() has). So you have to do it yourself. Here is a possibility: define a function that returns condor(x,y) inside your region and returns NaN (not a number) outside the region, as follows:
sage: f = lambda x, y: condor(x,y) if abs(x) <= y else NaN
| 3 | No.3 Revision |
First, i can not reproduce your last problem about the empty frame. By default, plot3d() uses jmol, which is a java applet launched from your web browser. So your web browser should be able to run java. If you use firefox/iceweasel under linux, just install the default-jre and icedtea6-plugin packages.
Another possibility is to use another 3D viewer, like tachyon:
sage: g = plot3d(condor(x, y), (x, -8, 8), (y, 0, 8), viewer='tachyon')
sage: show(g)
Concerning your question about plotting a non-rectangular range, plot3d() lacks a region parameter (which implicit_plot3d() has). So you have to do it yourself. Here is a possibility: define a function that returns condor(x,y) inside your region and returns NaN (not a number) outside the region, as follows:
sage: f = lambda x, y: condor(x,y) if abs(x) <= y else NaN
sage: plot3d(f, (-8, 8), (0, 8))
sage: plot3d(f, (-8, 8), (0, 8), viewer='tachyon')
| 4 | No.4 Revision |
First, i can not reproduce your last problem about the empty frame. frame from the Sage command line. By default, plot3d() uses jmol, which is a java applet launched from your web browser. So your web browser should be able to run java. If you use firefox/iceweasel under linux, just install the default-jre and icedtea6-plugin packages.
Another possibility is to use another 3D viewer, like tachyon:
sage: g = plot3d(condor(x, y), (x, -8, 8), (y, 0, 8), viewer='tachyon')
sage: show(g)
Concerning your question about plotting a non-rectangular range, plot3d() lacks a region parameter (which implicit_plot3d() has). So you have to do it yourself. Here is a possibility: define a function that returns condor(x,y) inside your region and returns NaN (not a number) outside the region, as follows:
sage: f = lambda x, y: condor(x,y) if abs(x) <= y else NaN
sage: plot3d(f, (-8, 8), (0, 8))
sage: plot3d(f, (-8, 8), (0, 8), viewer='tachyon')
| 5 | No.5 Revision |
First, i can not reproduce your last problem about the empty frame from the Sage command line. By default, plot3d() uses jmol, which is a java applet launched from your web browser. So your web browser should be able to run java. If you use firefox/iceweasel under linux, ubuntu/debian, just install the default-jre and icedtea6-plugin packages.
Another possibility is to use another 3D viewer, like tachyon:
sage: g = plot3d(condor(x, y), (x, -8, 8), (y, 0, 8), viewer='tachyon')
sage: show(g)
Concerning your question about plotting a non-rectangular range, plot3d() lacks a region parameter (which implicit_plot3d() has). So you have to do it yourself. Here is a possibility: define a function that returns condor(x,y) inside your region and returns NaN (not a number) outside the region, as follows:
sage: f = lambda x, y: condor(x,y) if abs(x) <= y else NaN
sage: plot3d(f, (-8, 8), (0, 8))
sage: plot3d(f, (-8, 8), (0, 8), viewer='tachyon')
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.