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


Groups > comp.soft-sys.math.mathematica > #4017 > unrolled thread

Re: how to ListPlot3D large data sets

Started by"Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com>
First post2011-07-28 11:54 +0000
Last post2011-07-28 11:54 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: how to ListPlot3D large data sets "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-07-28 11:54 +0000

#4017 — Re: how to ListPlot3D large data sets

From"Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com>
Date2011-07-28 11:54 +0000
SubjectRe: how to ListPlot3D large data sets
Message-ID<j0rim1$3vb$1@smc.vnet.net>
It works if you either specify ToPackedArray/PackedArrayQ by context:

myPackedData = Developer`ToPackedArray[mydata,Real];

Developer`PackedArrayQ[myPackedData]
True

or add Developer` to $ContextPath:

$ContextPath = Prepend[$ContextPath, "Developer`"]

ToPackedArray[mydata,Real];

PackedArrayQ[myPackedData]
True

Best,

(another) O. R.

On Wed, 27 Jul 2011 11:21:44 +0100, Ted Sariyski <tsariysk@craft-tech.com>  
wrote:

> Hi,
>
> In one attempt MaxPlotPoints did not help, but I was not persistent
> because I have to resolve other issues before I return to ListPlot3D.
> One issue is that I cannot pack data. On the big data set I verify that
> it is numeric array and still  I cannot get it packed. Here is an  
> example:
>
> mydata={{0.00100,10.,0.},{0.00100,10.,0.00100},{0.00100,10.,0.00200},{0.00100,10.,0.00300},{0.00100,10.,0.00400}};
>
> MatrixQ[mydata,NumericQ]
> True
>
> myPackedData=ToPackedArray[mydata,Real];
>
> MatrixQ[myPackedData, NumericQ]
> True
>
> PackedArrayQ[myPackedData]
> False
>
> What I am doing wrong?
> Thanks,
> --Ted
>
> On 7/25/2011 7:30 AM, Oliver Ruebenkoenig wrote:
>> On Sat, 23 Jul 2011, Ted Sariyski wrote:
>>> Hi,
>>> I guess I am pushing the limits of ListPlot3D. I try to ListPlot3d a  
>>> data
>>> set with many millions of records. I was not able to get an image from  
>>> the
>>> full dataset, it takes forever. If I use e.g. every fifth record,  
>>> although
>>> slow, I get an image. The machine running Mathematica is Windows 7 (64  
>>> bit),
>>> has 24 GB RAM and there was no swapping. I wonder what is considered  
>>> as a
>>> reasonable data size for ListPlot3D and are there other tools in  
>>> Mathematica
>>> for visualization of large data sets?
>>> Thanks in advance,
>>> --Ted
>>>
>> Ted,
>>
>> is your data packed?
>>
>> Developer`PackedArrayQ[yourData]
>>
>> Oliver

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web