The Plot guide

The Plot app draws a graph from your readings. This guide follows one real experiment (a swinging pendulum) from the first stopwatch reading to a finished graph with error bars and a best-fit line. Every part works the same way for your own experiment.

Entering your data

The table works like a spreadsheet. Click a cell and type a number. Press Enter to move down, or Tab to move right. You can also copy a block of numbers in Excel or Google Sheets and paste it straight into the table.

The current Plot data table and variable setup controls.
The data table. Each column is one variable; each row is one reading.

Every column is a variable. The variable you change on purpose (like the length of a pendulum) is your x-variable. The variable you measure (like the time it takes to swing) is your y-variable. Click a column heading, or open the x-var or y-var tab on the right, to give each variable a name, a symbol and a unit. The Decimal places selector in Appearance → Table settings changes how that variable’s table values are shown. Automatic uses Plot’s existing format; choosing 0–10 sets the displayed precision. Calculations and copied data retain the original values. Drag a column heading’s right edge to resize it. Double-click the edge to restore its default width. The symbol and unit appear on the column header, and your graph starts its axis labels from them. The axis labels live in the Graph settings panel, so you can word them however you like: once you type your own there, they stay yours.

Tip: the + button next to the variable tabs adds another variable. To remove one, open its settings and use Delete variable, or right-click its column and choose Delete column.

Right-click a cell to delete its row, insert a blank row below it or add a new y-variable. The new variable opens in the inspector. You can also open this menu with Shift+F10 while a cell is selected.

Select values with a drag, or hold Shift while pressing the arrow keys. The bottom bar shows their count, sum and average. Sum and average display at most two decimal places; your original data keeps its precision. If the selection crosses columns, it shows only the count, because the columns may contain different quantities. Blank and invalid cells are not counted.

Importing a spreadsheet

Open File → Import data and choose a CSV or Excel .xlsx file. Plot reads it in your browser. The file is not uploaded to an AI service. Import creates a new lab unless you are already working on a practical. In that case, it replaces the data in that practical’s lab. Save any current changes when asked.

  1. For Excel, choose a worksheet. Set the first and last source rows. Tick First row contains column headings if the first selected row names your columns.
  2. Use the column menus to choose one x-variable and up to three y-variables. You can also map uncertainty columns or assign several columns as repeated trials of the same y-variable. The choices are grouped under First y-variable, Second y-variable and Third y-variable. Assign every trial column for the same measured quantity to the same y-variable. Leave unwanted columns on Ignore.
  3. Check each variable's name, symbol and unit. For CSV, check the column and decimal separators. Thousands separators are not accepted.
  4. Choose Review data. The review shows 25 rows per page. Correct marked cells, or use Next issue to find a problem on another page. Untick Include to leave out a whole row. It stays visible and can be included again. The header checkbox selects or clears all rows across every page. Empty numerical cells stay empty.
  5. Check the columns and blank rows that will be left out. Hidden worksheet rows and mapped hidden columns are included and identified. Choose Import data when ready.

Clicking outside the import dialogue leaves it open. Once you choose a file, Cancel, Close and Escape ask before discarding your review. Escape first closes an open character picker.

Excel formulas are read as their saved results. Plot does not run them or refresh links to other files. Check those results and tick the confirmation before importing. If a formula has no saved result, open and save the workbook in your spreadsheet app, or correct its value in the review. Excel dates, times, errors and yes/no cells also need a deliberate numerical correction before use.

Repeated-trial groups need two to ten columns. Plot calculates their mean and the selected half-range or standard error. Do not also map a separate uncertainty column for that group. The same calculations remain editable in the normal repeated-trials sheet after import.

Files can be up to 5 MB. Each selected worksheet can contain at most 20,000 populated source rows, 50 used columns and 200,000 used cells. A single import can create up to 5,000 data rows and 25,000 cells, including calculated trial means and uncertainties. Larger files or selections are refused; they are not cut short. Select a smaller range or split your file. Merged cells inside selected data must be removed first. Legacy .xls, encrypted and macro-enabled workbooks are not supported. Save a normal XLSX or CSV copy.

