File:RosslerVaryC.svg

Original file (SVG file, nominally 720 × 540 pixels, file size: 14.49 MB)

Summary

Description
English: SVG version of .
Date
Source Own work
Author Shiyu Ji

Python/Matplotlib Code

# 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

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
current07:56, 7 November 2016Thumbnail for version as of 07:56, 7 November 2016720 × 540 (14.49 MB)Shiyu JiUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata