#16907: Adding two region plots yields surprising results
-----------------------------+-------------------------------------
Reporter: kcrisman | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.7
Component: graphics | Resolution:
Keywords: | Merged in:
Authors: Yuan Zhou | Reviewers: Punarbasu Purkayastha
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-----------------------------+-------------------------------------
Changes (by ppurka):
* commit: 7e336a1101995eea35abf373639db5d3a397399c =>
* branch: u/yzh/region_plot =>
* reviewer: => Punarbasu Purkayastha
Old description:
> And wrong ones, of course. See [https://groups.google.com/forum/#!topic
> /sage-support/TRM4f-LJ6vE this sage-support thread].
>
> {{{
> sage: disc1= region_plot(lambda x, y : x^2+y^2 < 1, (x, -1, 1), (y, -1,
> 1))
> sage: disc2= region_plot(lambda x, y : (x-0.7)^2+(y-0.7)^2 < 0.5, (x, -2,
> 2), (y, -2, 2) )
> }}}
> then do `disc1+disc2` and `disc2+disc1` for some surprises. Most likely
> we are abusing `contourf` in matplotlib a little by allowing the adding
> of these plots.
New description:
I have removed the branch from this ticket. Once #18286 is positively
reviewed, I will set this too to positive review. - ppurka
----
And wrong ones, of course. See [https://groups.google.com/forum/#!topic
/sage-support/TRM4f-LJ6vE this sage-support thread].
{{{
sage: disc1= region_plot(lambda x, y : x^2+y^2 < 1, (x, -1, 1), (y, -1,
1))
sage: disc2= region_plot(lambda x, y : (x-0.7)^2+(y-0.7)^2 < 0.5, (x, -2,
2), (y, -2, 2) )
}}}
then do `disc1+disc2` and `disc2+disc1` for some surprises. Most likely
we are abusing `contourf` in matplotlib a little by allowing the adding of
these plots.
--
Comment:
I have removed the branch from this ticket. Once #18286 is positively
reviewed, I will set this too to positive review.
--
Ticket URL: <http://trac.sagemath.org/ticket/16907#comment:9>
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.