MathGroup Archive 1998

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

Search the Archive

Re: Many data points frustration

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14937] Re: [mg14899] Many data points frustration
  • From: Jurgen Tischer <jtischer at col2.telecom.com.co>
  • Date: Fri, 27 Nov 1998 03:49:34 -0500
  • Organization: Universidad del Valle
  • References: <728kgi$egt@smc.vnet.net> <199811180629.BAA19031@smc.vnet.net.> <199811252248.RAA26440@smc.vnet.net.>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Brian,
try using something like

reallyBig[x_] := If[ByteCount[x] > 200000, Shallow[x], x];
  $Post = reallyBig;

I have it in the init.m file. Sometimes it produces ugly things but then
you can just shut it with

$Post=.

Jurgen

Brian Boonstra wrote:
>
> Hi
>
>         Has anyone come across a way of, say, setting a maximum amount 
of
> output per cell?  I have several lists of 15,000 data points I need to
> manipulate.  If I forget a semicolon, or have a typo, I am often
> treated to a   five minute wait while Mathematica prints (an obvious
> error message and) 15,000   irrelevant data points.
>
>         One can, of course, turn off some error messages with the Off[]
> function, but this does not completely solve the problem.  What I want
> is for   Mathematica to recognize I couldn't possibly want to see all
> that stuff.
>
>         For a toy version of the problem, see below, and imagine many more
> points:
>
> In[8]:=
> Off[General::spell1]
>
> In[9]:=
> sins = Table[N[Sin[2 Pi i/10]],{i,20}];
>
> In[10]:=
> ListPlo[sins]
>
> Out[10]=
> ListPlo[{0.587785,0.951057,0.951057,0.587785,
>
> 0,-0.587785,-0.951057,-0.951057,-0.587785,0,0.587785,0.951057,0.951057,
>     0.587785,0,-0.587785,-0.951057,-0.951057,-0.587785,0}]
>
>                 Regards,
>
>                         Brian
>
> _______________________________
> Dr Brian K Boonstra
> Vice President, Quantitative Research
>
> First National Bank of Chicago
> 1 First National Plaza
> Chicago, Illinois   60670



  • Prev by Date: HTMLSave - Help!
  • Next by Date: Re: Mathematica vs MacOS 8.5
  • Previous by thread: Many data points = frustration
  • Next by thread: Re: Many data points = frustration