MathGroup Archive 2009

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

Search the Archive

Re: Notebook

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105634] Re: [mg105606] Notebook
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Sat, 12 Dec 2009 06:56:54 -0500 (EST)
  • References: <200912110917.EAA07547@smc.vnet.net>
  • Reply-to: drmajorbob at yahoo.com

Like ANY variable, you can define it once and mention it anytime you like.

red1 = GraphicsGrid[{{"", "", ""}, {"",
      Graphics[Disk[], ImageSize -> 10], ""}, {"", "", ""}},
    Frame -> True, Spacings -> {3, 3}, Background -> Red];

(* other stuff in between *)

red1

Bobby

On Fri, 11 Dec 2009 03:17:18 -0600, John <jwa0 at lehigh.edu> wrote:

> Mathematica 6, Windows XP
>
> The graphic red1 is a red die with the one spot up.
>
>   red1 = GraphicsGrid[{{"", "", ""}, {"",
>     Graphics[Disk[], ImageSize -> 10], ""}, {"", "", ""}},
>   Frame -> True, Spacings -> {3, 3}, Background -> Red]
>
> Retyping the right-hand-side of the equality when I want to display
> red1 in my notebook is a nuisance.  Is it possible to type the above
> three lines once and thereafter type red1 when the display of red1 is
> needed?
>
> John
>
>
>
>


-- 
DrMajorBob at yahoo.com


  • References:
  • Prev by Date: Re: Notebook
  • Next by Date: Re: Return in function
  • Previous by thread: Notebook
  • Next by thread: Re: Notebook