Re: Notebook
- To: mathgroup at smc.vnet.net
- Subject: [mg105633] Re: Notebook
- From: David Reiss <dbreiss at gmail.com>
- Date: Sat, 12 Dec 2009 06:56:43 -0500 (EST)
- References: <hft2mm$7bj$1@smc.vnet.net>
Hi John, I am sure that your post will puzzle members of the group; but, perhaps you meant something different from what it seems you are asking...? Taking your question at face value, this is exactly how Mathematica works. Execute your statement. Then anywhere else in that Mathematica session when you execute red1 will cause the parameter red1 to be the red die. --David On Dec 11, 4:17 am, John <j... 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