2
votes
Accepted
0.5 steps doesn't function in pgfplots
I assume that you ignored the error messages.
You mix comma and dot as the decimal separator.
Below you find an example in which I replaced commas with dots.
In addition, don't put the label and ...
2
votes
Accepted
Restricting tikz plot to multiple domains due to dividing by zero
Like this?
By use of restrict y to domain =<min>:<max> ,:
\documentclass[border=3.141592]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{...
1
vote
Accepted
Tikz: fill square mark in axis environment
\documentclass[tikz, border=1cm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines = middle,
xmin=0, xmax=10,
ymin=0, ymax=6,
] ...
1
vote
Accepted
Pgfplots: extra minor tickmarks
No need to remove enlargelimits; you can use:
extra x ticks={-2.4, -2.2, 2.2, 2.4},
extra y ticks={1.2},
extra x tick label=\empty,
extra y tick label=\empty,
extra tick style={major grid style={line ...
1
vote
Accepted
pgfplots, multiply values, add ticks without numbers
With ymin=150, some of your data is outside the scale
\begin{filecontents}{data.txt}
22 21.6346 17.1
23 25.8325 17.2
24 29.3521 17.3
25 28.6512 17.4
26 22.7039 18.1
27 18.4983 18.2
28 26.4515 ...
1
vote
Pgfplots: Calculating linear regression, but ignore outliners for certain Y values
You do not wish to filter the output coordinates of your line. I do know if there is a better way, but one way is to set the variance of the unwanted points high(the default value is 1 and 1000 will ...
1
vote
Accepted
Grouped Bar chart - scaling problem
You need set ytick=data. You are better to see the enlarge limit effect when there are axis lines drawn. Enlarge limit will make the two bars plot drawn in the proper distance. Also you axis height is ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pgfplots × 8869tikz-pgf × 4184
pgfplotstable × 475
bar-chart × 450
plot × 428
legend × 323
3d × 291
axis × 228
color × 176
graphics × 168
groupplots × 167
gnuplot × 164
fillbetween × 152
labels × 149
nodes-near-coords × 136
ticks × 128
graphs × 125
diagrams × 122
tikz-external × 114
pgfmath × 97
dateplot × 94
matlab2tikz × 90
boxplot × 87
nodes × 85
tikz-styles × 84