Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(9)  |  Derive(1)  |  Import(0)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/plotting/PlotWidget.py   pymca(Download)
class PlotWidget(QtGui.QMainWindow, Plot.Plot):
    sigPlotSignal = QtCore.Signal(object)
 
    def __init__(self, parent=None, backend=None,
                         legends=False, callback=None, **kw):

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/XASScanNormalizationPlugin.py   pymca(Download)
    x = numpy.arange(100.)
    y = x * x
    plot = Plot.Plot()
    plot.addCurve(x, y, "dummy")
    plot.addCurve(x+100, -x*x)

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/RegularMeshPlugin.py   pymca(Download)
    x = numpy.arange(100.)
    y = x * x
    plot = Plot.Plot()
    plot.addCurve(x, y, "dummy")
    plot.addCurve(x+100, -x*x)

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/NormalizationPlugins.py   pymca(Download)
    x = numpy.arange(100.)
    y = x * x
    plot = Plot.Plot()
    plot.addCurve(x, y, "dummy")
    plot.addCurve(x+100, -x*x)

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MultipleScanToMeshPlugin.py   pymca(Download)
    x = numpy.arange(100.)
    y = x * x
    plot = Plot.Plot()
    plot.addCurve(x, y, "dummy")
    plot.addCurve(x+100, -x*x)

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MotorInfoPlugin.py   pymca(Download)
    x = numpy.arange(100.)
    y = numpy.arange(100.)
    plot = Plot.Plot()
    plot.addCurve(x, y, "Curve1", {'MotorNames': "foo bar",  'MotorValues': "3.14 2.97"})
    plot.addCurve(x+100, y, "Curve2", {'MotorNames': "baz",  'MotorValues': "6.28"})

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MedianFilterScanPlugin.py   pymca(Download)
    x = numpy.arange(100.)
    y = x * x
    plot = Plot.Plot()
    plot.addCurve(x, y, "dummy")
    plot.addCurve(x+100, -x*x)

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/MathPlugins.py   pymca(Download)
    x = numpy.arange(100.)
    y = x * x
    plot = Plot.Plot()
    plot.addCurve(x, y, "dummy")
    plot.addCurve(x+100, -x*x)

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/BackgroundScanPlugin.py   pymca(Download)
    x = numpy.arange(100.)
    y = x * x
    plot = Plot.Plot()
    plot.addCurve(x, y, "dummy")
    plot.addCurve(x+100, -x*x)

src/p/y/pymca-HEAD/PyMca5/PyMcaPlugins/AlignmentScanPlugin.py   pymca(Download)
    y1 = 10.0 + 5000.0 * numpy.exp(-0.01*(i-50)**2)
    y2 = 10.0 + 5000.0 * numpy.exp(-((i-55)/5.)**2)
    plot = Plot.Plot()
    plot.addCurve(i, y1, "y1")
    plot.addCurve(i, y2, "y2")