Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. fun[u_, v_] := {Cos[v] Sech[u], u - Tanh[u], Sech[u] Sin[v]}
  2. tab = Catenate@Table[fun[u, v], {u, 0, 2, 0.1}, {v, 0, 2 Pi, 0.1}];
  3. p = ParametricPlot3D[f[u, v], {u, 0, 2}, {v, 0, 2 Pi}, BoxRatios -> 1,
  4. Mesh -> None];
  5. p3 = ListPointPlot3D[tab, BoxRatios -> 1];
  6. sp = ListSurfacePlot3D[tab, Mesh -> None, BoxRatios -> 1];
  7. spm = ListSurfacePlot3D[tab, Mesh -> None, BoxRatios -> 1,
  8. MaxPlotPoints -> 50];
  9. Grid[{{"Plot3D", "ListPointPlot3D", "ListSurfacePlot3D",
  10. "ListSurfacePlot3D with MaxPLotPoints->50"}, {p, p3, sp, spm}}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement