Figure
Compose publication figures from plots, images, text and 3D models. This page tours the workspace, covers figures as a whole, and points you to the deeper guides.
The workspace
Shortcuts are written with Ctrl and Alt. On macOS, press ⌘ Command for Ctrl and ⌥ Option for Alt; Keyboard shortcuts lists every Figure shortcut.
A project has one or more canvases (pages). Each canvas holds figures, the framed panels that will appear in your paper, and each figure holds elements: plots, text, shapes, arrows, images and 3D models. Plots made with fluxplot stay live after import, so you can restyle one line, axis or label, and that styling survives when the plot is regenerated.
- Tools: V select, K scale, H hand (pan), T text, Alt+R rectangle, O ellipse, L line, Shift+L arrow, P pen. R on its own opens the X-ray of the selected plot.
- The pointer is a classic arrow that changes form over an edge, a corner or a handle; a crosshair is available in Settings → General → Cursor. See Everyday editing for the pointer and for moving, resizing, rotating and cropping.
- The sidebar has two views, chosen with the tabs at its top. Layers lists Canvases (add, rename, delete), the Figures on the active canvas (family-aware number badges — “2”, “S2”, “ED3”; double-click opens the name panel in Figure-Meta) and the z-ordered Layers tree of the selected figure, with per-row show/hide, lock, drag-to-reorder and collapsible groups. Plots is the Plots rail: your plot gallery and the selected plot’s dissections, beside the canvas. Alt+G switches between the two views. Drag the sidebar’s right edge to make it as wide as you like (the canvas always keeps a strip beside the Inspector); double-click the edge to reset it. Ctrl+B hides the sidebar (bold still wins when a text element is selected).
- Clicking a figure’s name takes you to it — the view centres on that figure at whatever zoom you are already working at, so a big canvas stays navigable without hunting. Your zoom is never changed for you. Click the name again after panning away to snap back to it.
- Drag a figure’s row up or down the list to reorder the figures — or press Alt+↑ / Alt+↓. Shift+click picks a run of rows and Ctrl+click adds or drops one, and the whole pick then moves as a block. This changes the order of the list only: nothing moves on the canvas, and no figure is renumbered — reordering and renumbering are separate on purpose, so use the name panel in Figure-Meta below when you want the numbers to follow.
- The Inspector puts the selection’s position, size and appearance first. The colour palette, a plot’s layout controls and the journal export options expand as needed; drag its left edge to resize it, and Ctrl+Shift+B hides it for a clean canvas. F opens the same properties as a menu beside the selection.
- Ctrl+Z undo, Ctrl+Shift+Z redo, zoom controls in the toolbar (5%–25600%). Undo and redo buttons show when a step is available. The toolbar distinguishes waiting changes, saving, and a failed save with Retry. If a save fails, switching between Figure and Slides keeps your edits in the original editor until they can be saved.
Where to go next
The rest of this page is about figures as a whole: creating, naming, captioning, exporting. Choose a guide for the material you want to work with:
Scientific images and stacks — place a movie, compare channels, inspect segmented objects and pull out a linked inset.
Plot gallery and source links — the Plots rail beside the canvas (reading a tile, narrowing the gallery, placing a plot, dissections and notes), the full Plot gallery, the global plot library, importing files and pasted images and keeping linked sources current.
Edit plot parts and data views — picking parts inside a plot, restyling them, the X-ray, dissecting a plot, axis view, colour scales and View as (colour-vision simulation).
Layout, drawing and typography — everyday editing (the pointer, moving, resizing, rotating, cropping), Align & Arrange, the property menu, colours and colormaps, resizing a figure, resizing a plot (reflow), drawing, connectors and labels that stick, text, cascade and reusable designs.
3D models in Flux — importing a GLB or 3D fluxplot, orbiting, parts, value fields and shape states.
The agent and command-line side of Figure is in Commands.
Finding and naming figures
Create and duplicate figures
Press Ctrl+K, choose New figure, then click the canvas where its upper-left corner should go; a dashed outline follows the pointer to show where it will land. Flux uses that point when it is free, or the closest position that keeps clear of other frames and their titles. Escape cancels placement.
Hold Alt while dragging a figure’s title to duplicate the whole figure, including its panels, captions and guides. The copy inherits its family and takes the next number (later figures of the family shift up by one) and a new permanent reference. A click without a drag creates no copy; Escape cancels a duplicate drag and Ctrl+Z undoes it.
Selection handles remain usable when an element overhangs its frame, and you can begin a selection rectangle in the empty canvas outside a frame: it selects in the frame it covers.
Names, numbers and references
Open All… in the Figure sidebar, or Reference, sources & used in… in the Inspector, for the project-wide figure catalog. Search by title, designation, reference key, or canvas. Each result has a preview, source status, and links to the saved documents that use it. Paper’s insert and reference pickers show the same title, designation, canvas, and key.
A figure has three distinct labels:
- Title is the human name, such as “Growth curves”. It is the primary label in lists and pickers. Ctrl+R or a double-click on its sidebar row opens the title editor.
- Designation is the publication family and number, such as “Figure 2” or “Supplementary Figure 4”. The Numbering tab moves a figure within its family; the title editor also lets you choose its family (Alt+↑/↓) and number. Numbers stay contiguous: inserting a number shifts its neighbours, and deletion compacts the surviving figures.
- Permanent reference is the stable key, such as
@fig-growth. Use Copy in the catalog to copy it. Title changes, numbering changes, canvas moves, and manuscript edits keep that key attached to the same figure. Duplicating a figure creates a new key.
Paper order does not change figures or their numbers. Reorder prose, references, and embedded figures freely. Paper displays the numbers chosen in Figure, and exports use those same numbers. Canvas list order is also separate from publication numbering.
Existing projects retain their reference keys and filenames. The readable title is not a filename, and you do not need to rename stored files to rename a figure.
Panels and captions
- Mark a text element as a panel label with Alt+L or the Panel label toggle in its F-menu; Auto-letter panels (in the Inspector’s Figure section) letters them a, b, c… in reading order.
- Panel references follow the panel itself when you relabel or auto-letter panels. Flux updates saved manuscript references and open editor buffers automatically. If removing a referenced panel would make its reference point somewhere else, the save stops with a clear conflict until you restore the panel or repair that reference.
- Alt+M opens Figure-Meta on the active figure. Select a figure in the left column, inspect its page proof in the middle, and edit captions on the right. The figure list shows caption word counts, with a ring for an empty caption. In the search field, ↑ / ↓ selects a figure and Enter focuses its first field.
- Click the name below the proof or press Alt+N to edit the title, family and number and see the permanent reference. + New family… creates a custom family. Captions can still be edited with the name panel open.
- Drag the divider to resize the proof, Ctrl+wheel to zoom, drag to pan and Ctrl+0 to fit the figure with its caption. Expand or collapse caption blocks by their headings. The word count updates as you write. Ctrl+S saves immediately and the status bar reports the result.
- Add closing caption · ps adds optional prose after the final panel caption. It appears as ordinary text, with no “ps” label, and stays at the end when panels are added or reordered. Remove it with its × button; metadata Undo can restore it.
- Shift+Alt+M opens Figure-Meta already pinned in a separate window; Pin open and Dock move the same view between windows. You can keep editing the workspace while it is pinned. Shift+Alt+G likewise opens the full Plot gallery in its own window.
- A opens Align & Arrange beside the selection with Align active; Alt+T opens it with Arrange active, and Space switches panes. Line panels up, space them evenly, align the axes of several plots, or reflow a messy selection into a row, column or grid — see Align & Arrange.
- Shift+R shows rulers (drag from them for guides); Shift+G shows the background grid.
Scientific images
Place a calibrated image, movie or multidimensional stack from the project’s Plots rail. R or a double-click on the image opens its channel histograms, depth and time rails, and object layers. A frame, channel split or magnified inset refers back to the same pixels. Work with scientific images and stacks.
Exporting figures
The Inspector’s Export section renders the selected figure to PNG, SVG, or PDF. For submissions, expand Journal-spec raster, pick a target width (single/double column presets or custom mm), a DPI and transparency, and export TIFF or PNG at exact print size.
An export captures the figure when you start it, so edits made while choosing a filename cannot change its artwork or dimensions. Large raster exports offer Cancel export and keep the editor responsive. An unsupported output size reports an error rather than reducing its resolution. PDF pages use the figure’s physical dimensions.
Send to deck… turns the figure into a slide, still linked to the same plots.
Troubleshooting
| Symptom | Cause → fix |
|---|---|
| Ctrl+click won’t select a part | The plot isn’t semantic (imported without its manifest) → re-save via fp.save and re-import, or check flux validate-plot |
| An import landed huge / outside the frame | True-size import of a large plot → Ctrl+Shift+I to bring it inside, then resize deliberately |
| My plot stretches instead of reflowing | Read the Inspector’s Layout status. Regenerate legacy plots with fluxplot ≥ 0.4; choose Reflow if Stretch was selected. Unsupported layouts (polar, 3D, subfigures, compressed layout) name their reason. See Resizing a plot. |
| Ticks look crowded after a resize | Enlarge the plot or reduce Content scale; fixed date, category and custom labels do not re-tick. |
| A label moved oddly after a resize | Check the Layout status and the source transform. Use Stretch for a positional fallback, or correct the annotation in the source and regenerate. |
| Restyles vanished after regenerating | The plot’s series names changed in the script → keep series= names stable (see Semantic plots) |
| An older Flux cannot open a canvas | The canvas holds a connector or label that sticks to a shape, which is saved in a newer file format → open the project in the current Flux; see Connectors and labels that stick |
| “These figures changed on disk” banner | Another tool or agent edited them → Reload theirs or Overwrite with mine — nothing is lost silently |
| “Some figures could not be loaded” | A referenced canvas is missing or unreadable. Restore or repair it and reopen the project; saving is blocked to preserve the existing files. |
| “Caption edits conflict” | Both the caption and its Markdown copy changed. Reconcile those versions before saving; changing panel labels alone does not create an external edit. |
For 3D model problems (grey tiles, Orbit, missing GLB files), see 3D models troubleshooting; for dissections and notes, see Dissections troubleshooting.