2023-03-03 19:52:52 +0200 | received badge | ● Famous Question (source) |
2022-06-14 15:09:12 +0200 | received badge | ● Famous Question (source) |
2022-01-16 02:33:51 +0200 | received badge | ● Notable Question (source) |
2021-08-05 08:47:36 +0200 | received badge | ● Notable Question (source) |
2021-08-05 08:47:36 +0200 | received badge | ● Popular Question (source) |
2021-04-12 18:32:27 +0200 | received badge | ● Famous Question (source) |
2020-02-22 03:52:14 +0200 | received badge | ● Notable Question (source) |
2020-01-06 23:39:38 +0200 | received badge | ● Notable Question (source) |
2019-10-13 18:41:50 +0200 | received badge | ● Famous Question (source) |
2019-05-02 09:05:51 +0200 | received badge | ● Notable Question (source) |
2019-04-12 13:52:16 +0200 | received badge | ● Notable Question (source) |
2017-02-16 06:20:15 +0200 | received badge | ● Famous Question (source) |
2016-08-28 23:22:21 +0200 | received badge | ● Popular Question (source) |
2016-04-18 10:14:45 +0200 | received badge | ● Popular Question (source) |
2016-01-17 18:17:32 +0200 | received badge | ● Taxonomist |
2015-10-29 10:23:06 +0200 | received badge | ● Notable Question (source) |
2015-06-05 14:56:03 +0200 | received badge | ● Popular Question (source) |
2015-01-06 01:54:02 +0200 | received badge | ● Famous Question (source) |
2014-07-21 19:26:36 +0200 | received badge | ● Popular Question (source) |
2014-06-29 03:15:08 +0200 | marked best answer | min(x,y)=x ... and then plot3d f(x,y)=min(x,y) Hi all I can understand the following somewhat surprising result : A friend of mine wants to plot3d the function that a human should write f(x,y)=min(|x|,|y|) what she does is of course, it does not produce the expected result because of what I said in introduction about min(x,y). By the way : So ... well ... what do I have to say to her ? What is the best way to plot a function (in the math sense of the term) when it cannot be managed by a function (in the Sage sense of the term). The following works : I guess that will also work. So my questions are :
Thanks for any help have a good night Laurent Claessens (on the night timezone :) ) |
2014-06-29 03:14:49 +0200 | marked best answer | ValueError: free variable x |--> x when plotting the function x Hi all. I got the following problem: this raises If I replace How can I do ? My rationale behind my question is that I have a class which takes a function as argument and can perform many thinks on it, among other the plot. I made the following : My point in doing so is that I have to accept, as input My questions :
|
2014-06-29 03:14:47 +0200 | marked best answer | get_minmax_data on implicit_plot This is a sequel of my question about plotting level set. In the following, G is a circle : The "correct" get_minmax_data sould be As far as I understood the code (and the thread "Retrieving xy data from implicit plots" on Sage-support), the following is the relevant part : in ../plot/contour_plot.py My questions are :
|
2014-06-29 03:14:47 +0200 | marked best answer | Plot the level sets of a function I'm trying to draw level set of a function f:R^2->R, that is the set of solutions of f(x,y)=h for a given h. For that purpose I wrote the following This works, but I'm not satisfied principally because I got the level sets under the form of a list of functions. Moreover it will not work if the level set is vertical. Thus I would prefer to get the solution under the form of a parametric curve. Does Sage provides something for that ? |
2014-05-08 09:59:26 +0200 | received badge | ● Notable Question (source) |
2014-01-08 01:50:04 +0200 | received badge | ● Notable Question (source) |
2013-12-20 05:43:02 +0200 | commented answer | Solve equation 1/3*x + sin(2*x)==1 Thanks for your answer, tmonteil. That solves the equation with enough accuracy for my purpose but it does not solves my full problem because I have a system. Ultimately I would like to know the intersection points of two curves. In my example the second curve was too easy : y-1=0. Since many painting softwares are able to fill the region between two curves (e.g. pstricks), I guess this is possible ... |
2013-12-15 03:26:48 +0200 | asked a question | Solve equation 1/3*x + sin(2*x)==1 Hi all. I have the equations and I want solutions. I know by the intermediate value theorem that there are two solutions : about x=0.5 and x=1.25. I'd like Sage to give me these solutions. I already tried to_poly_solve=True and/or explicit_solutions=True. As an example of failure : What can I do ? Thanks Laurent Claessens |
2013-08-29 05:02:18 +0200 | received badge | ● Popular Question (source) |
2013-06-26 18:15:50 +0200 | received badge | ● Popular Question (source) |
2013-03-19 03:54:30 +0200 | received badge | ● Popular Question (source) |
2013-03-12 08:07:38 +0200 | received badge | ● Notable Question (source) |
2013-01-27 19:31:08 +0200 | received badge | ● Notable Question (source) |
2012-12-14 11:13:17 +0200 | received badge | ● Popular Question (source) |
2012-09-29 11:09:05 +0200 | asked a question | PolynomialRing and from __future__ import unicode_literals Hello TypeError Traceback (most recent call last) /home/moky/script/<ipython console=""> in <module>() /home/moky/Sage/local/lib/python2.7/site-packages/sage/rings/polynomial/polynomial_ring_constructor.pyc in PolynomialRing(base_ring, arg1, arg2, sparse, order, names, name, implementation) 425 if R is None: 426 raise TypeError("invalid input (%s, %s, %s) to PolynomialRing function; please see the docstring for that function"%( --> 427 base_ring, arg1, arg2)) 428 429 return R TypeError: invalid input (Rational Field, x, None) to PolynomialRing function; please see the docstring for that function I guess this is the same kind of problem that the one in this question By the way, this is "fixed" by using |
2012-08-05 19:10:46 +0200 | received badge | ● Great Answer (source) |
2012-05-20 17:47:09 +0200 | received badge | ● Nice Answer (source) |
2012-05-20 09:55:23 +0200 | answered a question | convert expression to function Does it answer the question ? |
2012-05-02 07:41:45 +0200 | received badge | ● Popular Question (source) |
2012-04-08 12:20:14 +0200 | commented question | get_minmax_data too generosous ? By the way, what is the correct way to know the global xmin,xmax,ymin and ymax of a function ? A 3-digit approximation is enough. Up to now I'm using get_minmax_data, but is it the correct way ? |
2012-04-08 11:32:35 +0200 | asked a question | get_minmax_data too generosous ? Hello I'd like to understand the rationale behind the I would have expected ymin to be 0. Is is a bug or is it something I don't understand ? |
2012-03-22 03:53:15 +0200 | commented answer | min(x,y)=x ... and then plot3d f(x,y)=min(x,y) Yes, `min_symbolic` is the answer. Thanks :) |
2012-03-22 03:53:15 +0200 | received badge | ● Commentator |
2012-03-22 03:52:28 +0200 | marked best answer | min(x,y)=x ... and then plot3d f(x,y)=min(x,y) I can't find this, but I'm pretty sure there is another question with this on ask.sagemath.org. I think if you use the latter, all should be well. I hope? Don't have time to try now. Good luck! |