5.26 Tuesday, July 5, 2016

================================== 
Top new questions this week: 
==================================

[Which Object-oriented paradigm approach to use in Mathematica?] http://mathematica.stackexchange.com/questions/119991/which-object-oriented-paradigm-approach-to-use-in-mathematica

Which Object-Oriented Paradigm (OOP) approach to use in Mathematica for:

general implementation, or a particular project?

There are a lot of related questions and answers in MSE on doing OOP that ...

- asked by Anton Antonov (14 votes)

—————————-

[How can I use Mathematica to sort the US Congressional Districts by PerimeterœArea] http://mathematica.stackexchange.com/questions/119944/how-can-i-use-mathematica-to-sort-the-us-congressional-districts-by-perimeter%c3%b7ar

The United States is divided into 435 congressional districts. Some of their shapes can be really strange due to gerrymandering. I think that I can find very gerrymandered congressional districts if ...

- asked by QuantumDot (13 votes), answered by Emilio Pisanty (6 votes)

—————————-

[Gillespie Stochastic Simulation Algorithm] http://mathematica.stackexchange.com/questions/119786/gillespie-stochastic-simulation-algorithm

The Gillespie SSA is a Monte Carlo stochastic simulation algorithm to find the trajectory a dynamic system described by a reaction (or interaction) network, e.g. chemical reactions or ecological ...

- asked by István Zachar (13 votes), answered by István Zachar (15 votes)

—————————-

[How to create a fascinating QR code like this?] http://mathematica.stackexchange.com/questions/120041/how-to-create-a-fascinating-qr-code-like-this

Check the facinating QRCode in my profile page here

You can find that this QRCode is some sort of intriguing as the QRCode is a IMAGE ITSELF!!!

So my question is, how to create such a QRCode ...

- asked by Wjx (11 votes), answered by Wjx (11 votes)

—————————-

[Data extraction from a picture of a graph] http://mathematica.stackexchange.com/questions/119666/data-extraction-from-a-picture-of-a-graph

How can I extract data from this picture of a graph?

i = Import["http://i.stack.imgur.com/Ac8m0.png"];

The caption of the picture reads: " Two-dimensional histogram values measured . Tick labels ...

- asked by psimeson (10 votes), answered by Simon Woods (16 votes)

—————————-

[Evaluating summations involving Fibonacci numbers in terms of Fibonacci numbers] http://mathematica.stackexchange.com/questions/119822/evaluating-summations-involving-fibonacci-numbers-in-terms-of-fibonacci-numbers

There are many summations involving Fibonacci numbers which Mathematica 10.4 is able to evaluate directly in terms of Fibonacci numbers. For example, Mathematica evaluates the summation given below as ...

- asked by John M. Campbell (9 votes), answered by yarchik (4 votes)

—————————-

[TreeForm outputs different results for the same inputs but why?] http://mathematica.stackexchange.com/questions/119745/treeform-outputs-different-results-for-the-same-inputs-but-why

First of all, please look at the below inputs and outputs:

In[1]:= $a = Array[# Range[#] &, {5}] 
 
Out[1]= {{1}, {2, 4}, {3, 6, 9}, {4, 8, 12, 16}, {5, 10, 15, 20, 25}} 
 
In[2]:= $af = Flatten[$a,  ...

- asked by Taiki Bessho (8 votes), answered by JasonB (11 votes)

================================== Greatest hits from previous weeks: ==================================

[How to plot an ellipse?] http://mathematica.stackexchange.com/questions/20100/how-to-plot-an-ellipse

I’m new to Mathematica, and I’m finding it difficult to plot an ellipse. I tried using

Plot[(x/5)^2 + (y/3)^2 == 1, {x, -5, 5}, {y, -3, 3}]

but I’m getting some errors. Is there something wrong ...

- asked by Sriram (6 votes), answered by Jens (15 votes)

—————————-

[Is it possible to draw this figure using Mathematica?] http://mathematica.stackexchange.com/questions/110848/is-it-possible-to-draw-this-figure-using-mathematica

The figure is

See the how-to video or a speeded-up GIF.

I believe it should be possible to draw this figure programmatically using some Random function, but I’m rather new to Mathematica, so I ...

- asked by AccidentalFourierTransform (50 votes), answered by M.R. (75 votes)

================================== Can you answer these? ==================================

[Hide Notebook scrollbars] http://mathematica.stackexchange.com/questions/119665/hide-notebook-scrollbars

Is it possible to hide the scrollbars from the notebook windows while still being able to use the mousewheel to scroll? Since I never click on the bars themselves they’re just a waste of space. It’s ...

- asked by Ray (3 votes)

—————————-

[Hold Values of DensityPlot to use for an other DensityPlot] http://mathematica.stackexchange.com/questions/120022/hold-values-of-densityplot-to-use-for-an-other-densityplot

I have two surface functions, f[x,y] and g[x,y]. Assuming that the DensityPlot of f and g takes a while, is there a way to hold the values of DensityPlot, to efficiently DensityPlot f[x,y]-g[x,y] ?

...

- asked by Pierre L. (1 vote)

—————————-

[How to place window on second screen?] http://mathematica.stackexchange.com/questions/119835/how-to-place-window-on-second-screen

I am trying to open a window on a second screen (a thunderbolt display attached to a macbook pro) that is the full size of the second screen. Here is the command I use:

ThunderboltDimensions = 2560, ...

- asked by abwatson (1 vote)