Skip to content

karnigen/kora_quickdraw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kora_quickdraw

Matplotlib simple graph template

Install

pip install kora_quickdraw

Usage

There two commands

  • defining figure and axes
  • showing graph
fig, ax1, ax2 = start_plot2()
...
show_plot2(1, fig, ax1, ax2)

Full example

In example directory

from kora_quickdraw import *
import numpy as np

x = np.linspace(-np.pi , np.pi)
y1 = np.sin(x)
y2 = np.cos(x)

fig, ax1, ax2 = start_plot2()
ax1.plot(x,y1)
ax1.plot(x,y2)
ax2.plot(x, y1*y2)
show_plot2(1, fig, ax1, ax2, t1="sin(x) and cos(x)", t2="sin(x) x cos(x)", y2='y')

About

Matplotlib simple graph templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages