Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>FYI: <a href="http://mathematica.stackexchange.com">http://mathematica.stackexchange.com</a></p> <p>Make up some data:</p> <pre><code>data = Table[{-1 - x^2 + y, 1 + x - y^2}, {x, -3, 3, 0.2}, {y, -3, 3, 0.2}]; </code></pre> <p>Build a <code>ListStreamPlot</code></p> <pre><code>plot = ListStreamPlot[data, StreamStyle -&gt; "Line", Frame -&gt; False, PlotRangePadding -&gt; 0] </code></pre> <p><img src="https://i.stack.imgur.com/vWLjn.png" alt="enter image description here"></p> <p>In Mathematica everything is an <strong>expression</strong> - so even this plot is basically visualized code of graphics primitives. You can extract those primitives - including lines you need - by various ways. For example - just picking parts of expression you cam find all points comprising this plot:</p> <pre><code>points = plot[[1, 2, 1]]; </code></pre> <p>If you need to see the whole expression evaluate <code>plot//InputForm</code>. Now you could also do pattern matching to see inside expression. lets find all indexes comprising all your lines:</p> <pre><code>indexes = Cases[plot, Line[index_] -&gt; index, Infinity]; </code></pre> <p>Now you have everything to analyse, draw and stylize your lines. For example - design an app that highlights a specific line in the original plot:</p> <pre><code>Animate[Show[ plot, Graphics[{Red, Opacity[.5], , Thickness[.02], Line[points[[indexes[[k]]]]]}]] , {{k, 1, "lines"}, 1, Length[indexes], 1}, FrameMargins -&gt; 0] </code></pre> <p><img src="https://i.stack.imgur.com/sRJfz.gif" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload