Re: Plot[], Showand ; in Version 6
- To: mathgroup at smc.vnet.net
 - Subject: [mg76550] Re: Plot[], Showand ; in Version 6
 - From: Bill Rowe <readnewsciv at sbcglobal.net>
 - Date: Wed, 23 May 2007 05:47:31 -0400 (EDT)
 
On 5/22/07 at 2:48 AM, yasdfer at yahoo.com wrote:
>Since version 6.0 suppresses Plot/Show outputs with ; (semicolon),
>how do you plot and then do additional numerical (or graphical)
>outputs? I have a lot of existing notebooks that follow such pattern
>and I am hoping that there are some quick fixes.
>For example, the following would work in older version and not in 6:
>Block[{x=1,y=2},
>Plot[x,{x,0,1}];
>Print[Sqrt[y]];
>Plot[x^2,{x,0,1}]
>]
The following produces something reasonably close in 6
Block[{x = 1, y = 2}, Print[Sqrt[y]]; GraphicsGrid@Transpose@{{
     Plot[x^2, {x, 0, 1}], Plot[x, {x, 0, 1}]}}]
--
To reply via email subtract one hundred and four