You can't literally tell MATLAB to “halt” scientific notation; what actually happens is that a plot keeps rescaling—most often because data is streaming into it—and the axis labels flip to values like 5 × 10⁴ while ticks crowd or disappear. To stop that, you freeze the axis limits, pin the tick values, and force plain-number labels, then fix whatever loop or callback is still updating the figure. The key condition: if new data genuinely spans a wider range than your frozen limits, it will be clipped, so choose fixed limits that cover the real range or update them deliberately.

That description covers the common real-world version of this request—a plot that "goes into scientific notation" and won't settle. There's also a narrower reading: you created a figure, and you want to prevent the exponent label (the ×10ⁿ multiplier above the axis) from appearing at all. Both are handled below, in the order you'd actually do the work.

What "scientific notation" means on a MATLAB axes

MATLAB decides tick labels on its own. When the span of the axis is large or small enough relative to the values, the ruler draws ticks such as 0, 2, 4, 6 and prints a shared multiplier ×10^4 in the corner or on the axis. That multiplier is the scientific-notation marker; the numbers themselves are the same numbers. So there are three separate things you might be reacting to:

The exponent/multiplier label showing up at all. The axis limits changing every time new data arrives, which changes the exponent and makes the display jump. In very bad cases, an animation loop that redraws so fast the figure never becomes interactive, so it looks "stuck."

Only the second and third are about halting something. The first is about formatting. The fixes are different, and applying the formatting fix to a moving axis won't help much, which is why the order below matters.

Two vocabulary notes help when you search documentation: the exponent label is controlled by axis ruler properties (historically Exponent, and in newer graphics the Exponent property of the ruler object), and tick values are controlled with XTick/YTick while tick text is controlled with XTickLabel/YTickLabel.

Prerequisites before you touch the axes

Have these ready, because the useful fixes need them:

1: A handle to the axes, not just the figure. Write ax = gca; right after you create or select the plot, or capture it at creation: ax = axes;. Working through gca later can grab the wrong axes in a multi-panel layout. 2: A handle to the line or surface being updated, for example h = plot(x, y);, so you can confirm which object changes. 3: Knowledge of the true data range across the whole run, not just the first frame. If you've plotted only the first 10 points of a stream that will reach 3 million, any limit you freeze now is wrong.

Step 1: Trial it interactively to confirm the cause

Before editing code, confirm what's actually moving. On a live figure:

1: Click the arrow (edit plot) tool, or use the pan/zoom toolbar, and try to zoom. 2: Watch the axis limits in the ruler as you do. If they snap back to a different range, something is resetting them on a timer or in a loop. 3: Type ax.XLim and ax.YLim at the command prompt to read the current limits.

If the limits are identical every time you check, but the exponent label still bothers you, you have the formatting case from Step 3. If they differ each check, you have a moving-axis case, and Step 2 is the real fix. If the figure won't respond to zoom at all, you're in the runaway-loop case in Step 5.

Step 2: Freeze limits so the axis stops rescaling

Setting limits explicitly makes the axes stop auto-ranging. That's the real "halt."

Choose limits from the full expected range of the run—[0 100] above is illustrative, not a recommendation. With limits fixed, the tick values are chosen within that range, so the exponent label becomes stable too. If you want to lock only one dimension—common with time series on the x-axis and varying amplitude on y—set only XLim.

A subtler trap: some plotting calls reset limits. plot, scatter, line, and imagesc can trigger auto-scaling depending on the NextPlot behavior of the axes and on whether hold on is active. After any such call, if you see limits jump back, set ax.XLimMode = 'manual'; and ax.YLimMode = 'manual'; (and the same for ZLim in 3-D). Those mode properties are exactly the switch that tells MATLAB "stop auto-scaling this axis," which is the closest thing to halting it.

Check success: read ax.XLim and ax.YLim again after a few seconds of the plot running. If the numbers you set are still there, the axis is frozen.

Step 3: Pin ticks and replace labels with plain numbers

Freezing limits doesn't guarantee pretty ticks; MATLAB may still pick only two or three, or may still attach a multiplier. Fix the ticks explicitly:

Setting XTickLabel as a cell array of strings overrides whatever MATLAB would have generated, including the multiplier arrangement. That's the blunt instrument, and it's reliable when you have a fixed range you care about.

If you want to keep automatic tick placement but only kill the multiplier label, suppress it through the ruler's exponent property. The exact access path differs by release:

In older releases, ax.XAxis.Exponent = 0; removes the exponent label on the x-ruler. In releases where rulers expose their own properties, the same idea applies to the ruler object you get from the axes.

Releases have changed this property's name and location more than once, so confirm against the documentation for your installed version (check ver at the prompt). If assigning it errors, you're on a version where the tick-label route above is the dependable answer.

One caution that catches people: XTickLabel values stay attached to tick positions in order. If you later change XTick without changing XTickLabel, the labels will be wrong—60 sitting at the position for 80, for example. After any tick edit, glance at the rendered axis once.

Step 4: Use tick formatting for precision instead of notation

