MathGroup Archive 2004

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

Search the Archive

Re: Null entry in a Graphics list?


AES/newspost wrote:
> 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
> 
Hi,

Simply using Graphics[{}] seems to work fine.

I was not sure if Mathematica would 'like' a graphical object like that 
which contains absolutely nothing on which to determine a scale - but it 
seems to understand!

David Bailey


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