File:Sobol sequence 2D.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 289 × 289 pixels, file size: 36 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: A Sobol sequence of low-discrepancy quasi-random numbers, showing the first 10 (red), 100 (red+blue) and 256 (red+blue+green) points from the sequence.
Date
Source Own work. Created in R using the code fragment below.
Author Jheald
SVG development
InfoField
 
The SVG code is valid.
 
This diagram was created with R.
Source code
InfoField

R code

library(RSvgDevice)
 library(randtoolbox)
 
 s1 = sobol(10,2)
 s2 = sobol(90,2,init=FALSE)
 s3 = sobol(156,2,init=FALSE)
 
 devSVG("Sobol.svg",4,4)
 par(mar=c(2,2,2,2)+0.1)
 plot(s3,ann=FALSE,col="green3",ylim=c(0,1),xlim=c(0,1),xaxs="i",yaxs="i",axes=FALSE,frame.plot=TRUE)
 points(s2,col="blue3")
 points(s1,col="red")
 dev.off()

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current07:03, 15 August 2011Thumbnail for version as of 07:03, 15 August 2011289 × 289 (36 KB)Jheald (talk | contribs)

The following page uses this file:

File usage on other wikis

The following other wikis use this file:

Metadata