Jake

Germany

\documentclass{standalone}
\usepackage{tikz}
\begin{document}

\begin{tikzpicture}
\fill [white] (-1,-0.) rectangle (4.7, 5.7);
\fill [fill=red!90!black] (0,0) to [out=120, in=250] (-0.2,4.2) -- (-0.5,5) -- (-0.3,5.2) -- (1.8,4.5) -- (3.7,5.2) to [out=-70, in=70] (3.9,0) -- (3.2,0.5) to [out=200, in=-20] (0.6,0.5) -- cycle;
\draw [cyan!80, fill=white, line width=8pt] (0.75,3.65) circle [radius=1.3];
\draw [cyan!80, fill=white, line width=8pt] (3.25,3.7) circle [radius=1];

\fill [black] (1.05,3.5) circle [radius=0.45];
\fill [black] (2.9,3.65) circle [radius=0.3];

\fill [white] (1.25,3.5) circle [radius=0.15];
\fill [white] (3.05,3.6) circle [radius=0.12];

\fill [yellow!80!orange] (1.85,3.2) -- (2.35,3.2) -- (2.1,2.6) -- cycle;
\end{tikzpicture}
\end{document}
21h
comment Comparison of the plots of the same line on the Cartesian plane using pgfplots and TikZ
No, you don't. That's what I meant in my first comment, either use axis cs or compat=1.11. Then you said "I added compat=1.11", then you asked me again how to put the dot in the right place, so I assumed that for some reason that approach didn't work for you.
22h
comment Comparison of the plots of the same line on the Cartesian plane using pgfplots and TikZ
For putting the dot in the right place, use \draw [fill] (axis cs:-3,-2) circle [radius=1.5pt];. Or am I misunderstanding something?
22h
answered Specifying some points in rectangular coordinates and other points in polar coordinates
1d
comment How can a question get more upvotes than its number of views?
@Pacerier: I don't think so
1d
comment High degree polynomial plotting with Tikz/pgfplot
To get your second example to work: Set domain=-10:10, samples=55 in the axis options. Again, you can remove gnuplot[id=poly], PGFPlots can plot this directly.
1d
comment High degree polynomial plotting with Tikz/pgfplot
Two general comments: You don't need to use gnuplot for this particular plot, PGFPlots can handle this natively; and instead of the \foreach construct, you can simply use \addplot[only marks, samples at={-3,-2,...,3}] {tanh(x)}; to generate the dots.
1d
comment High degree polynomial plotting with Tikz/pgfplot
An alternative that avoids having to set the domain for each plot individually is to set restrict y to domain=-2:2 for the axis.
1d
comment Comparison of the plots of the same line on the Cartesian plane using pgfplots and TikZ
I think you can't place nodes on a plot using the pos syntax in plain TikZ, you'll need to either move it manually or draw the plot using a normal path. Just out of curiosity: why do you need to find two ways of achieving the same output?
2d
comment Comparison of the plots of the same line on the Cartesian plane using pgfplots and TikZ
When you use normal TikZ commands like \draw inside an axis environment, you should either use the axis cs: coordinate system (so \draw [fill] (axis cs:-3,-2) circle [radius=1.5pt];), or set \pgfplotsset{compat=1.11} (or newer), which activates the axis cs coordinate system.
2d
comment Change of arrow head in $\xymatrix{}
@ideal: Welcome to the site! Something seems to have gone wrong with your post: there doesn't seem to be a question. Maybe you pressed "Post" prematurely? Could you edit your post to explain what you're asking?
2d
awarded Informed
Feb
25
comment Removing double punctuation when SI units with dots occur at the end of a sentence
@JosephWright: Unfortunately, according to en.wikipedia.org/wiki/Atomic_units#Use_and_notation, using just a.u. in that case instead of E_h seems to be the common thing to do, ambiguity and incoherence with "proper" units notwithstanding.
Feb
25
comment Automatically positioning a legend relative to multiple plots in groupplots
Do you reckon this is a duplicate? I feel like your question goes further than that, because you're (rightly) asking for a more automated solution that doesn't require manually choosing the right values for group c2r1. Maybe you could edit your question to ask about automating that other approach?
Feb
25
comment Automatically positioning a legend relative to multiple plots in groupplots
You might want to take a look at tex.stackexchange.com/questions/37568/…, where the legend is saved as a reference and placed using a node after the groupplots environment is complete.
Feb
24
comment Best program for 3D plotting for LaTeX
I think it would be helpful if you could specify in some more detail what kinds of plots you'll need to generate, preferably including some concrete examples. That will probably get you more helpful answers, otherwise you'll just get answers along the lines of "Gnuplot / PSTricks / Asymptote can do that"
Feb
24
answered Histogram from single column in datafile
Feb
24
comment row index of first non-zero element in pgfplotstable
@MarcoBreitig: Sorry, I meant the values of your floats. If they're under 16000 you can simply use \ifdim\cell pt>0pt, but if they're larger than that you'll need to use the fpu library.
Feb
24
comment \usepackage{graphicx} prevents change in document
Related/duplicate: tex.stackexchange.com/questions/229907/latex-usepackagegraphicx
Feb
24
comment row index of first non-zero element in pgfplotstable
@MarcoBreitig: Do you have large numbers (greater than 16000)?
Feb
24
answered row index of first non-zero element in pgfplotstable
1 2 3 4 5