DavidC
Reputation
12,496
88/100 score
 Mar 11 comment Select rows from table by keys +1 for the usefulness of seeing a side-by-side comparison of the functions. Mar 11 comment Select rows from table by keys I think in many cases, SortBy[data,{First}] may be simplified to Sort[data]. Mar 10 comment Select rows from table by keys Actually, Sort[data] is sufficient if it's inside the GatherBy. Mar 10 comment Select rows from table by keys Thanks. Yes, Mathematica knows many useful ways to manipulate lists. BTW, if you wanted the id's to appear in standard order, you might do a SortBy[data,First] before GatherBy. Mar 10 revised Select rows from table by keys TableForm added Mar 10 answered Select rows from table by keys Mar 10 comment Select rows from table by keys GatherBy will possibly be of use: reference.wolfram.com/mathematica/ref/GatherBy.html Mar 9 comment Dashed mesh behind 3D object +1 SphericalPlot3D a good choice. Mar 9 revised Dashed mesh behind 3D object clearer image and explanation Mar 9 answered Dashed mesh behind 3D object Mar 8 revised How to draw a higher-genus surface smoother rendering Mar 8 comment How to draw a higher-genus surface I know what you mean. It will look slightly better without the mesh, but the shape is more like a bee-stung 8. Mar 8 comment How to draw a higher-genus surface +1 Nice pretzel! Mar 8 answered How to draw a higher-genus surface Mar 8 comment How to draw a higher-genus surface Stan Wagon's 2 double torus's can be found at blog.wolfram.com/2010/12/17/… Mar 8 comment How to draw a higher-genus surface Does Stan Wagon's one-liner double torus look like the sort of thing you are looking for? ContourPlot3D[(x^4 - x^2 + y^2)^2 + 9 z^2 == .04, {x, -1.2, 1.2}, {y, -1, 1}, {z, -.4, .4}, PlotPoints -> 30, Boxed -> False, Axes -> False, ContourStyle -> Yellow] Mar 8 comment SetDelayed and avoiding function calls through memoization Mar 8 revised SetDelayed and avoiding function calls through memoization edited tags; edited title Mar 4 comment Soft-Match String Comparison Hi Ulrik, I added some links. Remove them if you like. Or keep them. Hope you don't mind. David Mar 4 revised Soft-Match String Comparison links added