Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 921 Bytes

README.md

File metadata and controls

38 lines (34 loc) · 921 Bytes

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