# Tag Info

6

In pgfplots you can add a node at some fraction of the path by just adding node[pos=<fraction]{<stuff>} after the \addplot command. \documentclass[tikz,border=3mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.17} \begin{document} \begin{tikzpicture} \begin{axis}[hide axis, width=12cm, axis background/.style={path picture={ \...

2

I see no reason to use PGF code - you are almost there just by noticing that the spiral can be plotted by {cos(deg(x))},{sin(deg(x)},{x}. I normally love PGFPlots, but this is not a plot(axis, scale, ticks, labels, ...). I believe that the plot function in TikZ is the right way. To straighten the ends of the spiral I let the amplitude decay at the same with ...

2

Do not use scale in an axis, rather use the width option. And work with symbolic coordinates. You will need lualatex to compile this swiftly. \documentclass{standalone} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[margin=0.5in,paper=a4paper]{geometry} %Shrinking margins to 0.5in \usepackage{bm} \usepackage[x11names]{...

1

I do not know why you think that you can use the poles of tan for cot. If you choose the appropriate poles, you get \documentclass[tikz,border=3.14mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.16} \begin{document} \begin{tikzpicture} \begin{axis}[% axis lines=middle, axis on top, xlabel=$x$, ylabel=$y$, domain=-2*pi:2*pi, ...

1

Instead of x filter/.code you want x filter/.append code. Then you only need one version. \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=newest} \usepackage{filecontents} \begin{filecontents}[overwrite]{data.csv} # x, y, color, shape, size 1, 3, a, 0, 2 2, 6, b, 0, 2 3, 5, a, 1, 2 4, 4, b,...

1

How to lower the legend so it doesn't override the x-axis You can change legend location by changing the numbers inside at={(0.5,-0.45)} in legend style=.... You already had this in your file, I just changed the numbers so they work for your plots. Same can be done with xlabel, which was also overlapping some stuff. This time I played with values yshift=-...

1

As it seems the colors for the marks have to be given extra with the mark options (see MWE below). Interestingly changing \addplot+ to (just) \addplot the outliers aren't shown at all. Together with the "strange" behaviour of \addplot+ not considering the colors given to the not-outlier stuff this may be a bug. Is you think so as well, please ...

1

From the PGFPlots manual (v1.17) section 8.6 on page 553. To change the number format of the output have a look at the TikZ manual (v3.1.7) section 97 (page 1051), e.g. if you want to output 3 decimal numbers instead of only 2. % used PGFPlots v1.17 \documentclass[border=5pt]{standalone} \usepackage{pgfplots} \pgfplotstableread{ x y ...

Only top voted, non community-wiki answers of a minimum length are eligible
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9328766465187073, "perplexity": 3271.318529402943}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-50/segments/1606141195967.34/warc/CC-MAIN-20201129004335-20201129034335-00601.warc.gz"}