MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: comparing two lists
  • Next by Date: Re: comparing two lists
  • Previous by thread: Re: Re: Missing Graphics
  • Next by thread: Re: Missing Graphics