Reputation
23,839
Next tag badge:
193/100 score
17/20 answers
Badges
9 72 179
Newest
 Announcer
Impact
~305k people reached

Jul
21
comment How to sort arguments of Times in nonstandard order?
@Mr.Wizard Wait! On second thought, I ask for more time to evaluate the differences. One of my concerns (not worded above) was that the output must be readily convertible by TeXForm and I'm not sure Row-s in Silvia's answer are ok with TeX. Will check it tomorrow all your answers, have to sleep now.
Jul
21
comment How to sort arguments of Times in nonstandard order?
Thanks @Mr.Wizard, that is the one I was looking for. Accordingly, mine is a duplicate then.
Jul
21
comment How to sort arguments of Times in nonstandard order?
@Sjoerd I had the same feeling, and you can imagine that I took the time to look for it. BTW, I find it very strange that a complex typesetting environment like Mathematica does not provide this functionality readily and one has to hack his way like jkuczm did...
Jul
21
comment How to sort arguments of Times in nonstandard order?
The only occasion when a user-defined function should start with a capital letter! +1 : )
Jun
15
comment What are the most common pitfalls awaiting new users?
@Mr.Wizard Sure, you're right about using shortcut names (I do that myself a lot during development), but since this thread is mostly for new users, I think it's useful for them to stick to telltale function names. I'm afraid a coding-style wiki (though might be interesting) would fall into the fuzzy, "personal taste"-type questions. At least I know that my style has changed a lot during the years...
May
8
comment What is the most convenient way to read definitions of in-memory symbols when we don't have the source files? (Spelunking tools)
Is it by design that (Print)Definitions omits formatting definitions like MakeBoxes[...]^:=... (e.g. in case of PrintDefinitions@EvaluationObject)? Is it because some dynamic formatting box could lead to problems when evaluated for printing? @Rolf Try ChartElementData: it has 1853 definitions.
May
2
comment How to call external commands with parameters on Win7?
I recommend using RunProcess (and related StartProcess, KillProcess), much easier to set up complicated command chains. It constructs the actual command to conform to the actual platform it is run on, concerning paths, spaces, escape characters, etc.
May
1
comment BezierCurve in EdgeShapeFunction fails when used on multiedges graph
See built-in automatic method using "EdgeLayout" that curves edges.
May
1
comment Is it possible to draw a curved edge between two vertexes of a graph?
Use the built-in edge-curving method via the "EdgeLayout" option.
Apr
29
comment How to force DistributionChart to plot empty datasets?
Yes, this really pointed me to the right direction, thanks! Previously I failed to figure out how to pass on built-in CEFunctions to my own cef.
Apr
29
comment How to force DistributionChart to plot empty datasets?
Ok, this is even better but it fails when one wants to use built-in chart elements, like "PointDensity", etc. Yes, I forgot to include this in my post (sorry about that), modified now.
Apr
28
comment How to force DistributionChart to plot empty datasets?
@kguler Sure, I can do that, but it would not be rubust: what if my distribution has the expected value of 0? Than I had to replace {} with something else.
Apr
28
comment How to force DistributionChart to plot empty datasets?
+1, really nice trick (I feel ashamed that I have not thought of this).
Apr
21
comment How to disable the small pop-up windows when mouse is over a Mathematica command in V10?
This also removes the code-completion assistant, which is otherwise helpful during typing. Is there any way to have the completion floater but not the mousover floater? It seems like I either have both or none (or only the mouseover floater but not the former). (Mathematica 10.1 Win7)
Apr
17
comment How to synchronize the display of dynamic objects?
It is enough if the Dynamic is moved to wrap the Line, no need to make the full content dynamical as well. I assume, SpehericalRegion cannot pre-determine the full region because of the dynamical content and that is why the explicit plot range is required.
Apr
15
comment Bug in MovingMap (breaking change between version 10.1 and 10.0.2)?
This returns an error for me (v10.1.0, 64bit, Win7): Quantity::unkunit: Unable to interpret unit specification Events. >>
Apr
14
comment Faded output is printed from dynamic object
@John, I am ashamed that all the way since v6 I have not realized this at all. I guess my setting of Manual was a frozen bad habit. Thanks for the help, setting was removed from my init.m!
Apr
13
comment How to map over inner keys of nested Associations?
@Mr.Wizard You might be right: while there are some examples (like Associations as keys), now that I scanned the docs I do have the feeling that an association is meant to be (used mainly as...) one-dimensional. And of course, there is this, which might indicate that the 1D-approach is intentional. But on the other hand, labeled data is automatically used by charting functions as labels/legend...
Apr
12
comment How to map over inner keys of nested Associations?
@Mr.Wizard Look around Dataset, under Applications > Associations of Associations, e.g. ExampleData[{"Dataset", "Planets"}].
Apr
12
comment How to map over inner keys of nested Associations?
@Mr.Wizard BTW, do you have any idea why these functions are not applicable at different levels? Association is not meant to be a single-level vector, even the documentation has many nested examples, so I wonder.