7.9 Tuesday, November 4, 2014
==================================
Top new questions this week:
==================================
[DumpsterDoofus's captivating generative
art]\url{http://mathematica.stackexchange.com/questions/64492/dumpsterdoofu
ss-captivating-generative-art}
How can I render these beautiful images that DumpsterDoofus posted?
- asked by Mr.Wizard (23 votes), answered by DumpsterDoofus (24 votes)
----------------------------
[Is there an easy way to use Matteo Niccoli's perceptual color maps for
2D plots in
Mathematica?]\url{http://mathematica.stackexchange.com/questions/64513/is-t
here-an-easy-way-to-use-matteo-niccolis-perceptual-color-maps-for-2d-plo
ts}
I have been using the ubiquitous Jet color palette for 2D plots for some
time now, and don't really care for it. Then I came across the series
of blog posts, The rainbow is dead...long live the ...
- asked by Jason B (22 votes), answered by Jason B (20 votes)
----------------------------
[How to wrap a plot around a
circle?]\url{http://mathematica.stackexchange.com/questions/64534/how-to-wr
ap-a-plot-around-a-circle}
Consider the code
a = Table[BesselJ[i, x], {i, 0, 3}]
Plot[a, {x, 0, 20}, Axes -> False]
producing
I'd like to transform the plot into a circle. In other words, I'd like
to wrap the plot ...
- asked by Sigur (14 votes), answered by Junho Lee (15 votes)
----------------------------
[Which Mathematica function has the longest name (by character
length?)]\url{http://mathematica.stackexchange.com/questions/64718/which-ma
thematica-function-has-the-longest-name-by-character-length}
I came across DamerauLevenshteinDistance[u,v] in the documentation
center so that got me thinking:
Which documented Mathematica function has the longest name?
Also, is there is a limit to the length ...
- asked by QuantumDot (11 votes), answered by Artes (18 votes)
----------------------------
[Phase portrait on a
cylinder]\url{http://mathematica.stackexchange.com/questions/64407/phase-po
rtrait-on-a-cylinder}
It is very nice and very easy to make a sketch of a phase portrait with
StreamPlot. For example, for the classical pendulum, defined by
$$
\dot x=y,\\
\dot y=-\sin x,
$$
The code
StreamPlot[{y, ...
- asked by Artem (10 votes), answered by Kuba (12 votes)
----------------------------
[Why does the documentation call functions
"pure"?]\url{http://mathematica.stackexchange.com/questions/64577/why-does-
the-documentation-call-functions-pure}
Clearly, functions in mathematica are not pure functions according to
the definition on Wikipedia (no side effects - basically implementabe
with table lookups):
x = 4;
y = 1;
a = Function[y = 0; x + ...
- asked by masterxilo (9 votes), answered by WReach (7 votes)
----------------------------
[Rasterize: Resolution option not working
properly]\url{http://mathematica.stackexchange.com/questions/64758/rasteriz
e-resolution-option-not-working-properly}
Something about Rasterize which doesn't seem to work as intended.
Recipe:
Make some simple vector graphics:
Test = Graphics[Circle[{0, 0} 1]]
Try to rasterize it having defined ImageSize and ...
- asked by Alexey Bobrick (8 votes), answered by Alexey Popkov (5 votes)
==================================
Greatest hits from previous weeks:
==================================
[How can I draw the Olympic rings with
Mathematica?]\url{http://mathematica.stackexchange.com/questions/8885/how-c
an-i-draw-the-olympic-rings-with-mathematica}
How can I draw the 5 interlocking Olympic rings with Mathematica?
(SVG version)
Edit
Hard choice, but some pretty cool answers here. I didn't have 3D answers
in mind when I posted the question ...
- asked by Mike Honeychurch (33 votes), answered by cormullion (15
votes)
----------------------------
[Why round to even
integers?]\url{http://mathematica.stackexchange.com/questions/2116/why-roun
d-to-even-integers}
According to the Mathematica help:
Round rounds numbers of the form x.5 toward the nearest even integer.
For example:
Round[{0.5, 1.5, 2.5, 3.5, 4.5}]
gives
{0, 2, 2, 4, 4}
What's the ...
- asked by wxffles (26 votes), answered by Per Alexandersson (22 votes)
==================================
Can you answer these?
==================================
[Dependent probabilities
distributions?]\url{http://mathematica.stackexchange.com/questions/64719/de
pendent-probabilities-distributions}
What's the best way to model situations with dependencies--I pick a
world state, then pick a distribution to draw samples from based on that
state. Here's a concrete version:
If I choose a 6-sided ...
- asked by Victor Shnayder (1 vote)
----------------------------
[How to get data from DB into dataset with
keys]\url{http://mathematica.stackexchange.com/questions/64391/how-to-get-d
ata-from-db-into-dataset-with-keys}
I'm a Mathematica newbie and I have the following problem: I connect to
a Oracle DB and read out a set of variables, further on I want to
histogram some of the variables. A Dataset seems to be the ...
- asked by Lea (4 votes)
----------------------------
[Max iterations in K-means clustering
algorithm]\url{http://mathematica.stackexchange.com/questions/64343/max-ite
rations-in-k-means-clustering-algorithm}
I want to use k-means for clustering. I have used the
ClusteringComponents function but I said how can I control the
max-iteration for k-means ?
- asked by Developer2000 (2 votes)