# Tag Info

9

This is fairly close. The axis labels have been moved by modifying the every axis x label and every axis y label styles, see the axis options. Ticks are added by changing ticks=none to ytick=\empty and adding xtick={28.9,54},xticklabels={$T_{\mathrm{Tr}}$, $T_{\mathrm{K}}$}. The dashed lines are drawn with a ycomb plot, see the last \addplot. The labels ...

5

TeX has insufficient math capabilities for drawing this graph with sufficient accuracy; no software can draw it near zero, of course. With gnuplot, restricting the domain to a more sensible interval and increasing the number of samples, I get a good drawing: \documentclass[12pt]{article} \usepackage{pgfplots} \usepackage{tikz} \begin{document} ...

5

This answer is based on g.kov's excellent answer, but uses the relatively new smoothcontour3 module to produce a nicer-looking surface. The smoothcontour3 module has been incorporated into Asymptote version 2.33 (released 11 May 2015, just a little too late for the Tex Live 2015 cutoff), so if you have that version or later, you should not need to download ...

4

You should not shift the whole environment axis, but only the x axis labels themselves: \begin{tikzpicture} \pgfplotsset{ every axis x label/.style={ at={(ticklabel* cs:1.05)}, yshift = -7.5pt, anchor=west,}, width=14cm, every axis y label/.style={at={(current axis.above origin)}, anchor=north east, yshift = 1cm,} } ...

4

You can create a parametric plot, placing samples closer together as x\to 0. In this case, x=1, 10/11, 10/12, ..., 0.01 \documentclass[12pt]{article} \usepackage{float} \usepackage{pgfplots} \usepackage{tikz} \begin{document} \begin{figure}[H] \centering \begin{tikzpicture} \begin{axis}[ xmin=-0.01, xmax=1.05, ymin=-0.01, ...

3

AFAIK, the only way to control the width and height of a pgfplot axis is with width and height, and pgfplot regards them more as guidelines than rules. If you want precision, you will need to use \resizebox. \documentclass{article} \usepackage{pgfplots} \usepackage{tikz} \pgfplotsset{ %label style={anchor=near ticklabel}, xlabel ...

3

By default, TikZ nodes do not allow line breaks, but if you add the align=<left/right/center> key you can use \\. Hence, you can modify the legend style as below. \documentclass[border=4pt]{standalone} \usepackage{pgfplots} \pgfplotsset{ compat=1.12 } \begin{document} \begin{tikzpicture} \begin{axis}[ legend style={cells={align=left}} ] ...

2

It's because the actual box size is reported due to the following (after adding clip=false to the axis) This is the vertical box saved but then since it is clipped it is placed at the baseline. You can add restrict y to domain=-5e-4:0.1 to restrict this drawing and it would get better. Probably the fill between doesn't yet respect the clipping but still ...

2

Here's something that is most of the way there: It borrows heavily from my answer to How I can customize a legend on pgfplots? and the links within. The only thing missing is the horizontal line; if someone can build on my answer to achieve it, I'll happily delete it. % arara: pdflatex % !arara: indent: {overwrite: yes} \documentclass{standalone} ...

2

Here's an option using asymptote instead of pgfplots. Compile with pdflatex -shell-escape. \documentclass{standalone} \usepackage{asypictureB} \begin{document} \begin{asypicture}{name=spherical-harmonic-L-M-4-3} import graph3; import palette; size3(200,200,200); currentprojection=orthographic(4,1,1); //Parametric function R^2 --> R^3 for drawing ...

1

According to overleaf, this works \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.12} \tikzset{adjust near node color/.code={% \pgfplotscolormapdefinemappedcolor\pgfplotspointmetatransformed% \definecolor{mapped node color}{rgb}{\pgfmathresult}% \pgfkeys{/tikz/text=mapped node color}% } } \begin{document} ...

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