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 ...
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 ...
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 \...
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} \...
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 ...
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 ...
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 ...
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 ...