MathGroup Archive 2008

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

Search the Archive

Plotting a large dataset

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94232] Plotting a large dataset
  • From: Nikolaus Rath <Nikolaus at rath.org>
  • Date: Mon, 8 Dec 2008 06:24:30 -0500 (EST)

Hello,

I have trouble plotting a dataset of 2048000 reals. I tried the
following code (as recently suggested on the list):

xdata1 = ReadList[prefix <> "1.dat", Real, RecordLists -> False];
xdata1 = Developer`ToPackedArray[xdata1];
Dimensions[xdata1]
(* yields {2048000} *)
ListPlot[xdata1, PerformanceGoal -> "Speed"]


but I'm simply running out of main memory (2 GB available). Since I
can plot the same data within seconds using IDL, I guess Mathematica
should be able to do the same. But how?


Best,

   -Nikolaus

--
 =C2=BBIt is not worth an intelligent man's time to be in the majority.
  By definition, there are already enough people to do that.=C2=AB
                                                         -J.H. Hardy

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


  • Prev by Date: A 3D Plot Query
  • Next by Date: Re: Linux and Mathematica V7
  • Previous by thread: Re: Re: A 3D Plot Query
  • Next by thread: Re: Plotting a large dataset