20,487 reputation
758145
bio website
location Budapest, Hungary
age 33
visits member for 2 years, 3 months
seen 5 hours ago

Mathematica 9.0.1.0, Windows 7, 64-bit, 2 CPUs

Mathematica graphics


Mar
27
comment How to make a defined symbol stay in symbol form?
You might want to restrain yourself giving ownvalues to such symbols. Use them rather in local replacements like: Clear[w, g]; (w + g)/. {w->1, g->2}. So if you want the unevaluated symbol form, you can always write {w, g}[[2]] to get g.
Mar
27
comment Sorting a matrix alphanumerically
@Mr.W yes, I was thinking about this though some confirmation from Hauke would be useful before delving deep. Surely then we need a metric on how well a matrix is ordered.
Mar
27
comment Click on a curve to start Manipulating another function
My examples are fairly general, I only left the final Epilog part to be converted to a Table or Map, as an exercise. Thanks for the accept, though mind that it is generally more rewarding to wait a few days before accepting an answer so that other, even better solutions could appear!
Mar
27
comment Sorting a matrix alphanumerically
Sounds interesting, but I fail to get how the expected result is lexicographically ordered: h > g (rows are not ordered according to lex) and h > b (columns are not ordered...).
Mar
27
revised Click on a curve to start Manipulating another function
added 1249 characters in body
Mar
27
revised Click on a curve to start Manipulating another function
added 795 characters in body
Mar
27
answered Click on a curve to start Manipulating another function
Mar
26
comment Solving a system of differential equations
Did you try it with a fresh kernel? It gives solutions for x, y and z in version 9.0.1. It seems like a function definition (or alike, e.g. x'[t] = 3 x[t] + 2 y[t] + 4 z[t]) remains in memory after ClearAll, that renders one or more of the equations to immediately simplified to True.
Mar
26
accepted Alternative updating of a dynamic expression
Mar
26
comment Alternative updating of a dynamic expression
This must be the saddest Q&A and accept with so low scores... :/ I find this functionality so useful, and I hardly can believe that there is no alternative (or even builtin) method to achieve this. Anyway, you got my accept!
Mar
26
accepted Patternmatching sets
Mar
26
reviewed Close How to rotate Graphics3D into CDF?
Mar
26
comment What is the equivalent of TogglerBar that will work with Manipulate?
It only works as a SetterBar without the quotes because for a certain number of options the default is SetterBar. Try it with Manipulate[option, {option, {1, 2, 3, 4, 5, 6}}] to see that the default for n > 5 options is PopupMenu. Manipulate is a smart guy (or at least it wants to look like one).
Mar
26
comment What is the equivalent of TogglerBar that will work with Manipulate?
ControlType requires symbols and not strings: ControlType -> TogglerBar should work. Also, your example is missing a bracket } in customFunction.
Mar
26
revised How to build and operate a master Notebook?
deleted 32 characters in body
Mar
25
revised How to make Mathematica returns the exact expression I typed
edited tags
Mar
25
comment Fastest way to calculate matrix of pairwise distances
@J.M or tri = {(* lower triangle *)}; full = tri + Transpose@tri*(1-IdentityMatrix@n). Or if the diagonal is assumed to be zero (in case of most distance functions), the 1-IdentityMatrix@n part can be omitted.
Mar
24
reviewed Approve suggested edit on What is the complete list of valid Front End Tokens?
Mar
23
answered Problem with displayed coordinates in LogLinearPlot
Mar
23
revised Problem with displayed coordinates in LogLinearPlot
deleted 269 characters in body; edited title