I see, thank you again! I tried editting bits of your code to see why mine
wasn't working. It seems as though the main difference between our code is
that you "import *" whereas I was doing "import qgamma." When I run my code
with "import *", it works for some reason. Would you happen to know wh
OK .. what you want is :
from mpmath import *
plot(lambda q: qgamma(mpf(0.5),mpf(q)), (0, .99))
print sqrt(pi)
Bonus (my notation Fq is gammaq function and F is gamma function) :
from https://en.wikipedia.org/wiki/Q-gamma_function : lim Fq(x) q->1 =
F(x)
from https://en.wikipedia.org/wiki/G
Just for clarification, how did you know from looking at the line "qgamma(z+
1,q)" that q was supposed to be the first argument given? Because they put
their variable q in second.
Just to double check with wolframalpha, I ran it here:
http://www.wolframalpha.com/input/?i=plot+QGamma%28z%2C.5%29%
Thank you so much for your help! I'm sorry for the lack of clarity, I will
work on that. I really appreciate the help everyone gave, thanks again!
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving
Explaining better what you want, and you get better help...
..now I understand what you are trying to plot (in 2D, for one specific
value of q)
1) Restart worksheet
2) Copy in cell
from mpmath import *
plot(lambda x: qgamma(mpf(x),mpf(0.5)), (0, .99))
3) Run it => you get your plot
Extra :
from mpmath import qgamma
plot(lambda x: qgamma(.5,x), (x, 0, .99))
That's my code, I ran it again in an entirely new project, and i'm getting
a NoConvergence error. I'm not sure why the error changed between projects,
but there it is.
--
You received this message because you are subscribed t
I did this code:
from mpmath import *
plot(qgamma((.5,x), (x, 0, .99)))
I'm just trying to get a 2D plot for x =.5, with q going from 0 to .99.
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving
Trying in the cloud :
1) Code given http://trac.sagemath.org/ticket/19032
var('q,x')
from mpmath import qgamma
plot3d(lambda q,x: qgamma(q,x), (q, 0.5, 3), (x, 2, 10))
=> working fine, using plot3d
2) Your code given previously
var('q,x')
from mpmath import qgamma
plot3d(lambda x: qgamma(.