UTF-8 and UTF-16 CSV files are supported. If the text encoding cannot be read, you can choose another encoding, including Windows-1252, and try again. A browser that cannot decompress an XLSX workbook offers the CSV alternative. Import reads data and headings; it does not reproduce spreadsheet colours, formatting, formulas, charts or macros.

Typing ², ₀ and Δ

You don't need to know any keyboard tricks. Click into a name, symbol, unit or formula field and a small character bar appears beside it. Click a character (², ₀, Δ, θ and others) and it is typed into the field for you. The import variable-symbol fields use the same picker. The formula dialogue reserves space for it above the column-reference buttons.

The character picker below a variable symbol field in the current inspector.
The character bar. The top row makes superscripts, the bottom row makes subscripts and Greek letters.

In a formula you never need the special characters: ^ means "to the power of", so t^2 and t² calculate exactly the same thing.

Repeated trials

Good experiments repeat each measurement. In the pendulum experiment you might time 10 swings three times for every length. Plot can hold all three readings and work out the average for you:

  1. Open the y-var tab and pick the variable.
  2. In Setup, choose Repeated trials under Data entry, then set Trials per row.
  3. The table jumps to a new sheet with one column per trial. Type your readings there.
Repeated trials in Data view, with the V trials sheet and its rename button.
A trials sheet. Plot computes the mean and the uncertainty: those two columns fill themselves and can't be typed in.

Plot writes the mean into the variable's own column, and can use the spread of your trials as the uncertainty, either the half-range (max − min) ÷ 2, or the standard error. Use the sheet tabs under the table to switch between the Overall table and each trials sheet.

The Overall table marks trial averages with a bar across the whole variable symbol. Calculated values have a light shaded background and remain available to select and copy. Cells where you enter readings have a plain background. The green highlight shows your current selection.

Each mean and its calculated uncertainty use matching decimal places throughout their columns. Trailing zeros keep the values aligned. This display rounding does not change the stored values or calculations.

With Decimal places set to Automatic, readings display up to six significant figures, so small rounding differences from a spreadsheet do not fill the table with extra digits. Very large or small values use scientific notation. Editing or copying a reading uses its full stored value.

A trial sheet starts with the variable's symbol followed by trials, such as t₁₀ trials. Select a sheet and click the pencil beside its tabs to rename it. Enter saves, Escape cancels, and clicking outside saves too. You can also press F2 on the selected tab. Leave the name blank to restore its automatic name. Sheet names do not change variable symbols, formulae or axis labels.

Calculated columns

Often the thing you measure is not the thing you plot. In the pendulum experiment you measure the time for 10 swings (call it t₁₀), but the theory says to plot T² against length. A calculated column does that arithmetic for you, for every row:

  1. Add a new y-variable with the + button.
  2. In Setup, set Data entry to From a formula, then click its settings cog.
  3. Type the formula, using your other columns' symbols: (t₁₀ / 10)^2, then click Apply. Cancel keeps the previous formula.
The current Formula settings dialogue with coloured references and Apply and Cancel actions.
A calculated column. Symbols you reference are coloured, and the column's cells fill themselves.

The column fills in instantly and updates whenever your raw data changes. Its cells show a small ƒ in the header. You can select and copy these results, but you cannot type over them. Click the column header, then its formula settings cog, to edit the formula.

What you can type in a formula

  • Your other columns, by symbol: t₁₀, L, V…
  • The operators + − × ÷ ^ (the ordinary * / work too) and brackets.
  • Functions: sqrt (or √), ln, log, exp, sin, cos, tan, abs (angles in radians).
  • The constants pi (or π) and e.
Note: in a formula, a symbol always means a column. If your column is literally named x², typing x² refers to that column. To square the x column instead, type x^2. Plot colours each symbol it recognises, so you can see exactly what the formula is reading.

