X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09 Jan 2007 11:00 PM by  anon
too many elements
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
09 Jan 2007 11:00 PM
    Hello,all I want to create a 3d scatter plot. My data is a 5(two position &three velocity) by 4934434 array 4934434 means number of particles. I've tried plot_3dbox and surface + plots,x,y,velocity,/t3d (a method from http://www.dfanning.com/tips/scatter3d.html) but both of the two method give "too many elements" It seems IDL cant handle 4934434 by 4934434 array since I can't create array of such size by make_array()/indgen() Do I use wrong method to create a 3d scatter plot?

    Deleted User



    New Member


    Posts:
    New Member


    --
    09 Jan 2007 11:00 PM
    Hi Shou-lien Chen, I am able to display a scatter plot of 4000000 element using iPlot with the SCATTER keyword set but it results in IDL hanging. What you'll need to do is plot a subset of the actual data points. The CLUSTER function can be used to group the points into clusters. Each cluster can then be displayed in a couple of ways. One is to then define a single point to represent each point in the cluster. Another is to then use QHULL to define a convex hull around each cluster of points and then use this information to define a polygon for each cluster. Cheers, Daryl
    You are not authorized to post a reply.