Skip to content

Simulates random walk on chart using python matplotlib

Notifications You must be signed in to change notification settings

ubbn/random-walk-matplotlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Random walk

It draws continuous random walks using matplotlib. It uses Python's standard library random to generate random numbers

To Setup

Install matplotlib library using pip tool

pip install matplotlib
python -m matplotlib.install

Alternatively, if you are using Linux, install it as a package
on Fedora/Centos/RHL

sudo dnf install python-matplotlib

on Ubuntu/Debian

sudo apt-get install python-matplotlib

To Run

Clone the project,

git clone git@github.com:ubbn/random-walk-matplotlib.git

Switch to working directory

cd random-walk-matplotlib

To draw each step of the walk is as a connected line

python scr/visual_plot.py

To draw each step of the walk scattered points

python scr/visual_scatter.py

About

Simulates random walk on chart using python matplotlib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages