#16907: Adding two region plots yields surprising results
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  kcrisman               |       Status:  needs_review
           Type:         |    Milestone:  sage-6.7
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  graphics               |  Work issues:
       Keywords:         |       Commit:
        Authors:  Yuan   |  c0770dc34e8482eb5d1c04338820e361a2a4cb4b
  Zhou                   |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/yzh/region_plot      |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by yzh):

 Replying to [comment:4 kcrisman]:
 > Interesting fix!  Do you think the change in the "endpoints" for the
 contours will make a big difference?  Thanks for the contribution, I'll
 put this on my list for things to review once the semester is over.

 Do you mean the change of `contours` from `[-1e307, 0, 1e307]` to
 `[-1e-20, 0, 1e-20]`?

 Yes, I think setting `contours=[-1e307, 0, 1e307]` was not a good idea. I
 tried
 {{{
 sage: x,y = var('x,y')
 sage: region_plot(x^2+y^2 < 1, (x, -1, 1), (y, -1, 1), incol='blue',
 outcol='red',alpha=0.5)
 }}}
 with setting `contours=[-0.2, 0, 0.2]`, and figured out that the meaning
 of the "endpoints" was quite different from what I had imagined.

--
Ticket URL: <http://trac.sagemath.org/ticket/16907#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to