File:RosslerVaryC.svg

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

    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
    Русский: Бифуркационная диаграмма для системы Рёсслера для меняющегося c.
    English: Bifurcation diagram for the Rössler attractor for varying c.
    Ελληνικά: Διάγραμμα διακλάδωσης για τον ελκυστή Ρέσλερ για μεταβαλλόμενη c
    Date
    Source Own work
    Author Shiyu Ji
    SVG development
    InfoField
     The SVG code is valid.
     This oversized 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 to compute the bifurcation of the Rossler system with varying c.
    import matplotlib.pyplot as pl
    from matplotlib.lines import Line2D
    import numpy as np
    
    t0 = 0.0
    dt = 0.001
    t_final = 1500
    T = np.arange(t0, t_final, dt)
    a, b = 0.1, 0.1
    ax = pl.figure().add_subplot(111)
    pl.xlim([0, 45])
    pl.ylim([0, 70])
    pl.xlabel('c')
    pl.ylabel('X')
    
    C = []
    X = []
    e = 1e-2
    c = 0.0
    while c < 45.0:
        x, y, z = 5.8, 1.0, 0.0
        counter = 10
        # the first 10 points may contain outliers
        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
            if 0<new_x<70 and abs(new_y)<e:
                if counter==0:
                    C.append(c)
                    X.append(new_x)
                else:
                    counter-=1
            x, y, z = new_x, new_y, new_z
        c += 0.1
    
    pl.scatter(C, X, .1, color='red')
    pl.show()
    

    Licensing

    Shiyu Ji, the copyright holder of this work, hereby publishes 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.
    Attribution:
    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

    15,189,072 byte

    image/svg+xml

    10b99418f5a4be3e4c98c2a6ffdeff9fb305564c

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current08:56, 7 November 2016Thumbnail for version as of 08:56, 7 November 2016720 × 540 (14.49 MB)wikimediacommons>Shiyu JiUser created page with UploadWizard

    There are no pages that use this file.