Tag Info

New answers tagged

3

not quite what you asked for, but possibly useful: relationships = {1 <-> 2, 2 <-> 3, 2 <-> 4, 3 <-> 5, 2 <-> 6, 6 <-> 7, 4 <-> 8, 4 <-> 9}; numNodes = Max[relationships[[All, 2]]]; sizes = RandomReal[{0.25, 1}, numNodes]; xCoords = {0, 1, 2, 2, 3, 3, 4, 5, 5}; vars0 = Array[a, 9]; Manipulate[ vars = ...


1

One could modify the stylesheet to change the style "Quantity". The existing style "QuantityTF" seems similar to the old style. Style does not seem to work on Quantity, so I resorted to substituting it in the boxes. (The variable ds is set to the OP's dataset.) quantityForm[expr_] := CellPrint@ Cell[BoxData@ToBoxes[expr, StandardForm] /. ...


2

The main thing with the ListStreamPlot is that it needs a data in a form of list of {{x, y}, {vx, vy}} pairs. vx = Import["Re1000_c100_u.dat", "CSV"]; vy = Import["Re1000_c100_v.dat", "CSV"]; x = Table[j, {i, 0, Length[vx] - 1}, {j, 0, Length[vy] - 1}]; y = Table[i, {i, 0, Length[vx] - 1}, {j, 0, Length[vy] - 1}]; ListStreamPlot@MapThread[{{#1, #2}, ...



Top 50 recent answers are included