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, 07 Mar 2019 11:37:47 +0100Wrong output by plotting with SageMath Version 8.4.rc1 (Trusted)https://ask.sagemath.org/question/45698/wrong-output-by-plotting-with-sagemath-version-84rc1-trusted/What is wrong? I got erroneous results by plots.
In: plot(sin(x))
Out: Graph - incorrect!
In: plot(bessel_J(0, x), x, -0, 1)
Out: Graph - incorrect!
I can send send you screenshots of both, but I don't how.myka32Thu, 07 Mar 2019 11:37:47 +0100https://ask.sagemath.org/question/45698/__init__() takes exactly 5 arguments (4 given) error in contour plothttps://ask.sagemath.org/question/45446/__init__-takes-exactly-5-arguments-4-given-error-in-contour-plot/ I am trying to make a contour plot of a complex valued function. Let say it is g(z).
I have imported the complex root and ContourPlot command by doing following:
from sage.rings.polynomial.complex_roots import complex_roots
from sage.plot.contour_plot import ContourPlot
I have even successfully plot the 3d-Plot, but I encountered an error stating:
__init__() takes exactly 5 arguments (4 given)
My command is:
C=ContourPlot(lambda x,y:float(green(x+y*I)),(-5,5),(-5,5))
It seems that I did not miss the fifth argument, I tried to add in some commands, such as plot_points, but then Sage said it did not expect these commands..
What did I miss? Thank you!!JacobsonRadicalWed, 13 Feb 2019 12:03:37 +0100https://ask.sagemath.org/question/45446/