Tag Info

New answers tagged

0

Functional code is often encouraged over procedural code by experienced Mathematica users. For learning purposes, here's such a version: checkIsomorph[start_: {}] := Module[{outList, check}, outList = start; Function[ {seedling}, If[ (check = FreeQ[outList, _?(IsomorphicGraphQ[seedling, #] &)]), AppendTo[outList, seedling] ]; ...


2

You need non-standard evaluation for what you are trying to do. AppendTo needs the name (a symbol) of the list you are trying munge and has the attribute HoldFirst for that reason. For your function to pass that name to AppendTo, it must be given the HoldFirst attribute, too, and you must take care to ensure the unevaluated symbol gets passed to AppendTo. ...


1

Try using Pane, e.g. (I used a random chunk of equation for example here): Pane[TreeForm[(Abs[(mod - q2)*(q1 - lent*totalt)] + Abs[q2*(1 + q1 - lent*totalt)])/totalt, ImageSize -> 1000], ImageSize -> {600, 400}, Scrollbars -> True]


2

It's not a TreeMap using non-rectangles. But maybe can expire someone to go beyond. I believe that I get a nice squarification using this article suggested by @M.R. The code is for Mathematica V10, and can be tested in the WolframCloud. I played with Associations and some others new MMA funcitons as Area and the new @* notation. (*Test Function*) ...



Top 50 recent answers are included