21,561 reputation
764155
bio website
location Budapest, Hungary
age 34
visits member for 2 years, 10 months
seen 56 mins ago

Mathematica 10.0 Windows 7, 64-bit, 2 CPUs

Mathematica graphics


Apr
3
comment Emulating a button push or a mouse click with Mathematica code
@Daroslav I've manufactured another way to set up a listener. Please check whether it fits your needs.
Apr
3
revised Emulating a button push or a mouse click with Mathematica code
added 954 characters in body
Apr
3
comment Accessing list elements by name
@ahhh No problem, and welcome to the site!
Apr
3
answered Accessing list elements by name
Apr
3
revised How to manipulate 2D plots?
Minor bugfixes
Apr
3
comment Can the elements of a list always be sorted into a canonical order?
@belisarius ... or perhaps by ObscureOrderedQ[{#1, #2}, Method -> "RosicrucianFuzzy", "SortHebrewChars" -> No!, "ConfuseUserFurther" -> True]&. And no one will ever know.
Apr
3
comment Can the elements of a list always be sorted into a canonical order?
@belisarius I would say since in Mathematica anything can be a list-element, Intersection must deal with general lists, which implies that its sorting function should be one that can sort any expression type. And since canonical sorting is such (and I don't think any other sorting is used generally in Mathematica) I would presume Intersection uses canonical sorting. To prove it would require someone to test all the specifications of the standard order linked by andre above. So in short: no, I don't know how to quickly test Intersection's sorting order :)
Apr
3
comment Can the elements of a list always be sorted into a canonical order?
@belisarius, Aky I guess functions that implement (mathematical) set-algebra (like Intersection, Union, Complement) always sort the elements of their results. Other list manipulating functions usually don't.
Apr
2
revised Could a package be composed of references?
added 15 characters in body
Apr
2
comment Could a package be composed of references?
@rcollyer What do you mean by "contexts are not closed"? This is a bit confusing as every file has an EndPackage statement at the end. Could you please explain it?
Apr
2
comment How can I get a Button to evaluate an expression containing Get?
That chat discussion should be part of a canonical answer! Don't we have a question that requires explicitly this?
Apr
2
revised Could a package be composed of references?
added 988 characters in body
Apr
2
comment How to Initiate a queued evaluation from a Dynamic GUI without using a Button
+1 Marvellous! This should be part of Mathematica 10, in the form of Slider[..., Method -> "Queued"] and similar for all gui controls. I was about to aim for solving {$f_{start}$, $f$, $f_{end}$}, but this is now handled beautifully.
Apr
1
revised NMinimize problem again
deleted 2 characters in body
Apr
1
comment Click on a curve to start Manipulating another function
@su1 Yes, as show, menu... should be local to the module. DynamicModule is only necessary to maintain localized variables of dynamic expressions "even accross Mathematica sessions." Localizing variables prevents the outer Manipulate to interfere in any form with the inner Manipulate.
Apr
1
comment Is there a summary of answers Head[] can give?
+1 Also, for atomic data types (Integer, Rational, etc. and some more, e.g. Graphs) it returns the type rather than the head. Though it is more of a philosophical question what the differences is between type and head in Mathematica.
Apr
1
comment Click on a curve to start Manipulating another function
@su1 Please see edit!
Apr
1
revised Click on a curve to start Manipulating another function
added 831 characters in body
Mar
31
comment How to Initiate a queued evaluation from a Dynamic GUI without using a Button
@Albert Please see edit about my problems with your proposed solution. Concerning those gui elements that are not mouse-driven, one can easily modify the underlying EventHandler to handle those.
Mar
31
revised How to Initiate a queued evaluation from a Dynamic GUI without using a Button
added 814 characters in body