Commit bdeed9c4 authored by Martin Drechsler's avatar Martin Drechsler

simple pyqgraph plot example for when a measurement ends

parent d98da911
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun May 19 19:33:06 2019
@author: martindrech
"""
import numpy as np
import pyqtgraph as pg
#%%
x = np.linspace(-10, 10, 1000)
y = np.sinc(x)
plot = pg.plot(x, y, title ='some plot')
plot.setLabel('bottom', 'X Axis', 'eje x')
plot.setLabel('left', 'Y Axis', 'eje y')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment