Linked Questions

2
votes
0answers
106 views

CMYK Shading with relative coordinates [duplicate]

I am trying to in a way automate the shading issue described here: Drawing a box with shading in pgfplots The general goal is to put a working code part in my style definition using append after ...
0
votes
0answers
26 views

How can I get x-y values of an intersection point that corresponds to the actual graph values and not TikZ coordinates? [duplicate]

I have a .csv file plotted and a vertical line at a specific x value. I found the intersection point and now I need to get its x and y values that correspond to actual plot values and not tikz ...
62
votes
5answers
21k views

Extract x, y coordinate of an arbitrary point in TikZ

I need a macro to extract the x and y coordinates from an arbitrary point, like (3,4), or like (A), or like ([xshift=-2pt] A.north west), where A is the name of a node. I've seen the solution \...
15
votes
3answers
5k views

Coordinates of intersections in axis environment (pgfplots)

In axis environment I have a curve and a line intersecting it. How can I get components of (intersection-1), (intersection-2) etc. in axis units? \documentclass{minimal} \usepackage{pgfplots} \...
12
votes
2answers
1k views

Convert from physical dimensions to axis cs coordinate values

In answering PGFPlots: How to draw a label at a zero of a function?, I got stuck on converting a length in pt to the actual coordinate value in the axis cs system. Here I only need the x value, but my ...
7
votes
1answer
1k views

Using Macro Defined Lists in TikZ/PGFplots

I want to be able to use a macro to specify a list (it is a constant list, i.e. will not change throughout the document) and use this macro rather than hard code the list contents in the TikZ/PGFplots ...
2
votes
1answer
536 views

Pgfplots: how to have “let” retrieve coordinates in the axis coordinate system? [duplicate]

This is a continuation of my previous question, but now I want to use pgfplots. In an axis environment, I add a node using the axes coordinate system. I would like to use let to retrieve the ...
1
vote
2answers
478 views

pgfplot zoom into coordiate set on plot and insert text

I have managed to produce a nice looking graph, but want to add a "loop" that zooms into a specific threshold created by me (the 95th percentile). In the zoomed picture I'd like to be able to add text ...
3
votes
1answer
269 views

PGFplots: extract coordinates, assign to global with dynamic name

I would like to loop over nodes, extract their coordinates in the axis coordinate system, and assign these to dynamically named macros. (This is a followup on this and this.) Following this answer, I ...
1
vote
2answers
169 views

Use an equivalent of the \only command for non-beamer document class

[REVISED VERSION aimed at making the MWE more realistic] I have two related figures of different width that are drawn in the tikzpicture environment using pgfplots and the related axis environment. ...