Skip to content

Instantly share code, notes, and snippets.

@liliang8858
liliang8858 / ecg_chart.py
Created July 16, 2018 01:32 — forked from pluswave/ecg_chart.py
基于matplotlib输出心电图纸到pdf文件
#*-- coding: utf-8 --*
import matplotlib
X_INCH = 7
Y_INCH = 11
X_MM = int(X_INCH*25.4)
Y_MM = int(Y_INCH*25.4)
while X_MM % 5 != 1: