Gradients
Gradients treat a space as a continuous field rather than a set of clusters. The backend fits a set of feature axes over the space, and Mantis renders those axes as color maps, field lines, hotspots and 3D terrain, or maps them onto point color and point size. Six panels make up the family: the Gradients panel and three map views, two of which have a companion controls panel.
Where to find it
View > Exploration > Gradients opens the Gradients panel. From there, three buttons open the map views, and two of them also open their controls panel:
- Open Cross-Axis View
- Open Arithmetic View, plus Arithmetic Controls
- Open Feature Scatterplot, plus Scatterplot Controls
Each view opens in the tabset that holds the Map tab, and only one copy of each can exist. Clicking a button again focuses the tab you already have. All three views embed Map (Legacy), because the gradient geometry is rendered inside that scene.
Features have to exist first
Everything here reads a list of features computed for the space. If they have not been computed yet, the panel says so and offers a retry. The Recompute button at the bottom of the panel triggers the job and lets you pick the method:
- SVAE, the default and the better result. Mantis polls for it for up to about 25 minutes.
- PCA, faster, polled for about 5 minutes.
The Gradients panel
The panel is titled Gradients Explorer. Feature Selection picks the active feature and toggles the overlay on or off. Once it is active, four more sections appear:
- Field Line Controls: show field lines, animate them, and set arrow density. Field lines are drawn as wavy lines with arrowheads that travel along them.
- Concentration Areas (Hotspots): show hotspots, set how many, set the density and feature thresholds, and choose whether hotspots are found by density, by feature value, or both. Two more toggles compact the cluster and feature labels drawn inside them.
- Visualization Mode: 2D or 3D. In 3D the gradient becomes terrain, with height exaggeration, surface opacity, wireframe and contour-line controls.
- AI Insights: generates a written summary of the active feature from a sample of the space’s point text.
Below those sit three more tools:
- Semantic Grouping switches the current map between
SpatialandSemanticlayout. In semantic mode, points are regrouped by their dominant feature axis, and a slider moves each group between collapsed, original and expanded spacing. This changes the map in place. - Path Analysis shows the result of the last path you drew across the map while gradients were active, including how feature values change along it.
- Advanced Options enables per-feature toggles, a search radius around the current selection, and an analysis of the features in that radius that refreshes as you move the selection or change the radius.
Cross-Axis
Cross-Axis compares two features by recoloring the points, with no surface and no plane. Pick Feature 1 (red) and Feature 2 (blue) from the two lists in the control bar, then click Compute. Each point is colored by blending its normalized values for the two features: red where the first dominates, blue where the second does, purple where both are high, and muted gray where neither is. The legend sits at the right of the bar.
Once a comparison is on screen, two more buttons appear: Export, which downloads a PDF brief of the comparison, and Clear, which removes the coloring.
Arithmetic
Arithmetic builds a new field out of the ones you have. The map tab itself is just a status strip and the map; all controls are in Arithmetic Controls.
- Build the expression. Each row is a weight times a feature. Use + term to add rows and the trash icon to remove them. Weights accept negatives, so you can subtract one feature from another.
- Click Compute. The derived field renders on the Arithmetic map with a diverging color scale: red where the combined value is high, blue where it is low, near-white where it is close to zero. The applied expression and its terms are listed underneath.
- Switch to 3D to see the field as terrain. The 3D button stays disabled until a computation has produced a height matrix.
- Adjust the surface with height exaggeration and surface opacity, and turn on the wireframe overlay. These take effect in 3D.
- Export downloads a PDF brief of the derived field, and Clear removes the overlay.
Feature Scatterplot
Feature Scatterplot keeps every point where the embedding puts it and encodes features into the marks instead. In Scatterplot Controls:
- Size by picks the feature that drives point size. Points below the 5th percentile shrink to 40 percent of the base size; points above the 95th grow to 160 percent.
- Color by picks the feature that drives point color, on a continuous low-to-high scale shown as a legend bar. Leave it empty to keep cluster colors.
- Reset clears both.
Either control can be used alone.
How the overlays are scoped
Each view owns its own overlay slot, so a Cross-Axis coloring never leaks into the Arithmetic tab. Closing a view clears its overlay. This is also why only one tab of each view may exist at a time.
Limits
- The gradient plane, field lines, hotspots and 3D surface render only in the legacy scene, which is what the three views embed. On the default Map an active gradient does one thing: in 2.5D it lifts points to the gradient’s height. It draws no plane, no lines and no hotspots.
- Recompute is a long backend job. The panel polls and reports progress; it does not block you from working elsewhere in the meantime.
- Cross-Axis needs two different features. The Compute button stays disabled until both are chosen and they differ.