Sometimes the multiplier isn't the problem; you want decimals shown rather than an exponent. ytickformat handles that without hard-coding strings:

This formats tick labels to two decimals while letting MATLAB keep placing ticks reasonably. It works on the current axes and accepts standard printf-style patterns, so '%d' gives integers and '%.3f' gives three decimals. The equivalent xtickformat exists for the x-axis.

Use this when the underlying values are small (say 0.0001 to 0.0009) and you'd rather see 0.0002, 0.0004, ... than 2, 4 ×10⁻⁴. It won't stop the axis from rescaling, though—combine it with Step 2 if data is still arriving.

There's also a pure auto-formatting option if all you want is default-looking plain output: leave tick labels alone and simply narrow the axis limits so the span is modest. MATLAB tends to skip the multiplier when the values are of ordinary magnitude. That's a consequence of the data range, not a separate setting, so don't rely on it for data you don't control.

Step 5: Stop the loop that keeps updating the plot

If limits keep changing no matter what you set, the caller is overwriting them. Common culprits:

A while or for loop that calls plot(...) repeatedly instead of updating existing line data. A timer object whose callback redraws the axes. A drawnow inside a tight loop, which forces the figure to redraw faster than anyone can read.

For the loop case, update the data on the existing line rather than replotting:

drawnow limitrate throttles redraws so the figure stays responsive. Then set limits as in Step 2, and they'll hold because nothing is re-triggering auto-scale.

For a timer, either stop it (stop(t)) or delete(t) when you're done, and check that its callback doesn't call axis auto or xlim('auto')—those two commands are the usual hidden cause of a stubbornly moving axis.

Stop condition: if the redraw is coming from a callback you didn't write—third-party toolbox code, a live-data connection, or a GUI built by someone else—don't start ripping it apart to chase the axis. Freeze the limits around the code where you can, or ask the code's owner; you risk breaking the surrounding application.

A worked example: a streaming plot that won't settle

Suppose you're plotting a sensor stream that grows from a few thousand to several million units, and the y-axis keeps flipping between ×10^3 and ×10^6.

1: Record the full expected range once, say 0 to 4,000,000 units (illustrative). 2: Set ax.YLim = [0 4e6]; and ax.YLimMode = 'manual';. 3: Set ax.YTick = 0:1e6:4e6; and ax.YTickLabel = {'0','1M','2M','3M','4M'};. 4: Update the plotted line with set(h,'YData',...) inside the loop, not with repeated plot. 5: Replace drawnow with drawnow limitrate.

The result: the axis holds still, the labels are plain, and the plot stays interactive. The arithmetic is easy to verify—four ticks at one-million intervals cover the 4,000,000 span, so the display matches the stated range exactly. If your real data tops out at 3.2 million, your last tick at 4 million will simply sit past the data; adjust the top tick to suit.

The failure mode to watch for: if the stream briefly spikes past 4 million, that spike is clipped and invisible. Either set the ceiling to the true maximum with headroom, or accept that you're showing a window and note it.

Why you might want to keep the notation

Suppressing the multiplier isn't always right. For very large or very small values, a fixed tick set like 0, 2000000, 4000000 is harder to scan than 0, 2, 4 ×10⁶. The multiplier exists precisely to make those axes readable. If your audience is comfortable with it, freezing the limits in Step 2 stops the flicker and leaves the exponent in place—that's often the smarter outcome. The reason to kill the label is usually presentation (a report or slide with a short axis), not correctness.

A related limit: manually setting tick labels breaks automatic relabeling. If you later zoom the axes, the label strings won't update unless you also constrain the limits or re-run the label code. That's a real trade-off to weigh before choosing Step 3 over Step 4.

Quick reference: which fix for which symptom

Symptom Likely cause Fix
Exponent label appears, axis steady Normal auto-formatting Step 3 or 4
Limits change every second Loop or timer replotting Step 2 plus Step 5
Figure won't respond to mouse Tight redraw loop Step 5, replace drawnow
Labels misaligned after edits XTickLabel out of sync with XTick Re-set both together
Exponent label returns after zoom Auto-ruler re-engaged Step 2 manual mode

FAQ

Does MATLAB have a command that literally disables scientific notation globally?

No. Tick-label formatting is per-axis. You either set the ruler's exponent property, replace tick labels, or pick a formatting function like ytickformat. There's no single figure-wide "no exponents" switch.

Why does the exponent come back after I set limits?

Something is calling an auto-scaling routine—axis auto, xlim('auto'), or a replot from a loop or timer. Check the code path that runs after your limits line, and set the corresponding mode property to manual.

Can I freeze the axis and still let the data scroll?

Yes, in effect. Keep the limits fixed and update only the data in view—for example, show a moving window by setting both the limits and the line data to that window. The axis stays put, and the visible slice advances.

Does any of this change the data or the saved file?

No. Limits, ticks, and label formats affect display only; the underlying numeric values are unchanged. That's why it's safe to experiment with these settings and easy to revert by re-enabling auto mode.