38,219 reputation
554157
bio website
location
age
visits member for 2 years, 4 months
seen 8 hours ago

Jun
12
answered Devising a sparse array rule
Jun
12
comment Devising a sparse array rule
SparseArray[A -> 77] ?
Jun
11
comment Can I use Map here rather than Table?
Or Import[#1, {"Sheets", #2}] & ~MapThread~ {fileNames, sheetNames}
Jun
11
comment How would you efficiently implement BinListsBy?
@Mr.Wizard, this one?
Jun
11
revised Thread over uneven (ragged) expressions with full functionality?
deleted 6 characters in body
Jun
11
comment Thread over uneven (ragged) expressions with full functionality?
@Rojo, thanks - good points.
Jun
10
comment Smooth 4D (3D + color) plot from discrete points
I think you missed the bit where you get from nf to colfun
Jun
10
comment State “i” goes to state “j”
@MarianadaCosta, the symbol | is a shorthand for Alternatives, so as Paxinum said, "1"|"4" is a pattern which matches either "1" or "4". You may have no use for this, but I thought it worth mentioning.
Jun
10
answered State “i” goes to state “j”
Jun
9
answered Thread over uneven (ragged) expressions with full functionality?
Jun
9
comment Thread over uneven (ragged) expressions with full functionality?
Thread2[{{1, 2, 3, 4, 5}, {6, 7, 8}}] gives a Thread::tdlen error.
Jun
8
answered Creating complex contour plots
Jun
8
comment Trying to plot the trajectory of a particle using its Lagrangian; the plot is wrong
Try using traj = ... instead of traj := ...
Jun
7
comment Can I change Legend text in a stylesheet?
@Mr.Wizard, I had a look but couldn't see where the explicit font setting was applied. I think it must be somewhere in MakeBoxes.
Jun
6
accepted Can I change Legend text in a stylesheet?
Jun
6
comment Pattern evaluation in nested function call
@Ramiro, yes they're global symbols. Sometimes it's very useful to use Module symbols like that, it's not necessarily a bad thing. You just have to wary of leaking memory if the Module is evaluated many times because it will create a new unique symbol each time. In this case it was more just that there was no need to use symbolic parameters in the Function when the numerical values were already known.
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