Smart Command Guide

Use three command families to edit, annotate, and export figures.

This guide lists the shortcut commands and natural language expressions currently recognized by SmartPlot.

Quick Start

Start with three common command families. Click a card to filter the library.

Searchable Command Library

Search quick commands, natural language expressions, and parameters.

/set

Set X-axis range

/set x range 0 to 20
Natural expression

Set X range from 0 to 20

Parameters

Replace 0 and 20 with any numeric range. Y range works the same way.

/set

Rename axis titles

/set x title Energy (eV)
Natural expression

Set X title to Energy (eV)

Parameters

Replace x / y and the title text as needed.

/set

Switch linear or log scale

/set y scale log
Natural expression

Use log scale for Y axis

Parameters

Scale can be log or linear.

/set

Adjust ticks and decimals

/set x ticks 6
Natural expression

Set X ticks to 6

Parameters

Supports major ticks, target ticks, minor ticks, and decimal places.

/set

Control axis lines

/set only bottom axis line
Natural expression

Show only the bottom axis line

Parameters

Controls top, bottom, left, right axis lines and line width.

/set

Change line color

/set line color deep blue
Natural expression

Change line color to deep blue

Parameters

Use names such as red, blue, deep blue, or hex colors like #1A5C82.

/set

Change line width and style

/set line width 2
Natural expression

Set line width to 2

Parameters

Use numeric widths or relative changes such as thicker / thinner.

/set

Adjust markers

/set marker size 6
Natural expression

Set marker size to 6

Parameters

Supports marker size, shape, and visibility.

/set

Adjust legend

/set legend top right
Natural expression

Move legend to top right

Parameters

Supports visibility, position, text size, and series names.

/set

Adjust title and fonts

/set title NADH conversion
Natural expression

Set title to NADH conversion

Parameters

Supports title text, title size, title font, and visibility.

/set

Show or hide grid

/set grid on
Natural expression

Show grid lines

Parameters

Grid can be on / off and also supports natural expressions.

/set

Apply and reverse palettes

/set palette batlow
Natural expression

Apply batlow palette

Parameters

Supports batlow, cividis, lime-warm-sand, heat-gold, aura-indigo, and more.

/set

Set palette sampling range

/set palette range 20 to 80
Natural expression

Set palette range 20 to 80

Parameters

Useful for fine-tuning the sampled part of a color palette.

/set

Adjust heatmap colors and colorbar

/set z range 0 1
Natural expression

Use batlow for heatmap

Parameters

Supports heatmap colormap, Z range, auto range, and colorbar visibility.

/set

Resize canvas

/set canvas 960x540
Natural expression

Resize canvas to 960x540

Parameters

Useful for matching website, presentation, or publication ratios.

/set

Adjust bars and error bars

/set bar gap 0.2
Natural expression

Use grouped bar layout

Parameters

Supports bar layout, bar gap, group gap, errorbar width, cap width, and color.

/set

Tune volcano thresholds

/set volcano p value threshold 0.05
Natural expression

Set volcano p value threshold to 0.05

Parameters

Controls threshold and significant-point display for volcano plots.

/add

Add text annotation

/add text "Order 1"
Natural expression

Add text “Order 1”

Parameters

Replace the quoted text as needed.

/add

Add vertical reference line

/add vline 905
Natural expression

Add vertical line at x=5

Parameters

Supports /add vline, vertical line, and vertical reference line.

/add

Add horizontal reference line

/add hline 5000
Natural expression

Add horizontal line at y=0

Parameters

Supports /add hline, horizontal line, and horizontal reference line.

/add

Add arrow

/add arrow
Natural expression

Add arrow

Parameters

Position can be adjusted on the canvas after insertion.

/add

Add rectangle, circle, or ellipse

/add rectangle
Natural expression

Add rectangle

Parameters

Useful for highlighting regions, peaks, or local data.

/export

Export PDF

导出为 PDF
Natural expression

Export as PDF

Parameters

Useful for papers, presentations, and archiving.

/export

Export SVG vector graphic

export svg
Natural expression

Export as SVG

Parameters

Useful for later editing in Illustrator, Figma, and similar tools.

/export

Export PNG / JPG / TIFF

export png
Natural expression

Export as PNG

Parameters

Supports png, jpg, jpeg, tiff, and related formats.

/export

Open export panel

打开导出面板
Natural expression

Open export panel

Parameters

Useful when you want to choose size, format, or export options manually.

/export

Save or open project

保存当前项目
Natural expression

Save current project

Parameters

Project files preserve the SmartPlot workspace for later editing.

/export

Common project actions

undo
Natural expression

Undo

Parameters

These are general actions recognized by the Smart Command Panel.

How to make commands easier to recognize?

The Smart Command Panel works best with clear plotting operations. Try to include the object, action, and parameter.

Recommended

把线条改成深蓝色

X 轴范围设为 0 到 20

添加文字 “Order 1”

导出为 PDF

Not recommended

让图好看一点

坐标轴帮我调一下

加个说明

帮我保存一下

Run multiple commands together

Enter several commands in sequence to form a small plotting workflow.

Quick commands

/set palette batlow/set x range 0 to 20/add text "Order 1"导出为 PDF

Natural language version

换成 batlow 配色

X 轴范围设为 0 到 20

添加文字 “Order 1”

导出为 PDF

V1.3 command highlights

These capabilities are now represented in the command library.

配色与热图配色板、反转配色、取色范围、热图色标和 Z 范围版式与图形画布尺寸、柱图布局、柱间距、误差线样式项目与导出PDF / SVG / PNG / JPG / TIFF、导出面板、保存和打开项目