Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7453 > unrolled thread

Plot in a Module

Started bySam Takoy <sam.takoy@yahoo.com>
First post2011-12-28 10:17 +0000
Last post2011-12-29 07:51 +0000
Articles 4 — 3 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Plot in a Module Sam Takoy <sam.takoy@yahoo.com> - 2011-12-28 10:17 +0000
    Re: Plot in a Module "Nasser M. Abbasi" <nma@12000.org> - 2011-12-29 07:54 +0000
    Re: Plot in a Module "Nasser M. Abbasi" <nma@12000.org> - 2011-12-29 07:50 +0000
    Re: Plot in a Module Joseph Gwinn <joegwinn@comcast.net> - 2011-12-29 07:51 +0000

#7453 — Plot in a Module

FromSam Takoy <sam.takoy@yahoo.com>
Date2011-12-28 10:17 +0000
SubjectPlot in a Module
Message-ID<jdeqb2$8ob$1@smc.vnet.net>
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

[toc] | [next] | [standalone]


#7456

From"Nasser M. Abbasi" <nma@12000.org>
Date2011-12-29 07:54 +0000
Message-ID<jdh6cd$kl3$1@smc.vnet.net>
In reply to#7453
On 12/28/2011 4:17 AM, Sam Takoy wrote:
> 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
>

May be

Print[Plot[...]];

--Nasser

[toc] | [prev] | [next] | [standalone]


#7462

From"Nasser M. Abbasi" <nma@12000.org>
Date2011-12-29 07:50 +0000
Message-ID<jdh64m$ki3$1@smc.vnet.net>
In reply to#7453
On 12/28/2011 4:17 AM, Sam Takoy wrote:
> 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
>

use

Print[Plot[...]];

--Nasser

[toc] | [prev] | [next] | [standalone]


#7467

FromJoseph Gwinn <joegwinn@comcast.net>
Date2011-12-29 07:51 +0000
Message-ID<jdh65l$kic$1@smc.vnet.net>
In reply to#7453
In article <jdeqb2$8ob$1@smc.vnet.net>, Sam Takoy <sam.takoy@yahoo.com> 
wrote:

> 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

Make the plot command, or a Show[], the last expression in the Module.

Joe Gwinn

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web