Back to Browse

Plot Graph with Python & Kivy (Kivy Garden Graph) which works on Android

11.9K views
Nov 6, 2021
38:06

This tutorial demonstrates how to use the Kivy framework for Python to create an app which plots a sine wave and which actually works on your android smartphone (unlike Matplotlib). It's for beginners and advanced users of Kivy and Python. If anything is unclear, feel free to ask and write a comment. ▬ Links ► ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Code of this tutorial: https://github.com/denczo/kivy_examples Build and Deploy the app: https://www.youtube.com/watch?v=pzsvN3fuBA0 Python Installer: https://www.python.org/downloads/ Kivy Framework: https://bit.ly/3tIIXHT Kivy Garden Graph: https://kivy.org/doc/stable/api-kivy.garden.html https://kivy-garden.github.io/graph/flower.html Error Handling: https://supportuae.wordpress.com/2019/03/19/errno-2-no-such-file-or-directory-kivy-garden-windows-machine/ ▬ Commands ► ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ sudo apt-get update -y sudo apt-get install python3 sudo apt install python3-pip sudo apt install git pip3 install kivy pip3 install numpy pip3 install kivy-garden.graph ▬ Chapters ► ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Start: ► 0:00 - Intro ► 0:44 - Basic Setup ► 2:42 - Short Summary of Kivy ► 3:17 - How to plot a Graph on Android Coding: ► 3:45 - Basic Kivy Application (Hello World) ► 8:05 - Slider Widget ► 12:13 - Graph Widget (with Sine Wave) ► 17:33 - Update Plot with Slider ► 19:35 - Styling Graph Widget ► 22:00 - Zoom Buttons ► 24:19 - Set Background Color ► 25:53 - Zoom Feature (ScrollView Widget) ► 37:43 - Outro ▬ Programming ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ► Pycharm Community Edition ► Python 3.8.1 ► Kivy 2.0 ▬ Editing ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ ► Sony Vegas Pro Edit 14 ► OBS ► t.bone SC400 ► Cheap Webcam

Download

1 formats

Video Formats

360pmp455.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Plot Graph with Python & Kivy (Kivy Garden Graph) which works on Android | NatokHD