Re: Help with code...
Re: Help with code...
- Subject: Re: Help with code...
- From: John <email@hidden>
- Date: Thu, 17 Mar 2005 07:59:33 -0500
I *think* each time this (method?) is called, it generates a random y
value, with fixed spacing for the x.
Note that the y values are not strictly speaking random, since the
random number generator is reseeded each pass with 'srand ( entryIndex
* 100000 )'. For any given entryIndex, the same X and Y will be
generated.
Further note that this will cause unexpected patterns if you use
'rand' anywhere else in your program.
That is what confused me. The plot would always have the same x/y
coordinates, yet I thought it was supposed to "randomize" them (demo
purposes). I want to send it exact points to plot, but need to
understand how the framework take in data before I can send it data.
Thanks
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden