Message Boards Message Boards

0
|
2346 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Built-in Functionality to utilize PlotPoints for ListPointPlot3D?

Posted 10 years ago

Hello,

I'd like to be able to limit the number of points that plot for ListPointPlot3D. I haven't figured a way to do so with PlotPoints yet, and am wondering if that is possible.

Another approach, only if that isn't doable, would be to randomly sample a set number of points and plot those. I'd prefer a built-in solution though if possible.

Thanks for any insight you can provide,

Greg

UPDATE: Looks like this alternate solution (alluded to above) is easy enough. Would still like to know a built in function if it happens to exist.

Something like,

plotPointsNum = 50;
RandomSample[Range[Length[data]], plotPointsNum]

, where data is the data set column in question.

& to finish it out,

this = RandomSample[Range[Length[RandomSample[Range[Length[data]], plotPointsNum]], plotPointsNum]

result = Data[[Part[this, columnNumber], All]]

, where columnNumber is the column in question , where Data is the name of the table in CSV format , where result is the end product

POSTED BY: Greg
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract