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 :

4) Run in new cell : qgamma?  
  and you will understand while reading code line 

qgamma(z+1,q)

 that you wrongly swapped arguments  (q and the real or complex x)

that's why reading help and trying "simple" code is better than rushing to code 

5) Check your plot, by plotting some values

improve this code:

print qgamma(mpf(0.2),mpf(0.5))
print qgamma(mpf(0.4),mpf(0.5))

6) If you want to plot for argument z=x with complex values (instead of real 
values on the pure real line)...read before SAGE help about complex_plot

Dominique.

 
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to