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 ...
user avatar
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{...
user avatar
  • 255k
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, ] ...
user avatar
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 ...
user avatar
  • 22.9k
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 ...
user avatar
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 ...
user avatar
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 ...
user avatar
  • 4,563

Only top scored, non community-wiki answers of a minimum length are eligible