File:Paraboloid of Revolution.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Paraboloid_of_Revolution.png (625 × 520 pixels, file size: 76 KB, MIME type: image/png)
File information
Structured data
Captions
File:Paraboloid of Revolution.svg is a vector version of this file. It should be used in place of this PNG file when not inferior.
File:Paraboloid of Revolution.png → File:Paraboloid of Revolution.svg
For more information, see Help:SVG.
|
Summary
[edit]DescriptionParaboloid of Revolution.png |
A 3D rendering of the paraboloid given parametrically by: |
|||
Date | 12 April 2007 (upload date) | |||
Source | Self-made, using Mathematica 5.1. | |||
Author | Inductiveload | |||
Permission (Reusing this file) |
|
Mathematica Code
[edit]This code does not require any modules to be loaded. It uses Chris Hill's Anti-aliasing code.
gr = ParametricPlot3D[ {Sqrt[u]Cos[v], Sqrt[u]Sin[v], u, {EdgeForm[AbsoluteThickness[4]]}}, {u, 0, 1}, {v, 0, 2π}, BoxRatios -> {1, 1, 0.8}, PlotPoints -> {10, 50}, Ticks -> False, Axes -> False, Boxed -> False, ImageSize -> 800]; aa[gr_] := Module[{siz, kersiz, ker, dat, as, ave, is, ar}, is = ImageSize /. Options[gr, ImageSize]; ar = AspectRatio /. Options[gr, AspectRatio]; If[! NumberQ[is], is = 288]; kersiz = 4; img = ImportString[ExportString[gr, PNG, ImageSize -> (is kersiz)], PNG]; siz = Reverse@Dimensions[img[[1, 1]]][[{1, 2}]]; ker = Table[N[1/kersiz^2], {kersiz}, {kersiz}]; dat = N[img[[1, 1]]]; as = Dimensions[dat]; ave = Partition[Transpose[Flatten[ ListConvolve[ker, dat[[All, All, #]]]] & /@ Range[as[[3]]]], as[[2]] - kersiz + 1]; ave = Take[ave, Sequence @@ ({1, Dimensions[ave][[#]], kersiz} & /@ Range[ Length[Dimensions[ave]] - 1])]; Show[Graphics[Raster[ave, {{0, 0}, siz/kersiz}, {0, 255}, ColorFunction -> RGBColor]], PlotRange -> \ {{0, siz[[1]]/kersiz}, {0, siz[[2]]/kersiz}}, ImageSize -> is, AspectRatio -> ar] ] finalgraphic = aa[gr]
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 01:09, 12 April 2007 | 625 × 520 (76 KB) | Inductiveload (talk | contribs) | == Summary == {{Information |Description=A 3D rendering of the paraboloid given parametrically by:<br> <math>x=\sqrt{u} \cos(v)\,</math><br> <math>y=\sqrt{u} \sin(v)\,</math><br> <math>z=u\,</math><br> |Source=Self-made, using Mathematica 5.1. |Date=12/04 |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on fr.wikibooks.org
- Usage on fr.wikiversity.org
- Usage on hr.wikipedia.org
- Usage on hy.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on lt.wikipedia.org
- Usage on lv.wikipedia.org
- Usage on nn.wikipedia.org
- Usage on no.wikipedia.org
- Usage on sh.wikipedia.org
- Usage on sl.wikipedia.org
- Usage on sr.wikipedia.org
- Usage on sv.wikipedia.org
- Usage on ta.wikipedia.org
- Usage on th.wikipedia.org
- Usage on vi.wikipedia.org