MathGroup Archive 1998

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

Search the Archive

Re: Many data points frustration


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