Re: Plot in a Module
- To: mathgroup at smc.vnet.net
- Subject: [mg123905] Re: Plot in a Module
- From: "Dave Snead" <dsnead6 at charter.net>
- Date: Thu, 29 Dec 2011 02:54:32 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201112281016.FAA08942@smc.vnet.net>
Sam --
Module[{}, Plot[Sin[x], {x, 0, 2 Pi}]]
without the semicolon
plots fine!
--Dave Snead
-----Original Message-----
From: Sam Takoy
Sent: Wednesday, December 28, 2011 2:16 AM
To: mathgroup at smc.vnet.net
Subject: [mg123905] Plot in a Module
Hi,
How does one use the Plot command inside a Module? I find that if one
places a semi-colon after the command, then the output is suppressed.
But it also seems illegal to skip the semi-colon? So how does one do
it?
Many thanks in advance,
Sam
- References:
- Plot in a Module
- From: Sam Takoy <sam.takoy@yahoo.com>
- Plot in a Module