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

# PyMca5.Plugin1DBase.Plugin1DBase.getGraphXLimits

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)

```        if not nCurves:
return
xmin, xmax = self.getGraphXLimits()
i = 0
for curve in curves:
```
```        if not nCurves:
return
xmin, xmax = self.getGraphXLimits()
i = 0
for curve in curves:
```
```        if not nCurves:
return
xmin, xmax = self.getGraphXLimits()
i = 0
for curve in curves:
```
```        if not nCurves:
return
xmin, xmax = self.getGraphXLimits()
i = 0
for curve in curves:
```
```
x, y, legend0, info = activeCurve
xmin, xmax = self.getGraphXLimits()
y = y.astype(numpy.float)

```

```
# Check if scan window is zoomed in
xmin, xmax = self.getGraphXLimits()
# Determine largest overlap between curves
xmin0, xmax0 = self.getXLimits(x for (x,y,leg,info) in curves)
```
```
# Check if plotwindow is zoomed in
xmin, xmax = self.getGraphXLimits()
# Determine largest overlap between curves
xmin0, xmax0 = self.getXLimits(x for (x,y,leg,info) in curves)
```
```
# Check if scan window is zoomed in
xmin, xmax = self.getGraphXLimits()
# Determine largest overlap between curves
xmin0, xmax0 = self.getXLimits(x for (x,y,leg,info) in curves)
```
```
# Limit shift to zoomed in area
xmin, xmax = self.getGraphXLimits()
# Execute method stored in self.shiftMethod
```

```        x0 = numpy.take(x, idx)
y0 = numpy.take(y, idx)
xmin, xmax = self.getGraphXLimits()

# get calculation parameters
```

```            return
x, y, legend, info = activeCurve [0:4]
xlimits=self.getGraphXLimits()
x, y = self.simpleMath.derivate(x, y, xlimits=xlimits)
info['ylabel'] = info['ylabel'] + "'"
```

```        # apply between graph limits
x0, y0 = activeCurve[0:2]
xmin, xmax =self.getGraphXLimits()

for curve in curves:
```

```        x0 = activeCurve[0][:]