Guest User

Untitled

a guest
Apr 3rd, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. a[k_, n_] := (2^(-1 - n^k) \[Pi] Gamma[n^k])/Gamma[1 + n^k/2]^2
  2. q[n_] := Module[{img},
  3. img = Rasterize[
  4. DensityPlot[
  5. Arg[a[x + I y, n]], {x, -\[Pi], \[Pi]}, {y, -\[Pi], \[Pi]},
  6. PlotPoints -> 50, WorkingPrecision -> 50,
  7. PerformanceGoal -> "Quality", MaxRecursion -> 3,
  8. ColorFunction -> (ColorData[{"DarkRainbow", {-Pi, Pi}}][#] &),
  9. ColorFunctionScaling -> False, Frame -> False,
  10. PlotRangePadding -> 0, ImageMargins -> 0], "Image",
  11. RasterSize -> 512];
  12. Plot3D[Abs[a[x + I y, n]], {x, -2, 2}, {y, -2, 2},
  13. PlotStyle -> Texture[img], PlotPoints -> 50, Mesh -> None,
  14. Lighting -> "Neutral", WorkingPrecision -> 50,
  15. PerformanceGoal -> "Quality", ClippingStyle -> White,
  16. MaxRecursion -> 3, ExclusionsStyle -> None,
  17. BoundaryStyle -> Directive[Thin, Black],
  18. AxesLabel -> TraditionalForm /@ {Re[z], Im[z]}, ImageSize -> 600]
  19. ]
Advertisement
Add Comment
Please, Sign In to add comment