Skip to main content

Questions tagged [around]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
2 answers
279 views

Error bars in ListPolarPlot

I am trying to visualise my data in polar coordinates including error bars. This with Mathematica 12 and the function Around. However, ...
Armin's user avatar
  • 63
2 votes
0 answers
85 views

NonlinearModelFit of data with errors

Experimental data points invariably come with errors. These errors can significantly influence the parameters and their uncertainties when performing non-linear fitting. However, NonlinearModelFit ...
Филипп Цветков's user avatar
5 votes
1 answer
186 views

Why is Around omitted when the uncertainty is zero?

I have a list of values with errors and I use Around[x, dx]. Some of those values have an error of zero though. Mathematica removes the ...
Failboy's user avatar
  • 53
5 votes
2 answers
361 views

NIntegrate a discrete data set with uncertainties

Consider a data set with some numerical uncertainty in the y-values, such as the following ...
Kai's user avatar
  • 2,119
4 votes
2 answers
124 views

Change the color of error bars

I need to have a plot with different colors for each data. Since I couldn't have all the data in one Plot with different colors, I drew each separately and used the Show command for the overall ...
asal's user avatar
  • 167
0 votes
1 answer
87 views

Why doesn't Mathematica plot the data with uncertainties? [closed]

I'm trying to plot experimental data, but including uncertainties in the plot doesn't work. The data gets plotted properly when not including the uncertainties. Heres's the data without uncertainties: ...
xPigeonDestroyer2000's user avatar
1 vote
1 answer
97 views

Equal space between log2 ticks on x-axis

