1 | initial version |

The problem is that `x`

is a symbolic expression, and it does not have a `eint`

method. So, instead of a sybolic expression, you should try to plot a Python function:

```
sage: def eint(x):
....: return RR(x).eint()
```

Now, you can plot this function:

```
sage: plot(eint, [-1,1], frame=True)
```

Note that i had to transform `x`

as an element of `RR`

, because then `plot`

function iterates over some elements of `[-1,1]`

viewed as Pyhon `floats`

which do not have a `eint`

method either.

2 | No.2 Revision |

The problem is that `x`

is a symbolic expression, and it does not have a `eint`

method. So, instead of plotting a ~~sybolic ~~smybolic expression, you should try to plot a Python function:

```
sage: def eint(x):
....: return RR(x).eint()
```

Now, you can plot this function:

```
sage: plot(eint, [-1,1], frame=True)
```

Note that i had to transform `x`

as an element of `RR`

, because then `plot`

function iterates over some elements of `[-1,1]`

viewed as Pyhon `floats`

which do not have a `eint`

method either.

3 | No.3 Revision |

The problem is that `x`

is a symbolic expression, and it does not have a `eint`

method. So, instead of plotting a smybolic expression, you should try to plot a Python function:

```
sage: def eint(x):
....: return RR(x).eint()
```

Now, you can plot this function:

```
sage: plot(eint, [-1,1], frame=True)
```

Note that i had to transform `x`

as an element of `RR`

, because then `plot`

function iterates over some elements of `[-1,1]`

viewed as Pyhon `floats`

which do not have a `eint`

method ~~either.~~either:

```
sage: float(1.1).eint()
AttributeError: 'float' object has no attribute 'eint'
```

You can see what happens if we omit to convert the elements into `RR`

:

```
sage: def eint_noconvert(x):
....: return x.eint()
sage: plot(eint_noconvert, [-1,1], frame=True)
AttributeError: 'float' object has no attribute 'eint'
```

4 | No.4 Revision |

The problem is that `x`

is a symbolic expression, and it does not have a `eint`

method. So, instead of plotting a smybolic expression, you should try to plot a Python function:

```
sage: def eint(x):
....: return RR(x).eint()
```

Now, you can plot this function:

```
sage: plot(eint, [-1,1], frame=True)
```

Note that i had to transform `x`

as an element of `RR`

, because then `plot`

function iterates over some elements of `[-1,1]`

viewed as Pyhon `floats`

which do not have a `eint`

method either:

`sage: `~~float(1.1).eint()
~~float(1.1).eint()
AttributeError: 'float' object has no attribute 'eint'

You can see what happens if we omit to convert the elements into `RR`

:

```
sage: def eint_noconvert(x):
....: return x.eint()
sage: plot(eint_noconvert, [-1,1], frame=True)
AttributeError: 'float' object has no attribute 'eint'
```

5 | No.5 Revision |

The problem is that `x`

is a symbolic expression, and it does not have a `eint`

method. So, instead of plotting a smybolic expression, you should try to plot a Python function:

```
sage: def eint(x):
....: return RR(x).eint()
```

Now, you can plot this function:

```
sage: plot(eint, [-1,1], frame=True)
```

Note that i had to transform `x`

as an element of `RR`

, because then `plot`

function iterates over some elements of `[-1,1]`

viewed as Pyhon `floats`

which do not have a `eint`

method either:

```
sage: float(1.1).eint()
AttributeError: 'float' object has no attribute 'eint'
```

You can see what happens if we omit to convert the float elements into `RR`

:

```
sage: def eint_noconvert(x):
....: return x.eint()
sage: plot(eint_noconvert, [-1,1], frame=True)
AttributeError: 'float' object has no attribute 'eint'
```

6 | No.6 Revision |

`x`

is a symbolic expression, and it does not have a `eint`

method. So, instead of plotting a smybolic expression, you should try to plot a Python function:

```
sage: def eint(x):
....: return RR(x).eint()
```

Now, you can plot this function:

```
sage: plot(eint, [-1,1], frame=True)
```

Note that i had to transform `x`

as an element of `RR`

, because ~~then ~~the `plot`

function iterates over some elements of `[-1,1]`

viewed as Pyhon `floats`

which do not have a `eint`

method either:

```
sage: float(1.1).eint()
AttributeError: 'float' object has no attribute 'eint'
```

You can see what happens if we omit to convert the float elements into `RR`

:

```
sage: def eint_noconvert(x):
....: return x.eint()
sage: plot(eint_noconvert, [-1,1], frame=True)
AttributeError: 'float' object has no attribute 'eint'
```

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.