Visualizing Simulation Results
When a simulation job completes, CoModel loads the result data automatically and renders interactive charts on the right side of the simulation panel. The variable selector on the left helps you browse and compare variables quickly.

Loading results
When the completed event arrives, the front end requests the result data automatically and caches it locally. At that point:
- The variable selector on the left is split into two sections by variable type;
- All state variables are selected by default;
- The right side immediately renders a Time Domain line chart of the selected variables.
For large result files, CoModel loads the checked variables on demand instead of pulling in the entire dataset at once, keeping the browser responsive.
Variable selector
The variable selector occupies the lower half of the simulation panel's left side and supports the following actions:
| Action | Description |
|---|---|
| Search | Filters by variable name in real time, with no network requests |
| Select All / Deselect All | Applies separately to the State Variables and Observable Variables sections |
| Check a single variable | The chart re-renders immediately |
| Hover a variable name | Shows the full variable name and a description tooltip |
Variables fall into two categories:
| Type | Source | Selected by default |
|---|---|---|
| State variables (State) | unknowns after structural_simplify |
✅ Yes |
| Observables (Observable) | Left-hand sides of the observed equations |
❌ No |
Variable names may contain ., e.g. spring1.x, motor1.F; the system treats them as plain strings, not object paths. If a variable definition carries unit metadata, a unit badge appears after the variable name.
Tip: at most 20 curves can be displayed at once; beyond that the system shows "At most 20 curves can be shown at once".
Time Domain plot
The Time Domain plot is the default chart type: the horizontal axis is time (in s), the vertical axis is the variable value.

Axis rules
- Variables with the same dimension share one Y axis.
- With exactly two dimensions, dual Y axes are enabled (left + right).
- With more than two dimensions, each curve is normalized to its own range and a notice appears: "Too many units; consider viewing in groups". Tooltips still show raw values.
Chart interactions
| Action | Effect |
|---|---|
| Mouse hover | A crosshair line appears; the tooltip lists each variable's value at that moment |
| Scroll wheel | Zooms the X-axis time range; the Y axis adapts |
| Drag | Pans the X-axis time range |
| Double-click | Resets the X/Y axes to the initial global view |
| Click a legend item | Hides / shows the corresponding curve |
| Box select | Zooms into the selected region |
| Fullscreen | The chart fills the viewport; click again to exit |
Free Plot
Click the Free Plot tab at the top to pick custom X/Y/Z axis data columns and build more flexible comparison charts:
- 2D chart: choose any two columns as the X and Y axes; data is aligned by time
t. - 3D chart: choose three columns as the X, Y and Z axes, also aligned by time.
- Logarithmic axes handle columns with a wide dynamic range.
- Multiple series can be added, each with its own color and a legend label; when no label is given, the system extracts the common prefix of the column names.

Handling large datasets
- When a single curve exceeds 50,000 points, the front end downsamples automatically (e.g. the LTTB algorithm), preserving visual accuracy without jank.
- When the result JSON exceeds a threshold, only the checked variables are requested instead of the whole payload.
- If chart rendering fails, the system prompts you to refresh; you can also download a CSV from Exporting Results & Managing Simulation Jobs as a fallback.
Once your charts are configured, continue with Exporting Results & Managing Simulation Jobs to learn how to export data and manage past jobs.