A repeated-trials mean can be used in another formula. Its table heading shows a bar across the symbol, but formulas use its ordinary symbol. Use the Mean reference button to insert it. If your symbol is t₁₀, t₁₀ / 10 divides the mean time by ten. The result updates when trial readings change. Choose Carried through the formula as the new variable's uncertainty source if you want the uncertainty carried through too.

If a formula has a problem (a symbol Plot doesn't know, or two formulas that point at each other), Plot shows a problem message. Invalid formula syntax keeps the dialogue open so you can correct it before applying.

Error bars

Each variable chooses where its uncertainty comes from, in the Uncertainty dropdown under Setup:

  • Fixed: one value for the whole column, like a ruler's ±0.05 cm.
  • From a column: a different value for each row. Plot adds a Δ column next to your data for you to fill in.
  • From repeated trials: the spread of your repeated trials (see above).
  • From the formula: for calculated columns. Plot recalculates the formula at each input's ± limits and uses half the spread, so your T² gets a fair uncertainty from your stopwatch readings.

When you change from From a column to Fixed or None, Plot asks whether to keep or delete a column that contains values. Cancel keeps the current setting. A kept column stays editable; right-click its heading or a cell and choose Delete column to remove it later. Empty automatic uncertainty columns are removed when you switch.

Error bars appear on the graph automatically once a plotted variable has an uncertainty.

The best-fit line

Hover over a plotted point to see its coordinates as an (x, y) pair. Ordinary ranges use two decimal places; finer scales show more detail. Very small or large coordinates use scientific notation: 1.23e-8 means 1.23 × 10−8. The marker turns green while highlighted. Its shape and the fit colours stay unchanged. Coordinates also work in fullscreen. You can also Tab to the points and use the arrow keys to move between them. Press Escape to dismiss the coordinates. These labels are not included in downloaded or printed graphs.

Open the y-variable’s Best fit tab and choose a Model, like a straight line, or a curve (exponential, logarithmic, power, quadratic, sine). Plot draws the fit. Use Show equation on graph to display its equation. The results bar shows the fitted parameters and R².

The V–I graph beside the current Best fit tab, showing gradient uncertainty.
The pendulum result: a linear fit with error bars and the max–min gradient lines. The gradient of this line gives g.

With multiple y-variables, open Graph settings → Appearance and use Show legend to hide or show the key. This choice also applies to downloaded and printed graphs. Drag the legend to move it within the plot. Double-click to restore automatic placement. You can also focus it with Tab, move it with the arrow keys and reset it with Home. Its position survives saving and Undo/Redo, and is used in graph exports.

For a straight-line fit you can also show the maximum and minimum gradient lines: the steepest and shallowest lines that still pass through your error bars. That gives the gradient's own uncertainty, m ± Δm, the way exam boards ask for it. Turn it on with Exclude detected outliers and the Max/min lines dropdown in the Gradient uncertainty group. The method becomes available when the selected readings have uncertainties.

Hover over a maximum-gradient line to show its gradient and highlight it in red. The minimum-gradient line highlights in blue. You can also focus either line with Tab. Press Escape to dismiss its readout. Open Fit results to see both gradients and Δm when this analysis has valid bounds. These values follow the selected max/min method. The compact readouts say max m and min m. They start at three significant figures and retain more when the gradient uncertainty needs them. Small and large values use scientific notation. Display rounding leaves the calculations intact.

Tip: drag the equation label anywhere on the graph. Double-click it to send it back to its automatic spot.

Fitting a sine curve

For a repeating change, choose Sine curve in the y-variable’s Best fit tab. Plot estimates the amplitude, repeat interval, phase and centre value from your readings. Try File → Examples → Oscillation (sine curve) with illustrative data.

The repeat interval is the distance along the x-axis for one complete cycle. When x is time, this is the period. The toolbar shows this interval in the x-variable’s unit. Open Fit results for all four parameters, their units, R² and the searched interval range.

The fitted equation is y = C + A sin(2π(x − x₀)/P + φ). A is the positive amplitude, P is the repeat interval and C is the centre value. The phase φ is in radians, measured at the Reference x shown in the results. That reference is the smallest included x-value. A phase at another reference can have a different value while describing the same curve.

The automatic search looks for between half a cycle and forty cycles across the included x-range. Its upper frequency is also limited using the median spacing of the distinct x-values. These are search limits; they do not prove that a faster oscillation is absent. With widely or unevenly spaced readings, different curves can pass through similar points. This is called aliasing.

If you have an approximate interval from the experiment, open the cog beside Model. In Fit method, change Repeat interval search to Near an estimate and enter a positive value in the x-variable’s unit. Plot then searches from 0.8 to about 1.33 times your estimate. It still fits the interval; it does not force the curve to use your entered value. Return to Automatic to remove this guide.

Use at least six complete readings with six different x-values. Include enough of the pattern to distinguish a cycle, and take readings close enough together to show its shape. If several intervals fit similarly, the interval is poorly determined, or the best result reaches a search limit, Plot shows a reason instead of fitted parameters. A partial cycle can sometimes be fitted, but its result depends strongly on the available measurements and the searched range. A high R² alone cannot confirm a physical model or rule out aliases.

This fit gives each included reading equal weight. Error bars remain visible but do not change the sine fit. The straight-line weighting setting is inactive here. Fit ranges, individual exclusions, their reasons and residuals work as they do for other models. Sine results do not give parameter standard errors or max/min gradient uncertainty.

To draw a theoretical sine curve with chosen values, use a formula-sourced variable. Sine fitting estimates values from measurements.

Gradient and intercept standard errors

For a straight line, open Fit results in the Best fit tab. The table gives the gradient, intercept and their standard errors. These describe statistical uncertainty in the fitted parameters. They are separate from the max/min gradient method and do not include unknown systematic errors.

With Standard fit (recommended), each included reading has equal weight. Plot estimates standard errors from the scatter around the line. This needs at least three included readings. It assumes independent readings, similar variance in y and negligible uncertainty in x. A perfect straight line gives zero estimated scatter; this does not prove that your measurements have no uncertainty.

To fit measurements with different known standard uncertainties, open the cog beside Model. Best-fit settings opens on the Fit method tab. Choose Weighted fit (advanced) under Fit method. Confirm that the y uncertainties are independent standard uncertainties, equivalent to one standard deviation. Readings with smaller uncertainties receive more weight, using w = 1/u². The fit assumes negligible uncertainty in x. It does not account for correlations or uncertainty in both axes.

Best-fit settings opens on Fit method. Weighted fit reveals the uncertainty assumptions and the required confirmation.
Fit method, Fit range and Exclude points share a fixed dialogue. Each tab keeps your changes until you apply or cancel them.

Use Fixed, From a column, or repeated trials with Standard error of the mean as the y uncertainty source. Every included reading needs a finite, positive uncertainty. Zero, blank or missing uncertainties prevent the weighted fit. Plot does not drop those readings or switch methods automatically. Half-ranges and formula max/min limits cannot be used directly as standard uncertainties. Standard errors estimated from very few repeated trials can be unreliable.

For a weighted fit, parameter standard errors use the stated absolute y uncertainties. They are not rescaled to match the residual scatter. Chi-squared is the sum of squared residuals divided by their squared standard uncertainties. Reduced chi-squared divides that sum by n − 2, the residual degrees of freedom. It is unavailable with only two readings. A value near one can indicate agreement with the stated uncertainties under the model's assumptions; it does not establish that the model is correct.

The results bar labels weighted fits and shows weighted R², calculated with weighted sums around the weighted mean. It can differ from ordinary R². Residuals still use measured y minus predicted y in the original units. Downloaded graph equations retain the Weighted label. Weighting is available for straight lines only; a saved weighting preference is inactive while another model is selected.

Ranges and exclusions apply to both the fit and its standard errors. Existing detected-outlier settings still apply. Max/min gradient analysis retains its separate method. Try File → Examples → Weighted fit and standard errors to compare the methods using illustrative data.

Fit ranges and excluded readings

In the y-variable’s Best fit tab, click the cog next to Model. In Best-fit settings, select the Fit range tab. Change its dropdown from Full x-range to Choose an x-range, then enter the lowest and highest x-values to include. Leave either field blank for an open end. The limits include readings exactly on the boundary. These limits change the fitted data, while the graph's axis limits change its view.

To leave out one reading, right-click its y-value and choose Exclude from fit. The original value stays in the table. A dotted ring marks excluded points on the graph, and their coordinate tooltip states why they were excluded. For an x-value, the menu offers each fitted y-variable separately.

Select the Exclude points tab in that dialogue. Tick Exclude row to leave out a point and add its reason. Untick it to restore that point. This choice is separate from the x-range; points outside the chosen range are labelled. Search by row, value or reason, or choose Excluded only. The list shows at most 25 points per page, with Previous and Next controls for larger datasets. You can switch tabs without losing your changes. Click Apply to save the settings from all three tabs. Cancel leaves the previous selection unchanged. Exclusions follow their readings when rows are inserted or deleted. The existing automatic outlier option remains separate. Check the scientific reason for any exclusion before reporting your result.

Keeping an excluded reading lets you record a measurement problem and compare fits without deleting the original data. Fit results has a searchable, paged Excluded points section showing rows and reasons, including points outside the fit range and detected outliers. The Plot file keeps manual exclusion notes. Normal SVG and PNG downloads show the graph and exclusion markers, but do not include the written record of reasons. Include those reasons in your written report when they affect your conclusion.

The Undo and Redo buttons above the table and graph restore data, variables, formulae and fit settings. The shortcuts are Ctrl+Z and Ctrl+Shift+Z (use Command on a Mac). History belongs to the open editing session. It clears on opening a different document, resetting the lab, signing out or receiving a collaborator's changes. It is not saved in files.

Residual plots

A residual is the measured y-value minus the value predicted by the fitted model at the same x-value. A positive residual places the measurement above the fitted curve; a negative residual places it below.

Use the Show residual plot switch in the variable's Best fit tab. Turn it off to return to the main graph. It stays linked to the graph toolbar, which switches between Graph, Residuals and Both. Both shares the x-scale across the two plots. A shorter window switches to Residuals so the graph fits without scrolling. Residuals use the selected y-variable's units and show the included readings around a dashed zero line. Plot shows one variable's residuals at a time so different units are kept clear.

Look for a pattern across the residuals. Curvature may suggest that a straight line misses part of the relationship. A high R² alone does not establish that a model is suitable. The residual graph updates with edits, exclusions and Undo. It is included in graph exports and printing when shown.

Labels, arrows and gradient triangles

Open Annotate on the right to add a Text label, Arrow or Gradient triangle. These annotations appear on the main graph and in graph downloads. They do not change your measurements, fitted line or axis ranges.

Select an annotation on the graph. You can edit its text in the panel and drag it into place. Drag either round handle to change an arrow or triangle. The Position cog beside its heading opens coordinate fields if you prefer to enter its position. A focused annotation also moves with the arrow keys. Hold Shift to move it farther.

A gradient triangle follows a straight best-fit line. Its horizontal and vertical labels give the changes in your variables, including their units. Drag its ends along the line to choose a wider or narrower triangle. If several straight lines are visible, select the required Best-fit line in the panel. A triangle cannot be added when its fitted line is outside the visible graph.

Click away from an annotation and its settings to deselect it. Right-click an annotation for Duplicate or Delete. With keyboard focus on an annotation, Shift+F10 opens the same menu. Delete or Backspace removes the selected annotation when you are not typing. The small Manage annotations button at the bottom opens a list where you can select or delete objects, including those outside the current axis ranges. Remove all annotations asks for confirmation before clearing the whole list. Undo restores a removal. You can keep up to twenty annotations in one graph. They stay with the Plot file when you save or reopen it. They are hidden in a residual-only view and return with the main graph. An annotation tied to another x-variable stays in Manage annotations until you return to that variable or remove it. A triangle also needs its original visible straight-line fit.

Gradients and areas

Open Annotate and use the Analysis group. Choose Gradient to add a tangent and its gradient, or Area under curve to shade an interval and calculate its signed area. When several variables are visible, the selected object's Variable field chooses the series.

The Source field selects Fitted curve or Readings. A fitted curve uses its mathematical derivative or integral. A gradient from readings uses a quadratic through three neighbouring points, allowing for unequal x spacing. It can be sensitive to noise. Areas from readings use trapezoids between points, with interpolated values at the chosen boundaries.

Set At x for a gradient, or From x and To x for an area. Choose positions within the included readings. Reading analysis orders a copy of the points by x. It requires different x values, so path data that revisit the same x need a different analysis. Missing internal readings must be completed or deliberately excluded. Both sources follow the fit range and your individual exclusions. Fitted curves also follow their existing automatic outlier rules.

You can also drag the gradient's small point to change At x. It follows the selected source, and the tangent updates as you move it. Its label starts beside the point and includes the evaluation position, such as m(t = 0.4). Moving the point carries its label with it. Drag the label itself to adjust its position relative to the point. With keyboard focus on the point, use the arrow keys to move it, or Home and End to reach the first and last included readings.

An area's left and right edges have green grips. Drag a grip horizontally to change that limit. The shading, area value and panel fields update together. Limits stay within the included readings and cannot cross. Each completed drag is one Undo action. Press Escape during a drag to cancel it. With keyboard focus on a grip, use the arrow keys to adjust its limit. Hold Shift for a larger step.

Area is signed. Parts below y = 0 contribute a negative amount. The unit combines the x and y units. A gradient uses y units divided by x units. Graph labels show the value and units with three significant figures. Choose the calculation source in the panel's Source field. Calculation values keep their original precision.

Drag the result label itself to place it on the graph. Its calculation position or interval keeps its selected value. New area labels start on or near the shading. Click the shaded area or its label to edit it. Curves and data points retain their hover details above the shading. Right-click the area or its label for Duplicate and Delete. The panel's trash button deletes the selected analysis. Manage annotations, Remove all annotations and Undo work for these objects too.

Changing the data recalculates the result. If its source becomes unavailable, its old graphic and value disappear. Use Manage annotations to select the saved object and correct its settings. Gradients and areas are included in graph downloads and stay with a saved Plot file.

The Plot app with a tangent gradient, a shaded area with draggable boundary grips, and the annotation inspector. The Plot app with gradient and area annotations in dark mode.
The Ohm's law example with a tangent gradient and an area calculated from its fitted curve.

The Sim stage

The fourth button on the left edge of the app, Sim, opens a simulated experiment beside your data table. You take readings from the simulation and type them into the table yourself, exactly as you would at a real bench. The app never fills readings in for you, because taking and recording the readings is the skill being practised.

Sims are optional. The pendulum experiment, which measures g, is free for everyone, and the rest of the library comes with the Teacher plan. The simulation keeps running while you switch to the Graph view, so you can watch the plot build as you record more readings.

Saving and exporting

  • Your graph: open File → Download and choose Graph SVG or Graph PNG. File → Print opens your browser's print and Save as PDF options.
  • Your data: File → Download → Data CSV exports the whole table for Excel or Sheets. Choose Plot lab for an editable copy. Use File → Open to open a copy from your device or, when signed in, your workspace.
  • Signed in: press Save on the left edge of the app, and the lab is stored in your workspace. Open it from any device, insert its graph and table into a Write report, or hand it in for a practical. If you open the same lab in two places, Plot warns you before one copy can overwrite the other's saved changes.

Editable device copies use .plotp. Older .json and .plot45 copies still open. For a saved workspace lab, click its header name to rename it. Enter saves the name and Escape leaves it unchanged. The graph title follows the saved name.

Signed out, Plot also keeps your current session in this browser automatically, so closing the tab doesn't lose your work.

← All help · Next: the Sketch guide · Questions? hello@plot45.com