Re: 3DPlot in Mathematica 6
- To: mathgroup at smc.vnet.net
- Subject: [mg80344] Re: [mg80312] 3DPlot in Mathematica 6
- From: Curtis Osterhoudt <cfo at lanl.gov>
- Date: Sat, 18 Aug 2007 05:34:49 -0400 (EDT)
- Organization: LANL
- References: <200708170550.BAA00254@smc.vnet.net>
- Reply-to: cfo at lanl.gov
On Thursday 16 August 2007 23:50:41 Dr. Van Nostrandt wrote:
> Hi,
> I use Mathematica 6 on a PC (Intel Celeron CPU 2.6 GHz, 256 RAM) under
> Ubuntu 7.04. When I run the command Plot3D[f,options] it doesn't display me
> the function graph if f has a complicated form. If f it's enough simple,
> the function is displayed. For example the command
> Plot3D[Sin[x+Sin[y]],{x,-10,10},{y,-10,10}] shows me the graph, but already
> for Plot3D[2 [Sin[x+Sin[y]]],{x,-10,10},{y,-10,10}] I can't see it, just
> the 3D box, where should be the graph. Does anyone know the reason?
> Thank You in advance!
Check your syntax. :) "2" is not a function, yet the way the function is
typed---with the square brackets to imply multiplication---makes Mathematica
think that "2" should take the argument of Sin[x+Sin[y]]. Try
Plot3D[2*Sin[x + Sin[y]], {x, -10, 10}, {y, -10, 10}]
instead, or
Plot3D[2(Sin[x + Sin[y]]), {x, -10, 10}, {y, -10, 10}]
or
Plot3D[2 Sin[x + Sin[y]], {x, -10, 10}, {y, -10, 10}] .
Hope that helps!
--
==========================================================
Curtis Osterhoudt
cfo at remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================
- References:
- 3DPlot in Mathematica 6
- From: "Dr. Van Nostrandt" <dr.vannostrandt@yahoo.com>
- 3DPlot in Mathematica 6