Questions tagged [error-bars]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
45 views

Error bars with different colors in one graph

I have two plots in one graph. Each plot contains its own error bars. How can I color error bars according to their plot (i.e. red and blue)? If, for instance, I set the error bar color red, then I ...
Gagik's user avatar
  • 359
1 vote
0 answers
28 views

Automatic calculation of error bars based on data in a bar chart

I would like to draw a bar chart using PGFPlots with error bars that are automatically calculated from the data. Here is a slightly simplified version of what I am attempting: Suppose you have two ...
bp99's user avatar
  • 605
0 votes
0 answers
26 views

Unable to adjust the errorbar

\resizebox{42mm}{39mm}{ \begin{tikzpicture} \begin{axis}[ x tick label style={/pgf/number format/1000 sep=}, ybar, enlargelimits=0.05, legend style={at={(0.03,.88)},...
Abhishek Hazra's user avatar
0 votes
0 answers
18 views

Labeled error bars in PGFPlots

I'm trying to create a two-series bar chart that shows percent change between the first and second series. I got the idea from this excel tutorial, and I'm trying to adapt it to LaTeX. I was thinking ...
Jakob Lovern's user avatar
1 vote
2 answers
66 views

How do I put two tables next to each other

I've tried to use \quad and \subfloat but I'm still struggling to make it work. Below is the code that I wrote. \begin{table}[h!] \ centering \begin{tabular}{|c|c|c|} \hline \textbf{Dimer ...
Gaussian 123's user avatar
1 vote
1 answer
67 views

Error bars in pgfplots symlog bar chart not working

I'm trying to create a bar graph with symlog axes and black error bars. However, the best I got so far is below. Now my error bars disappear behind my bars and have colors that are not black for some ...
RVK's user avatar
  • 13
1 vote
1 answer
28 views

Large error bar distorts axis

Overall, my error bars work. However, one error value is relatively high and results in additional space on the y-axis (below y=0). I would like my axis to also look like the one on the right: My ...
Klara Wichmann's user avatar
0 votes
0 answers
73 views

Bar Charts out of JMH-Data

I want to do some bar charts out of a benchmark I've done with the Java Microbenchmarking Harness. The simple bar chart isnt the problem but on top of each of the bars, I want to show the variation (...
Jakob's user avatar
  • 1
0 votes
1 answer
152 views

How to add different values of error bars in both y- directions from a csv file in pgfplots?

I have a working code. Unfortunately though, it appears as if the error bars are being added twice. Once in blue and once in gray. I don't understand what is causing this. How can I fix it? Here is ...
BubbleFlow's user avatar
0 votes
1 answer
135 views

Overleaf error messages when compiling with \begin{align*} and \end{align*} and using \bm{\varphi}

I'm getting error messages in overleaf such as "Missing } inserted.", "Extra }, or forgotten \endgroup.", "Misplaced alignment tab character &.", "Misplaced ...
Erik Sahlin's user avatar
1 vote
1 answer
72 views

I've problems with my thesis and don't compile, Do you help me? Where is the error? [closed]

My thesis don't compile and i don't understand the reason. It's an physics undergraduation final thesis. Help me because i don't understand the errors from the log and the true reason if you wish ...
Lucas Xavier's user avatar
1 vote
1 answer
185 views

Add vertical error bar to specific points in scatter plot

I have a data set of the form x vs. y. I want to add to this data set vertical error bars only at specific coordinates (x73,y73), (x108,y108) etc. Otherwise my plot would be too cluttered. I tried ...
tush's user avatar
  • 1,093
1 vote
2 answers
577 views

Adding error bars of different lengths to pgfplot?

I'm in a situation where I need to add error bars to my pgfplots scatter graph like in the example shown at this link: example The code I have so far is shown below which produces a simple scatter ...
125125's user avatar
  • 13
1 vote
1 answer
360 views

Make color of error bars same as marks using colormap

I have investigated this a couple of hours now, and the best I found was Define error bar color in scatter class. Too bad, the solution doesn't compile for me. I want my error bars to use the same ...
Mullvadsungen's user avatar
2 votes
1 answer
89 views

How to make error bars in a bar graph the same size (pgfplots)

Hello i have a bar graph with only 2 quantities and id like to make it so each quantity has the same error bar (e.g. all the red bars have error A and all the orange bars have error B). Thank you \...
Lorenz's user avatar
  • 23
1 vote
0 answers
285 views

Formatting error bar mark pgfplots, append to style?

I am trying to increase the thickness of my error bars. I found that the stem and the marker needs to be changed individually here. Problem with this is that using /error bars/error mark options={*...
Matthias Arras's user avatar
3 votes
1 answer
177 views

Error bars change marker position

For my scatter plot I have two y-axis, but they are proportional, meaning the left values are divided by a constant. Therefore, all the circles and stars are at the same position. When enabling the ...
fuj36840's user avatar
  • 540
1 vote
1 answer
193 views

Error bar doesn't scale according to y axis

I was building a graph with error bars for my thesis. However the values for error bars don't seem to scale according to the y axis and so the size is completely off. I'm not experienced with LaTeX, ...
Lilly Nguyen's user avatar
1 vote
1 answer
538 views

Plotting stdev error graph from external data file

I am trying to plot a tikz error (standard deviation) graph but i keep getting a parsing error: ! Package PGF Math Error: Could not parse input 'D1-1k' as a floating point number, sorry. The ...
MoeS's user avatar
  • 23
0 votes
1 answer
381 views

Error bars / measurement uncertainty in bar plots

I'm plotting pH results from an experiment and the measurement uncertainty is ± 0.1. \documentclass[10pt]{standalone} \usepackage{pgfplots} \usepackage{siunitx} \usepackage{tikz} \usepackage{mhchem} ...
Max R's user avatar
  • 308
0 votes
0 answers
54 views

How to modify error bar appearance

I would like to make the side lines of the error bars longer, as illustrated in this figure (not created by gnuplot): Is there any way to do this without resorting to drawing symbols manually?
painfulenglish's user avatar
0 votes
0 answers
52 views

error bars of inline plot coordinates format pgfplots

Can somebody please explain to me how to read the error bars from the following? I get that (1,2) is the coordinate of the point but what does (0.4,0.2) represent? Are 0.4 and 0.2 the error values of ...
Gagik's user avatar
  • 359
0 votes
1 answer
5k views

adding error bars to bar plot

I have this figure in Excel that I want to replicate in LaTeX. So far, I have these. Can anyone help me to get as close as possible to the first figure please? Also, I want to add a legend to the ...
user151562's user avatar
3 votes
1 answer
876 views

Problem with error bars while using pgfplots

I'm new to pgfplots, but it seems like a really useful package. However, I can't quite figure out how to use error bars. Below is the code to my column chart, where some columns should include an ...
Christian P.'s user avatar
1 vote
1 answer
130 views

How to add Error Bars to PGFPlots graph data that isn't in table form

I am making a graph in PGFPlots, and I have many lines along my axes. My MWE contains two. Each have different error value, and my data are in coordinate form, not in table form. Would I have to ...
TheBigFootsDad's user avatar
4 votes
1 answer
1k views

Add error bars to scatter plot with labels and classes

What I want to do is to add a vertical error bar (column ey in the table) on each point. I tried to add: %error bars/.cd, %y dir=both, %y explicit, But it didn't work. \documentclass[...
Ash's user avatar
  • 143
2 votes
0 answers
206 views

Plotting errors bars with "plot" without using axis environment from pgfplots

In the axis environment of the pgfplots package there is a simple way to add error bars: \documentclass{minimal} \usepackage{filecontents,pgfplots,tikz} \usetikzlibrary{plotmarks} \begin{...
Betohaku's user avatar
  • 1,637
5 votes
1 answer
3k views

Error bars as shaded area

I'm wondering if there is a possibility for Latex to display the error bars of a curve or series of data points as a shaded area rather than individual bars on the points; something like this question....
elporsche's user avatar
  • 121
0 votes
1 answer
1k views

Adding constant error bars on pgfplots

I have seen many questions about error bars but is there a simple command that allows me to add, for example, a constant 5% or 0.1 error on all my points in the x/y direction. All the questions I have ...
Aakash Lakshmanan's user avatar
2 votes
1 answer
5k views

Setting error bar line width using \pgfplotsset [duplicate]

In the following MWE, the lines and vertical error bars have the correct width, but not the horizontal bars. How do I set them to 'very thick'? Also, is there a way to control their length? Finally, ...
Tohiko's user avatar
  • 1,777
1 vote
0 answers
121 views

pgfplot polar errors

I want to plot a dataset with pgfplot using the polaraxis with errors but i cant seem t oget it right: \documentclass{scrartcl} \usepackage{enumitem} \usepackage[ngerman]{babel} \usepackage[utf8]{...
H. S.'s user avatar
  • 11
4 votes
1 answer
676 views

pgfplots x and y error bars as rectangles

The following MWE displays x and y error bars as two orthogonal lines. Is it possible to display these errors instead as the (say light gray filled) rectangles circumscribing to these orthogonal lines?...
Denis Bitouzé's user avatar