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)

However, it seems to only plot the first set. My function should
return true when either of the inequalities are satisfied, right? Why
will this not plot correctly?

Thanks for the help.
-stephen
-- 
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