MathGroup Archive 2004

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

Search the Archive

Re: Null entry in a Graphics list?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51823] Re: [mg51795] Null entry in a Graphics list?
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 3 Nov 2004 01:23:50 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

g1 = Graphics[Line[{{0,0},{0,.5}}]];

g2 = Graphics[Line[{{0,0},{1,0}}]];

g3=If[False,Graphics[Line[{{0,0},{1,.5}}]],Graphics[{}]];

Show[g1,g2,g3];


Bob Hanlon

> 
> From: AES/newspost <siegman at stanford.edu>
To: mathgroup at smc.vnet.net
> Date: 2004/11/02 Tue AM 02:05:27 EST
> To: mathgroup at smc.vnet.net
> Subject: [mg51823] [mg51795] Null entry in a Graphics list?
> 
> Is there a "Null" or a "None" for Graphics?
> 
> If I want to accomplish something like
> 
>     g1 = Graphics[---];
>     g2 = Graphics[---]
>     g3 = If[test, Graphics[---], NoGraphics ];
>     
>     Show[g1, g2, g3 ];
> 
> is there something I can put in for "NoGraphics" (other than an 
> offscreen Point or a zero-size Point or . . . ) that will be acceptable 
> in subsequent graphics commands
> 
> 


  • Prev by Date: Re: Null entry in a Graphics list?
  • Next by Date: Re: Null entry in a Graphics list?
  • Previous by thread: Re: Null entry in a Graphics list?
  • Next by thread: Re: Re: Null entry in a Graphics list?