Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4382

Re: more efficient method of importing and plotting large (> 100mb) files.

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: more efficient method of importing and plotting large (> 100mb) files.
Date 2011-08-14 12:14 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j28e79$3af$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 8/13/11 at 6:50 AM, andrew.spott@gmail.com (Andrew) wrote:

>I have a number of large data files that I want to import and plot,
>however mathematica seems to have a serious issue with these.  Is it
>possible to get mathematica to not plot every point with
>listplot? If so, how do I speed up the importing and ploting of
>these files?

Yes, it is possible to plot fewer points. For example, I can do:

data=RandomReal[1,100];

to generated a list of 100 data points and then do:

ListPlot[data[[;;;;10]]]

To plot every 10th point in the list. Another approach would be
to so something like

ListPlot[Mean/@Partition[data,10]]

  But, as to whether doing something like this will actually
solve your issue is impossible for me to determine. I or others
could give a better answer if you provided more details of what
it is you are trying to do such as the format of the files.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: more efficient method of importing and plotting large (> 100mb) files. Bill Rowe <readnews@sbcglobal.net> - 2011-08-14 12:14 +0000

csiph-web