Coordinate definitions:
axes-coordinates goes from 0 to 1 in the domain.
data-coordinates are specified by the input x-y coordinates.
grid-coordinates goes from 0 to N and 0 to M for an N x M grid, where N and M match the shape of the input data.
mask-coordinates goes from 0 to N and 0 to M for an N x M mask, where N and M are user-specified to control the density of streamlines.
This class also has methods for adding trajectories to the StreamMask. Before adding a trajectory, run start_trajectory
to keep track of regions crossed by a given trajectory. Later, if you decide the trajectory is bad (e.g., if the trajectory is very short) just call undo_trajectory
.
Map representing different coordinate systems.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them