ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 25 Jun 2021 17:11:28 +0200What does SageMath use to create the pattern when planes overlap?https://ask.sagemath.org/question/57502/what-does-sagemath-use-to-create-the-pattern-when-planes-overlap/When two differently colored planes are plotted on (almost) the same plane, what is the formula that SageMath uses to create the pattern shown in the graph? Here one plane is slightly larger-- which makes SageMath show them both in a way that looks slightly similar to an animal print. Also, as you move/manipulate the graph with the mouse, the pattern changes. What formula or information does SageMath use to show the pattern?
I used the Sage Cell Server online to plot this:
sage: M = implicit_plot3d(lambda x,y,z: x, (-15,15), (-15,15), (-15,15), rgbcolor= (0.0, 1.0, 0.0), frame=true)
sage: N = implicit_plot3d(lambda x,y,z: x, (-15,15), (-15,15), (-15,15.5), rgbcolor= (0.0, 0.0, 1.0), frame=true)
sage: M+N
Thanks for any information you can provide!
Wed, 09 Jun 2021 16:21:15 +0200https://ask.sagemath.org/question/57502/what-does-sagemath-use-to-create-the-pattern-when-planes-overlap/Comment by lschaffer for <p>When two differently colored planes are plotted on (almost) the same plane, what is the formula that SageMath uses to create the pattern shown in the graph? Here one plane is slightly larger-- which makes SageMath show them both in a way that looks slightly similar to an animal print. Also, as you move/manipulate the graph with the mouse, the pattern changes. What formula or information does SageMath use to show the pattern?</p>
<p>I used the Sage Cell Server online to plot this:</p>
<p>sage: M = implicit_plot3d(lambda x,y,z: x, (-15,15), (-15,15), (-15,15), rgbcolor= (0.0, 1.0, 0.0), frame=true)
sage: N = implicit_plot3d(lambda x,y,z: x, (-15,15), (-15,15), (-15,15.5), rgbcolor= (0.0, 0.0, 1.0), frame=true)
sage: M+N</p>
<p>Thanks for any information you can provide!</p>
https://ask.sagemath.org/question/57502/what-does-sagemath-use-to-create-the-pattern-when-planes-overlap/?comment=57761#post-id-57761Thank you!Fri, 25 Jun 2021 17:11:28 +0200https://ask.sagemath.org/question/57502/what-does-sagemath-use-to-create-the-pattern-when-planes-overlap/?comment=57761#post-id-57761Comment by rburing for <p>When two differently colored planes are plotted on (almost) the same plane, what is the formula that SageMath uses to create the pattern shown in the graph? Here one plane is slightly larger-- which makes SageMath show them both in a way that looks slightly similar to an animal print. Also, as you move/manipulate the graph with the mouse, the pattern changes. What formula or information does SageMath use to show the pattern?</p>
<p>I used the Sage Cell Server online to plot this:</p>
<p>sage: M = implicit_plot3d(lambda x,y,z: x, (-15,15), (-15,15), (-15,15), rgbcolor= (0.0, 1.0, 0.0), frame=true)
sage: N = implicit_plot3d(lambda x,y,z: x, (-15,15), (-15,15), (-15,15.5), rgbcolor= (0.0, 0.0, 1.0), frame=true)
sage: M+N</p>
<p>Thanks for any information you can provide!</p>
https://ask.sagemath.org/question/57502/what-does-sagemath-use-to-create-the-pattern-when-planes-overlap/?comment=57519#post-id-57519The program used to display this is three.js, so this is more of a question for them (e.g. `(M+N).show(viewer='tachyon')` gives a different result).Wed, 09 Jun 2021 23:35:33 +0200https://ask.sagemath.org/question/57502/what-does-sagemath-use-to-create-the-pattern-when-planes-overlap/?comment=57519#post-id-57519