Re: Re: Re: Missing Graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg54327] Re: [mg54311] Re: [mg54274] Re: [mg54248] Missing Graphics
- From: DrBob <drbob at bigfoot.com>
- Date: Thu, 17 Feb 2005 10:30:45 -0500 (EST)
- References: <200502150438.XAA29742@smc.vnet.net> <200502161937.OAA19279@smc.vnet.net>
- Reply-to: drbob at bigfoot.com
- Sender: owner-wri-mathgroup at wolfram.com
Because the outputs aren't needed, I imagine. A semicolon after Map[...] prevents an output like this:
{SurfaceGraphics[], Graphics[],
ContourGraphics[],
DensityGraphics[]}
but so does Scan, and without generating a list that's never used.
Bobby
On Wed, 16 Feb 2005 14:37:05 -0500 (EST), Murray Eisenberg <murray at math.umass.edu> wrote:
> Why Scan here instead of Map?
>
> David Park wrote:
>> Bruce,
>>
>> The following works.
>>
>> g = Plot3D[Sin@x Cos@y, {x, -Pi, Pi}, {y, -Pi, Pi},
>> DisplayFunction -> Identity];
>>
>> Scan[Show[#@g ,
>> DisplayFunction -> $DisplayFunction] &, {SurfaceGraphics, Graphics,
>> ContourGraphics,
>> DensityGraphics}];
>>
>> But if we leave the DisplayFunction -> $DisplayFunction out of the Show
>> statement, why does the Graphics case display? I would expect none of them
>> to display. Is this another case where WRI has forgotten to copy over one of
>> the options in the graphics conversion routines?
>
> --
> Murray Eisenberg murray at math.umass.edu
> Mathematics & Statistics Dept.
> Lederle Graduate Research Tower phone 413 549-1020 (H)
> University of Massachusetts 413 545-2859 (W)
> 710 North Pleasant Street fax 413 545-1801
> Amherst, MA 01003-9305
>
>
>
>
>
--
DrBob at bigfoot.com
www.eclecticdreams.net
- References:
- Re: Missing Graphics
- From: "David Park" <djmp@earthlink.net>
- Re: Re: Missing Graphics
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Missing Graphics