Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg51842] Re: Null entry in a Graphics list?
  • From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
  • Date: Wed, 3 Nov 2004 01:25:23 -0500 (EST)
  • References: <cm7chn$lea$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

This is what you want:

g3=If[test, Graphics[---], Graphics[{}] ];

Steve Luttrell

"AES/newspost" <siegman at stanford.edu> wrote in message 
news:cm7chn$lea$1 at smc.vnet.net...
> 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: Problems about Graphics
  • Next by Date: How to force Mathematica to treat a number as positive and real?
  • Previous by thread: Re: Null entry in a Graphics list?
  • Next by thread: Re: Null entry in a Graphics list?