Jump to content

File:Pseudorandom sequence 2D.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    Original file (SVG file, nominally 289 × 289 pixels, file size: 37 KB)

    Summary

    Description
    English: A 2D sequence of pseudorandom numbers generated in R, showing the first 10 (red), 100 (red+blue) and 256 (red+blue+green) points from the sequence, for contrast with various low-discrepancy quasi-random number sequences
    Date
    Source Own work. Created in R using the code fragment below.
    Author Jheald

    Source code

    library(RSvgDevice)
      
    x1 <- runif(10)
    y1 <- runif(10)
    x2 <- runif(90)
    y2 <- runif(90)
    x3 <- runif(156)
    y3 <- runif(156)
      
    devSVG("Random.svg",4,4)
    par(mar=c(2,2,2,2)+0.1)
    plot(x3,y3,ann=FALSE,col="green3",ylim=c(0,1),xlim=c(0,1),xaxs="i",yaxs="i",axes=FALSE,frame.plot=TRUE)
    points(x2,y2,col="blue3")
    points(x1,y1,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.
     This W3C-unspecified chart was created with R.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    15 August 2011

    37,893 byte

    image/svg+xml

    f0c1f0bac98b59fbf67d7bc4f85e52bba6778749

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current07:16, 15 August 2011Thumbnail for version as of 07:16, 15 August 2011289 × 289 (37 KB)Jheald

    The following 3 pages use this file:

    Global file usage

    The following other wikis use this file:

    Metadata