Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

random points!

  • To: mathgroup at
  • Subject: [mg80892] random points!
  • From: dimitris <dimmechan at>
  • Date: Wed, 5 Sep 2007 02:46:19 -0400 (EDT)


I have the following drawing
(it is just a part of a bigger figure...)

surface = Graphics[{Thickness[0.0079], Line[{{-3.1, 0}, {3, 0}}]}];
halfcir = Graphics[{Thickness[0.0079], Circle[{0, 0}, 0.6, {Pi,
randpoints = Table[Graphics[{PointSize[0.012], Point[{Random[Real,
{-0.42, 0.42}], Random[Real, {-0.01, -0.47}]}]}], {300}];
Show[surface, halfcir, randpoints, AspectRatio -> Automatic];

How can I add as much points as possible inside the half-circle
(so that there are not so big white regions as in the previous
assuring that they are not situated outside it?

I think something has to be modified for randpoints above in order to
be included
a rule but currently I can't think sth.


  • Prev by Date: Re: Plot question
  • Next by Date: Re: What is $MaxNumber on a 64 bit Computer?
  • Previous by thread: Re: How to compile this module?
  • Next by thread: Re: random points!