wxffles
Reputation
9,327
Top tag
Next privilege 10,000 Rep.
Access moderator tools
 Feb 18 comment Error with using SortBy in a Map You have an ampersand in the wrong place. You need SortBy[# , #[[2]] &]& Feb 11 comment Adjusting contrast of a color scale with ListDensityPlot Have you tried different colour schemes? Maybe "Rainbow" or "BrightBands". Have you tried a gamma correction instead of a log? Have you tried a ListContourPlot and specify the contours you want? Feb 11 comment Nested mapping of a function They are not the same if you define something for f. Try it with, say, f = #+1&. Feb 10 comment Where does this gray solid line come from in plot? I have expanded my comment into an answer. I agree that it is a good question. The simple answer is just one of those things you remember with experience. Feb 9 comment Where does this gray solid line come from in plot? Try Axes -> None Dec 1 comment Fractals or other patterns in the quadruple linked pendulum You could plot any plane through your four dimensional parameter space. You can also get three dimensions by creating a animation. Mathematica can allow you to manipulate the parameters to find interesting results. If you would show your code I'm sure we could make it fast enough to make these suggestions practical. Nov 25 comment How to export a ParametricPlot3D as .stl for 3D printing You could just put a /. Line -> Tube on the end of your plot. Nov 25 comment Why Delete does not work? I recommend looking into the Select and Cases functions. Nov 24 comment How To Replace $\rightarrow$ by $==$ in Mathematica's Output when using Solve You do just like you said in the title. Use a rule on the rules: Rule -> Equal. Nov 13 comment Large Tuples with Negative Integers You're trying to loop through 22185312344622607535965183080365494317672538611578408721 values? Good luck. Oct 29 comment Display trailing zeros in ticks There are a number of ways to set how a number is displayed: NumberForm, PaddedForm, SetPrecision. You could Map one of these over your ticks: {#, NumberForm[#, {5, 4}]}&/@ ticks. Oct 28 comment Division by zero is slow Clever and fast, but I'm going to wonder what the heck it is doing when I come back to read the code a few months later. Comments are for the weak. Oct 28 comment Division by zero is slow I like this answer the best. It's a bit wordy, but clear what it is doing. It's fast and flexible (if you want to do more than a simple divide). It's not quite so fast if you want to do a Normal afterwards - about the same speed as the case with no zeroes. Oct 23 comment Why does integration of a radical times HeavisideTheta give a conditional expression? I get the same as OP on the same version. Oct 23 comment Ovals of plane curves (and esoteric surfaces in space) It handles unbounded components. That was the original point - trying to distinguish those. You just can't make rectangles out of them. As for nested ovals, no idea! Oct 22 comment Ovals of plane curves (and esoteric surfaces in space) LogicalExpand also helps one see what is going on. I don't have any ideas how to automatically interpret the conditions though. Oct 22 comment Ovals of plane curves (and esoteric surfaces in space) Reduce[y^2 - x^3 + x == 0, {x, y}, Reals] gives something tidier with only two cases - one with a bounded range of x, the other unbounded. Oct 20 comment How do I format the output to include the function definition? Perhaps HoldForm[X[x, y, z]] == X[x, y, z] // TraditionalForm? Oct 15 comment Help recreating a gif +1. But now colour your lines according to the (dynamic) height. Oct 13 comment Square root estimation @dionys I'm not sure why you would expect it to work with negative numbers though. There's nothing in the algorithm that will give you a complex number.