Join lists with nested list
Different results between V9 and V10 when using Style with Listplot
Bug in Operator Form of StringCases
Around the Clock
How to assign a list of numbers into letter grades
Joining ordered set of points with splines in spiral
Fitting ellipse to 5 given points on the plane
Join lists with nested list http://mathematica.stackexchange.com/questions/60666/join-lists-with-nested-list
Is there a way of smarter way of joining list of the form l1 = {a,{b,c}}; l2 = {d,{e,f}}; l3 = {g,{h,i}}; To obtain {a,d,g,{b,c,e,f,h,i}} The code I have is {Sequence @@ #1, Flatten[#2]} ...
- asked by mete (14 votes), answered by Junho Lee (9 votes)
Different results between V9 and V10 when using Style with Listplot
Consider this example: data = Table[{x, x^2}, {x, -2, 2, 0.1}]; ListPlot[Style[{#1, #2}, PointSize[Abs[#2]/50], Hue[#2]] & @@@ data] the results from V9 and V10 are as follows: V9 V10 It ...
- asked by Algohi (13 votes), answered by Brett Champion (7 votes)
Bug in Operator Form of StringCases http://mathematica.stackexchange.com/questions/60871/bug-in-operator-form-of-stringcases
According to the documentation there's an operator form for StringCases ?StringCases Here is the normal form StringCases["abcadcacb", "a" ~~ x_ ~~ "c"] {"abc", "adc"} Now, the operator ...
- asked by RunnyKine (12 votes), answered by WReach (8 votes)
Around the Clock http://mathematica.stackexchange.com/questions/60728/around-the-clock
I want to produce with Mathematica something like this Or this 12 hours should be arranged in a pleasing ("rotated") style around / within a rectangle. I don't ask for the hands - depending on ...
- asked by eldo (12 votes), answered by belisarius (15 votes)
How to assign a list of numbers into letter grades Here is my list: collection = {76.6256, 51.9264, 50.238, 14.4203, 80.9205, 12.2036, 2.39568, 38.2747, 12.4422, 29.9621} collection /. {x_ /; x < 50 -> "F"} and this gives me ...
- asked by Lonely Mathematician (12 votes), answered by belisarius (14 votes)
Joining ordered set of points with splines in spiral I have a collection of points {{-0.137445, -0.0103507}, {-0.0452845, 0.0343154}, {0.30498, -0.0118266}, {-0.0224633, 0.0197979}, {-0.168469, -0.0197066}, {0.0973217, 0.0478612}, {-0.0441388, ...
- asked by martin (11 votes), answered by Rahul Narain (11 votes)
Fitting ellipse to 5 given points on the plane http://mathematica.stackexchange.com/questions/60779/fitting-ellipse-to-5-given-points-on-the-plane
Five points are required to define a unique ellipse. An ellipse has five degrees of freedom: the $x$ and $y$ coordinates of each focus, and the sum of the distance from each focus to a point on the ...
- asked by user153012 (11 votes), answered by Mark McClure (21 votes)