Jump to content

File:RosslerC4.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 720 × 540 pixels, file size: 620 KB)

    Summary

    Description
    English: Rossler attractor a = b = 0.1, c = 4.0
    Date
    Source Own work
    Author Shiyu Ji
    SVG development
    InfoField
     The SVG code is valid.
     This plot was created with Matplotlib.

    Source code

    The logo of Matplotlib – comprehensive library for creating static, animated, and interactive visualizations in Python
    The logo of Matplotlib – comprehensive library for creating static, animated, and interactive visualizations in Python
    This media was created with Matplotlib (comprehensive library for creating static, animated, and interactive visualizations in Python)
    Here is a listing of the source used to create this file.

    Deutsch  English  +/−

    # An Euler method based simulation of the Rossler system (c=4, period 1).
    import matplotlib.pyplot as pl
    from matplotlib.lines import Line2D
    import numpy as np
    
    t0 = 0.0
    dt = 0.02
    t_final = 60
    T = np.arange(t0, t_final, dt)
    a, b, c = 0.1, 0.1, 4.0
    ax = pl.figure().add_subplot(111)
    pl.xlim([-8, 8])
    pl.ylim([-8, 6])
    pl.xlabel('X')
    pl.ylabel('Y')
    
    x, y, z = -6.2, 0.0, 0.0
    for t in T:
        new_x = x + (-y - z) * dt
        new_y = y + (x + a*y) * dt
        new_z = z + (b + z*(x-c)) * dt
        line = Line2D([x, new_x], [y, new_y], color='blue', lw=0.5)
        ax.add_line(line)
        x, y, z = new_x, new_y, new_z
    
    pl.show()
    

    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 4.0 International 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.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    6 November 2016

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current02:55, 7 November 2016Thumbnail for version as of 02:55, 7 November 2016720 × 540 (620 KB)Shiyu JiUser created page with UploadWizard

    The following page uses this file:

    Global file usage

    The following other wikis use this file:

    Metadata