I have the following set of data: data = {{4, 2, 0.0001}, {8, 3, 0.0001}, {16, 8, 0.0001}, {31, 18, 4}, {63, 31, 8}, {125, 53, 3}, {250, 75, 4}, {500, 88, 2}}; (...
user avatar
2 votes
1 answer
104 views

How to set IntervalMarkersStyle differently for error bars in x and y directions

I would like to have the error bars in x and y directions rendered in different styles. I know how to style them both in the ...
AxelF's user avatar
  • 977
6 votes
1 answer
197 views

VectorAround problem

I am trying to replicate an example give here of correlated variables (it's similar to a more complex problem I'm working on). I've included the example data and method for convenience: ...
EstabanW's user avatar
  • 710
14 votes
2 answers
426 views

Number of significant digits in uncertainty of Around

Around[100.123456, 0.12] gives 100.12±0.12 But Around[100.123456, 0.42] gives ...
matheorem's user avatar
  • 17.3k
12 votes
2 answers
218 views

Applying Style to Around objects

How do I apply Style to Around objects? Are there any workarounds, resource functions or custom solutions available? Thanks for ...
Syed's user avatar
  • 56.1k
5 votes
1 answer
162 views

Evaluating PlusMinus to 2 decimal answers

How do I evaluate and expand an expression containing PlusMinus such that: N[PlusMinus[1, 1]] returns 2, 0 I'm stuck at ...
Freddy Mcloughlan's user avatar
3 votes
1 answer
100 views

Bug with ScientificForm[] and Around[]?

I'm using Mathematica 12.3. You can use ScientificForm[] to display a number using scientific notation irregardless of its magnitude. When using ...
AccidentalTaylorExpansion's user avatar
2 votes
2 answers
370 views

How do I extract only the value of all elements in a list of 'Around' as a new list? [closed]

Lets say I have a list of Around values: A = Table[i RandomReal[], {i, 1, 10}] Aerr = 0.1 A ...
Yotam Naftali's user avatar
0 votes
0 answers
59 views

`Around` with multiple errors

To my knowledge, Around only deals with one error. That means it can't deal with multiple sources of errors. For example, a number may have both statistic ...
Turgon's user avatar
  • 1,050
4 votes
1 answer
77 views

What is Around assuming when propagating asymmetric uncertainties?

When exploring Around and others related, there's not much documentation when it comes to propagation of asymmetric uncertainties. I've tried calculating ...
nuwe's user avatar
  • 645
6 votes
2 answers
860 views

Correlated uncertainties

navigating through the docs. of Around one can read in the details that When Around is used in computations, uncertainties are by default propagated using a first-...
nuwe's user avatar
  • 645
0 votes
1 answer
72 views

Scientific digits in plots without chaniging original data format

I want to write axises in scientific digits, without changing the original data format. ...
Nancy's user avatar
  • 1
6 votes
2 answers
139 views

Format data consistently with Around

I don't like that Around uses two different styles to display data. Depending on the magnitude it seems to either use 0.123456(78) or it uses 0.12345 $\pm$ 0.00067. ...
Kvothe's user avatar
  • 4,651
4 votes
1 answer
768 views

Around error propagation

I understand that when Around is used in computations, uncertainties are by default propagated using a first-order series approximation, assuming no correlations. On the other hand this makes it ...
Emanuele Giordano's user avatar
19 votes
3 answers
612 views

Mathematica 12.x: Don't use Accumulate or Differences on Around objects!

Bug introduced in 12.0 or earlier and persisting through 12.2 or later It seems we've discovered a bug! The following is a summary of the problem and possible workarounds. Scroll down to ORIGINAL ...
Aaron Eiben's user avatar
4 votes
3 answers
731 views

Applying an exponential decay fit with uncertainties

I have some data from a radioactive decay experiment that I'm trying to fit an exponential decay curve on that will take account of the uncertainties on the data, and then ideally return the data for ...
Epideme's user avatar
  • 505
1 vote
1 answer
285 views

ListPlot with Uncertainties [closed]

How do I go about using ListPlot (or anything that allows me to make a basic graph and plot an exponential decay curve on it later) with uncertainties? As a minimal ...
Epideme's user avatar
  • 505
0 votes
0 answers
40 views

Problem understanding the output of Around

I'm working with Mathematica 12. I have a simple example H0= Around[a,b] I calculate $H0^2$, and the output is $H0^2 = a^2 \pm 2 Abs[a b]$ Next I calculate $H0*H0$...
No name's user avatar
  • 585
3 votes
0 answers
194 views

Computing the Mean of Around Values

I understand the computation of the uncertainty of independent Around values to be based on the following first order approximation $$ \delta f(x,y)=\sqrt{\left(\frac{\text{$\delta $f}}{\partial x}...
Kenric's user avatar
  • 334
7 votes
0 answers
84 views

BarChart does not display asymmetric error bars correctly

BarChart seems to read the uncertainty in elements the other way around. The object: Around[5, {1, 10}] is evaluated as . However, when you use it in a BarChart, the uncertainties are swapped: ...
Luis's user avatar
  • 327
6 votes
3 answers
362 views

Higher order Around, for large error propagation

TLDR question: How to redefine Around to work with higher order approximation. Motivation From the documentation Around ...
rhermans's user avatar
  • 37k
2 votes
1 answer
516 views

Plotting with "Around"

I have a number with certain uncertainty a1 = Around[1, 0.1] I try to plot a function with this number Plot[a1*x, {x, 0, 1}] ...
No name's user avatar
  • 585
3 votes
2 answers
989 views

Using Around to create a ListPlot with errorbars

I'm new at this program,and I have a simple question. In the previus edition of Mathematica I used ErrorBars or ErrListPlot that allowed me plotting data with errorbars. Now I use Around and ListPlot, ...
Fabio Cufino's user avatar
4 votes
0 answers
73 views

Does AroundReplace work with Quantity?

When I try to use AroundReplace with units it issues Around::compat message and outputs something strange: ...
McSaks's user avatar
  • 183
1 vote
0 answers
101 views

Pleasantly Dynamic Property of Around

It's a rare occurrence when an improper lexicon is mete with forgiveness when coding. However, I was pleasantly surprised to stumble across the fact that ...
Spencer Fretwell's user avatar
4 votes
0 answers
46 views

Does Around work in ListLogLinearPlot?

I would like to create a plot with logarithmic x-axis, where the data has uncertainty in the x value. It's working fine with small negative y values, but when they're below ...
Dávid Zsoldos's user avatar
4 votes
1 answer
76 views

Around formatting won't work with a imaginary number and small error

The new function of Mathematica 12, Around, is a replacement of the obsolete ErrorBar function from ...
Turgon's user avatar
  • 1,050
6 votes
1 answer
191 views

Using Around with NDSolve

I was trying to obtain the same result of a differential equation with to different methods the first one is based on DSolve and the second one is based on ...
No name's user avatar
  • 585
2 votes
2 answers
65 views

ListLogPlot with uncertainties in both coordinates

I have a dataset like this: ...
Lea's user avatar
  • 942
6 votes
1 answer
284 views

Control width of IntervalMarkers in ListPlot

I am creating a scatter plot with error bars in Mathematica 12 using IntervalMarkers -> "fences". Is there a simple way to increase the width of the top and ...
jerjorg's user avatar
  • 453
11 votes
1 answer
381 views

What is the best way to use errors in mathematica M12?

Since ErrorListPlot has been superseded by new functionality in ListPlot for Mathematica 12.0, what is the best way to handle ...
user27119's user avatar
  • 2,530
23 votes
1 answer
456 views

How to get an absolute value of Around?

Around is a useful feature of Mathematica 12 to work with uncertain data. x = Around[-1, {0.5, 1.5}] $-1.0^{+1.5}_{-0.5}$ ...
Ray Shadow's user avatar
  • 7,876
2 votes
0 answers
106 views

How do the Around and AroundReplace commands work with the complexes?

Let us consider s = Around[1, 0.2] + I*Around[2, 0.3] Around[ Complex[1., 2.], 0.36055512754639896`] What does it mean? The documentation to the Around ...
user64494's user avatar
  • 27.7k
13 votes
3 answers
1k views

How does the Around command at zero work?

I enter: Around[0,0.5]^2 and I get 0. This is a bit strange. Around[0,0.5] is supposed to represent numbers between -0.5 and 0.5. So by my estimates the square ...
zooby's user avatar
  • 291
18 votes
2 answers
603 views

Around usage results

Why is Around[10, 1]^2 +- 20 and Around[10, 1] Around[10, 1] giving 100 +- 14 ? Just curious I would suspect them to ...
Lou's user avatar
  • 4,024