File:First members of Fibonacci sequence.svg

From testwiki
Jump to navigation Jump to search
Original file (SVG file, nominally 720 × 540 pixels, file size: 17 KB)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: Plot of the first members of the Fibonacci sequence.
Deutsch: Diagramm mit den ersten Folgenglieder der Fibonacci-Folge.
Date
Source Own work
Author Stephan Kulla (User:Stephan Kulla)
SVG development
InfoField
 The SVG code is valid.
 This plot was created with Matplotlib.
Source code
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt

def fibonacci():
    a,b = 0,1
    yield a
    yield b
    while True:
        a, b = b, a + b
        yield b

ns = np.arange(0, 7.1, 1.)
fs = np.fromiter(fibonacci(), np.float, ns.size)

plt.plot(ns, fs, "o")
plt.xlim(0, ns.max()+0.5)
plt.ylim(0, fs.max()+1)
plt.axhline(0, color="black")

plt.savefig("First members of Fibonacci sequence.svg")

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

12 February 2016

17,762 byte

image/svg+xml

d337afb1e2bb3555c7b8985259b04750962e1668

File history

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

Date/TimeThumbnailDimensionsUserComment
current22:22, 12 February 2016Thumbnail for version as of 22:22, 12 February 2016720 × 540 (17 KB)wikimediacommons>Stephan KullaUser created page with UploadWizard

The following page uses this file: