7.43 February 18, 2014
==================================
Top new questions this week:
==================================
[Highlight Pie in
PieChart]\url{http://mathematica.stackexchange.com/questions/42201/highligh
t-pie-in-piechart}
PieChart has the nice functionality of highlighting a single pie when
you click on it. It is then sticking out a little.
See the following example:
PieChart[{1, 2, 3}]
Now, if I click on the ...
- asked by Markus Roellig (20 votes), answered by Simon Woods (20 votes)
----------------------------
[M9 performance regression for
Fold?]\url{http://mathematica.stackexchange.com/questions/42419/m9-performa
nce-regression-for-fold}
I noticed an over 10x performance drop on Mathematica v9.0.1 (as
Oleksandr R. commented, also v8) compared with v7.01 for this code:
SetSystemOptions["CatchMachineUnderflow" -> False];
...
- asked by Yi Wang (16 votes)
----------------------------
[Finding the intersection of a curve with an interpolation
function]\url{http://mathematica.stackexchange.com/questions/42304/finding-
the-intersection-of-a-curve-with-an-interpolation-function}
There are no issues trying to find the intersection points of two
defined curves.
f[x_] := 2 (x - 1) (x - 1.5) (x - .5) (x + .5) (x + 1) (x + 1.5);
g[x_] := 0.4 x - 0.4;
Solve[f[x] == ...
- asked by PatoCriollo (13 votes), answered by Daniel Lichtblau (12
votes)
----------------------------
[How to find out what files are touched when Get is
called?]\url{http://mathematica.stackexchange.com/questions/42453/how-to-fi
nd-out-what-files-are-touched-when-get-is-called}
Is there a way to capture all package files touched whenever a package
is called via Get, Needs, Beginpackage or similar?
While FindFile["package`"] can point to the first file that is called,
the ...
- asked by Istvan Zachar (11 votes), answered by Istvan Zachar (11
votes)
----------------------------
[Rearranging a
List]\url{http://mathematica.stackexchange.com/questions/42219/rearranging-
a-list}
I am trying to rearrange/sort a list i.e.
{{1,2},{10,140},{43,10},{1,140},{43,2}}
into
{{1,2},{2,43},{43,10},{10,140},{140,1}}
or any cyclic permutation of it.
The numbers don't repeat more ...
- asked by lalmei (9 votes), answered by Leonid Shifrin (6 votes)
----------------------------
[What are the differences between library call back functions and
WolframCompileLibrary
macros?]\url{http://mathematica.stackexchange.com/questions/42409/what-are-
the-differences-between-library-call-back-functions-and-wolframcompilel>
)
I'm trying to use LibraryLink in Mathematica, and come across some
problems.
Consider if we have a MTensor m1 which contains a one dimensional double
array, and I want to get the data of that array. ...
- asked by xslittlegrass (8 votes), answered by halirutan (6 votes)
----------------------------
[How does PlotLegends actually work with
ListPlot3D?]\url{http://mathematica.stackexchange.com/questions/42262/how-d
oes-plotlegends-actually-work-with-listplot3d}
I'm sensing this might be a rookie mistake but normally I roll my own
legends but decided to try the built in legends for a ListPlot3D.
PlotLegends is listed as an option for ListPlot3D but curiously ...
- asked by Mike Honeychurch (8 votes), answered by rm -rf (10 votes)
==================================
Greatest hits from previous weeks:
==================================
[Finding all simple paths between two vertices in a
graph]\url{http://mathematica.stackexchange.com/questions/25779/finding-all
-simple-paths-between-two-vertices-in-a-graph}
There are built-in methods to find a shortest path between two vertices
in a graph, and the question on finding all shortest paths between two
vertices has gathered quite a bit of attention.
A path ...
- asked by mrm (9 votes), answered by trybik (8 votes)
----------------------------
[What Mathematica book to
buy?]\url{http://mathematica.stackexchange.com/questions/5059/what-mathemat
ica-book-to-buy}
I have used Mathematica for several years but at a pretty low level -
piecing together built-in function inefficiently and fearing the sight
of # and &'s when I see others use them (I never do). I ...
- asked by BeauGeste (26 votes), answered by David (39 votes)
==================================
Can you answer these?
==================================
[How to extract a variable names (not values) from a list of
transformation
rules?]\url{http://mathematica.stackexchange.com/questions/42405/how-to-ext
ract-a-variable-names-not-values-from-a-list-of-transformation-rules}
I am trying to extract variable names from a list of transformation
rules mapping = {var1 -> 'val1', var2 -> 'val2' }. Variables var1
and var2 are already defined in my notebook:
var1 = ...
- asked by verse (1 vote)
----------------------------
[Establish connection with RLink and
Rtools]\url{http://mathematica.stackexchange.com/questions/42408/establish-
connection-with-rlink-and-rtools}
Has anyone gotten RLink to work with Rtools (or even tried)?
If so a simple step-by-step would be much appreciated !
When attempting to access any Rtools functionality through RLink I get:
The ...
- asked by David Ross (2 votes)
----------------------------
[NMinimize seems to call function with the same values multiple
times]\url{http://mathematica.stackexchange.com/questions/42215/nminimize-s
eems-to-call-function-with-the-same-values-multiple-times}
I have to minimize a function where the evaluation of one parameter set
takes very long (around 5sec) and discovered alongside, that NMinimize
seems to call this function multiple times with the exact ...
- asked by Frederik Ziebell (3 votes)