Thank you for looking into this.
-stephen

On Tue, Jan 19, 2010 at 6:04 PM, Jason Grout <jason-s...@creativetrax.com>wrote:

> stevejb wrote:
>
>> Hello,
>>
>> I am trying to plot 2 distinct sets on the same region_plot. My code
>> is as follow
>>
>> var('x1 x2')
>> (region_plot( [
>> ( (x2 >= exp(-x1)) or (x2 <= -exp(-x1) )),
>> ],
>> (-4,4), (-4,4), incol='#ffff7f', outcol='#7f7fff',
>> bordercol='black',plot_points=300)
>>
>> ).show(aspect_ratio=1)
>>
>>
>
> The or function here won't do what you want (because it is short circuiting
> and symbolic expressions don't know how to deal with the "or" keyword).  A
> function would be the natural way to deal with this right now, but
> apparently region_plot can't handle python functions.  This is now
> http://trac.sagemath.org/sage_trac/ticket/8004
>
> Thanks,
>
> Jason
>
>
> --
> To post to this group, send email to sage-support@googlegroups.com
> To unsubscribe from this group, send email to
> sage-support+unsubscr...@googlegroups.com<sage-support%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>
>
-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to