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.Thu, 22 Jan 2015 16:26:26 +0100Controling the color of a parametric surface.https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/I would like to represent a complex valued function on a parametric surface. I know that the complex_plot function can represent a complex function using colors. Is there a way of using it to color parametric surfaces? In other words, can I define the colors of the points of a parametric surface in terms of the two parameters in a natural and easy way?
Tue, 29 Apr 2014 22:48:30 +0200https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/Comment by Raul for <p>I would like to represent a complex valued function on a parametric surface. I know that the complex_plot function can represent a complex function using colors. Is there a way of using it to color parametric surfaces? In other words, can I define the colors of the points of a parametric surface in terms of the two parameters in a natural and easy way?</p>
https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16184#post-id-16184I guess I'm looking for something that looks like the following picture:
http://mailinglists.scilab.org/Plotting-functions-of-spherical-coordinates-on-a-sphere-td4025441.htmlTue, 29 Apr 2014 22:59:43 +0200https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16184#post-id-16184Comment by niles for <p>I would like to represent a complex valued function on a parametric surface. I know that the complex_plot function can represent a complex function using colors. Is there a way of using it to color parametric surfaces? In other words, can I define the colors of the points of a parametric surface in terms of the two parameters in a natural and easy way?</p>
https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16179#post-id-16179@Raul: Yeah, the answer there didn't work for me either, and I haven't (yet) gotten back to it. This is definitely possible in some sense, but a simple interface to it is not currently available. I don't have anything beyond the sage worksheet linked to from ticket #12212Fri, 02 May 2014 10:50:19 +0200https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16179#post-id-16179Comment by Raul for <p>I would like to represent a complex valued function on a parametric surface. I know that the complex_plot function can represent a complex function using colors. Is there a way of using it to color parametric surfaces? In other words, can I define the colors of the points of a parametric surface in terms of the two parameters in a natural and easy way?</p>
https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16180#post-id-16180@niles: I have seen that link before, but thanks for sharing it anyway. What I want is a little more complex than that I think. I want the colors to represent the values of a complex-valued function defined on a parametric surface. I don't really know how to adapt the answer given in that thread to achieve what I want. Maybe you have some ideas?Thu, 01 May 2014 22:19:57 +0200https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16180#post-id-16180Comment by niles for <p>I would like to represent a complex valued function on a parametric surface. I know that the complex_plot function can represent a complex function using colors. Is there a way of using it to color parametric surfaces? In other words, can I define the colors of the points of a parametric surface in terms of the two parameters in a natural and easy way?</p>
https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16182#post-id-16182If you haven't seen it yet, you could take a look at the answer here: http://ask.sagemath.org/question/1405/how-to-color-a-3d-plot-by-z-level (works for 3d graphs).Wed, 30 Apr 2014 14:49:17 +0200https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16182#post-id-16182Answer by Antlab for <p>I would like to represent a complex valued function on a parametric surface. I know that the complex_plot function can represent a complex function using colors. Is there a way of using it to color parametric surfaces? In other words, can I define the colors of the points of a parametric surface in terms of the two parameters in a natural and easy way?</p>
https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?answer=16124#post-id-16124Hi.
If I understand correctly, your question is related to this section of the Sage Trac (colormaps on implicit and parametric plots):
http://trac.sagemath.org/ticket/12212
It seems that the feature still requires some work.Wed, 30 Apr 2014 12:52:10 +0200https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?answer=16124#post-id-16124Comment by kcrisman for <p>Hi.
If I understand correctly, your question is related to this section of the Sage Trac (colormaps on implicit and parametric plots):</p>
<p><a href="http://trac.sagemath.org/ticket/12212">http://trac.sagemath.org/ticket/12212</a></p>
<p>It seems that the feature still requires some work.</p>
https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=25601#post-id-25601Update: This is about to be merged!Thu, 22 Jan 2015 16:26:26 +0100https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=25601#post-id-25601Comment by Raul for <p>Hi.
If I understand correctly, your question is related to this section of the Sage Trac (colormaps on implicit and parametric plots):</p>
<p><a href="http://trac.sagemath.org/ticket/12212">http://trac.sagemath.org/ticket/12212</a></p>
<p>It seems that the feature still requires some work.</p>
https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16181#post-id-16181I see, thank you for the link. I guess I should have to look for some workaround in the meantime. Thu, 01 May 2014 22:17:27 +0200https://ask.sagemath.org/question/11354/controling-the-color-of-a-parametric-surface/?comment=16181#post-id-16181