New answers tagged

0 votes
Accepted

To which entities can I anchor nodes in pgfplots?

In a nutshell you can refer to, at least: entities, you can name via name= predefined entities, like current axis, current plot begin and current plot end See examples below. Note that order and ...
MS-SPO's user avatar
  • 12k
1 vote
Accepted

Adding text with reference to yticklabel in polar plot

Please see my update, below. Looks like your transformations contribute to the trouble. There may be a way to retrieve the ylabels node, which would be best to do, e.g. to use anchoring. If it's ...
MS-SPO's user avatar
  • 12k
1 vote
Accepted

Adding annotations on images in minipage

Even with a minipage you can add a tikzpicture and put the \includegraphics command in a node, with the desired rectangle \begin{tikzpicture} \node (0,0) {\includegraphics[width=\linewidth]{example-...
jlab's user avatar
  • 2,268
5 votes
Accepted

Tikz matrix with color nodes (traffic light)

|[#1]| sets both draw and fill color. Try: \documentclass[a4paper,fontsize=12pt]{article} \usepackage{tikz} \usetikzlibrary{fit, matrix, positioning} \newcommand\trafficlight[3] { \begin{...
Rmano's user avatar
  • 41k
3 votes

Node in unwanted position using tikzpicture

We can use extra y ticks For these functions, samples=2 is sufficient To mark the point with dot, you can do it in the outline, and add clip mode=individual \draw[gray, thick, dash pattern=on 6pt ...
pascal974's user avatar
  • 4,722
3 votes

Node in unwanted position using tikzpicture

To join the two axis lines, add line cap=rect to the axis config. The axis coordinate system is set between \begin{axis} and \end{axis}. You can save the position as coordinate to use it outside the ...
jlab's user avatar
  • 2,268
3 votes
Accepted

Node in unwanted position using tikzpicture

The problem is that the axis environment has a different "scope", defined by the origin of the coordinate system (try \begin{axis}[..., ymin=-5] to see this). The offset that you observed is ...
BanDoP's user avatar
  • 638

Top 50 recent answers are included