Re: Comparing Speed of Graphical Output [message #78288] |
Sat, 05 November 2011 12:02 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> (Forget
> for the moment that this solution doesn't produce the
> same graphic as the slower solution, and that it
> produces a different, different solution every time it
> runs! I presume he will get this to work, eventually.)
I realize now this statement only partially true. The graphic
is different (it is missing some connections), but it
is reproducible. I overlooked the random number generation
in my file. If you set the random numbers in Mark's
program like this:
cx = randomu(-3L, [np])
cy = randomu(-10L, [np])
Then you can see the missing connections near the
top of the plot.
Sorry for the confusion.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|