| 12 | * In this example: |

| 13 | {{{ |

| 14 | sage: zero_func(x)=0 |

| 15 | sage: g = Piecewise([[(-1000,1),zero_func],[(1,1000),(x-1)^3]],x) |

| 16 | sage: G = g.plot() |

| 17 | sage: G.show(xmin=-5,xmax=5,ymax=100) |

| 18 | sage: g(1) |

| 19 | 0 |

| 20 | }}} |

| 21 | * You can use oo (infinity) for endpoints, but then the plot code for Piecewise gets screwed up. |

| 22 | * You can try putting in zero instead of defining this new zero function, but then g(1) and g(-1) etc. won't work. |

| 23 | * You can try using extend_by_zero to make the zero part, but it gives the same problem. |

| 24 | * You can plot without xmin and xmax, but that gives the whole function. |

| 25 | * You can plot without ymax, but that gives the range further out than you want. |

| 26 | * You can try plot(g), but that turns out to uncover a very strange error that may or may not be a bug. |