File:Sobol sequence 2D.svg

Summary

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.
Category:Valid SVG created with R code#Sobol%20sequence%202D.svg
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

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.
Category:CC-BY-SA-3.0#Sobol%20sequence%202D.svgCategory:Self-published work
Category:Quasi-random sequences Category:Images with R source code
Category:CC-BY-SA-3.0 Category:Images with R source code Category:Quasi-random sequences Category:Self-published work Category:Valid SVG created with R code