Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone have codes for using only numbers to make this kind of random-number visualization and not requiring a number generator?

http://demonstrations.wolfram.com/PoorStatisticalQualitiesForTheRANDURandomNumberGenerator/

http://en.wikipedia.org/wiki/Spectral_test

share|improve this question

closed as unclear what you're asking by MarcoB, m_goldberg, Louis, Sjoerd C. de Vries, Michael E2 Jan 31 at 21:40

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

3  
Could you explain what you mean by "using only numbers"? – Sjoerd C. de Vries Jul 16 '13 at 5:55

The code used in the demonstration is like this.

Manipulate[
 Graphics3D[
  Point[pointCoordinates], 
  ViewPoint -> UserView,
   ImageSize -> {450, 400}], 
  {
  {NumPoints, 5000, "number of points"},
   {100 -> "100", 500 -> "500", 1000 -> "1000", 2500 -> "2500", 
   5000 -> "5000"}
  }, 
  {
  {UserView, {-2.1, -2.5, 4}, ""}, {{1.3, -2.4, 2} -> "View 1", 
      {-2, -2.5, 1} -> "View 2", {-1.85, -2.5, 1} -> "View 3", 
      {-2.1, -2.5, 4} -> "View 4", {-2, -3, 0} -> "View 5", 
      {-2, -2.5, 2} -> "View 6", {-2, -3.2, -0.5} -> "View 7", 
      {-2, -2.66, 2} -> "View 8"}, ControlType -> Setter
  }, 
  ControllerLinking -> True]

I take it you don't want to use the same code to generate the points. Whatever it is you want to do, replace pointCoordinates with your point generation code which depends on NumPoints.

The author of the demonstration is Paul Savory.

share|improve this answer
3  
The demonstration terms of use Say it's CC attribute-non commercial-use alike. So attribution to the original author is required. This code does use a random number generator (though not a built-in one). The OP doesn't seem to want that, though it's unclear to me what he wants instead. – Sjoerd C. de Vries Jul 16 '13 at 6:18
    
@SjoerdC.deVries Thanks for pointing out the copyright issue. – Pickett Jul 16 '13 at 9:12
    
Thank you guys for your help! I meant that I want to just use output data of a random generator = numbers only to plot the points. So I don't use a 'point generation code' or a generator. – user84841 Jul 16 '13 at 15:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.