37,959 reputation
554155
bio website
location
age
visits member for 2 years, 3 months
seen 22 mins ago

Jun
6
comment Can I change Legend text in a stylesheet?
For me the TemplateBox tag is a string, so I tried creating a named style for LineLegend. It turns out the legend will pick up the font size, weight and colour from the stylesheet but not the font family. Looking at the boxes, the Times font is explicitly specified in a StyleBox which overrides the style from the stylesheet :-( So I think you are right, I will have to set the LabelStyle option in the kernel.
Jun
6
asked Can I change Legend text in a stylesheet?
Jun
5
answered Pattern evaluation in nested function call
Jun
5
answered How to solve a complicated equation system
Jun
5
awarded  programming
Jun
4
comment Finding all sets of elements with two common elements in a large dataset
+1 Nice use of tags in Sow
Jun
4
answered Skip other If conditions
Jun
4
comment Making a Mathematica package manager?
It might be better to follow halirutan's lead and make this a self-answered question (Q. Can we create a package manager? A. Yes we can...) with an associated chat room for discussions. As currently posed it's not clear what would constitute a "correct" answer and it risks being closed as primarily opinion based.
Jun
2
comment Partial zeta curlicues
You could use something like data = Transpose@{Re@#, Im@#} &@ Accumulate[Range[3000]^-(0.5 + 10000 I)]; to calculate the data
Jun
2
answered How to force 2+2=5
May
30
awarded  Nice Answer
May
30
awarded  Good Answer
May
29
revised Why does Mathematica give an incorrect answer to this multiple integral?
formatted code
May
29
comment How do I save the values in a table?
If you want to create a table, don't use For. Use a function that creates a table, such as Table.
May
28
comment How can I speed up this code with multiple sum?
@user14634, I added some explanation.
May
28
revised How can I speed up this code with multiple sum?
added 1725 characters in body
May
28
revised How can I speed up this code with multiple sum?
deleted 3 characters in body
May
27
comment Exhaustive examples of variable replacement due to nested scoping constructs
How about TagSet and UpSet
May
27
answered How can I speed up this code with multiple sum?
May
26
comment Generating $n$ random samples every time
+1 This must be the most efficient approach I think. You could write the output more succinctly as Differences@Join[{0}, slices, {n}]