MathGroup Archive 2001

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

Search the Archive

RE: Hiding data in Cells?

  • To: mathgroup at
  • Subject: [mg28958] RE: [mg28927] Hiding data in Cells?
  • From: Mikael Adlers <mikael at>
  • Date: Wed, 23 May 2001 01:54:26 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

you can always use a InterpretationBox to hide data. Try,

InterpretationBox["This text will be displayed", 
    xy = {0, 0},{1, 0.23},{2, -5.6},{3, 1.23},.....{n, xxx}};] //

Then you will get an output cell that displays the text but is interpreted
the assignment statement. If you want to hide the data in a e. g. text cell
you can edit the cell expression (ctrl-shift-e on the cell) and change the
output cell type to Text (if you use the menu the data will be lost).

You can also add the options Evaluatable->True,
InitializationCell->True to make the cell an initialization cell.

Mikael Adlers

 Mikael Adlers, Ph.D.          email: mikael at 
 MathCore AB                   phone: +4613 32 85 07 
 Wallenbergsgata 4             fax:         21 27 01
 SE-583 35 Linkoping, Sweden                   

> -----Original Message-----
> From: Krautschik, Chris G [mailto:krautschikc at] 
To: mathgroup at
> Sent: den 20 maj 2001 04:28
> To: mathgroup at
> Subject: [mg28958] [mg28927] Hiding data in Cells?
> I was wondering if there was a way to hide data in a given 
> cell inside a notebook and that it would be initialized every 
> time the notebook was evaluated. This would be useful so one 
> does not have to scroll through pages of data every time one 
> loads the notebook. Neither should the hidden cell containing 
> the data print.
> What I had in mind is the following:
> xy = {{0, 0},{1, 0.23},{2, -5.6},{3, 1.23},.....{n, xxx}};
> After I have imported the data and assigned the variable xy 
> to it I would like the cell to disappear for good (but the 
> variable xy, of couse, should continue to exist). Hopefully, 
> there is a way make the cell visible again as well as some 
> day one may want to refer back to it.
> Thanks,
> Chris

  • Prev by Date: CalculationCenter woes
  • Next by Date: Re: Help With MathLink
  • Previous by thread: Hiding data in Cells?
  • Next by thread: Help tips.