{spy} is about a {tikz} library used to magnifying parts of pictures.

learn more… | top users | synonyms

15
votes
3answers
2k views

Magnifying part of a picture similar to TikZ spy library

Suppose I have a .png or .jpg file. Let's say this one: I would like to zoom in on the tip of Tux's beak. TikZ for example provides a very nice library that allows for zooming with a spyglass like ...
14
votes
1answer
552 views

Scalebar Overlay and TikZ spy

This question uses code snippets from How to add a scalebar to an image and Drawing on an image with TikZ. I have an image with a scalebar (absolute positioning) overlay. Its length is determined by ...
9
votes
2answers
481 views

Unexpected clash between babel and pgf spy

The following example taken from the pgfplots manual (p. 121) works fine only if the line loading babel is commented \documentclass{article} \usepackage[frenchb]{babel} % this is the troubelsome ...
9
votes
1answer
366 views

Plot magnification using sub-plot within a plot!

How can I produce such kind of zooming shown in the figure? Here the selected portion is plotted again with new axis displaying more details than just magnifying the portion. One solution is to ...
8
votes
1answer
323 views

Why does a tikz spy specified as a chamfered rectangle show up as a simple rectangle?

I'd like to use a tikz spy shaped like a chamfered rectangle. The code runs without complaining, but the result is a plain rectangle. "rounded rectangle" works as expected, as does ...
5
votes
1answer
332 views

Where can I find the TikZ spy package

Where can I find the TikZ spy package? I found a great article here: How to create magnified subfigures and corresponding boxes for portions of a large image Even with Google and StackExchange search ...
5
votes
1answer
373 views

Rectangular spy in pgfplots without scaling

I'm trying to copy the behaviour of this question: Using tikzlibrary spy without magnifying line width and/or mark size. I would like to change the shape of the spy to rectangle, but I'm failing at ...
5
votes
1answer
65 views

Magnify part of picture with TikZ spy, expressed in relative scoped coordinates

I want to magnify part of a picture with the TikZ spy library; however, with a scope for using relative coordinates like in #9561 Drawing on an image with TikZ. Provided I'm using the image tux.png - ...
4
votes
1answer
556 views

No content in zoom Tikz spy

I'm trying to use the spy glass in Tikz, but for some reason my zoom area is always empty and (some) graphs tend to disappear when I use spy. I've updated all my packages etc. through the updater by ...
4
votes
1answer
695 views

TikZ: using the spy library to zoom in

In this post How to zoom a portion of TiKZ picture?, Martin Scharrer demonstrates how use the spy library to zoom in on a portion of a TikZ picture. (1) Is it possible to construct separate lines, ...
4
votes
1answer
340 views

How to add axes in a magnified part of a graph using spy?

My problem is the following. I would like to draw the (magnified) axes on the magnified area of spy. For instance, take the following example (from pgfplots.pdf, p.121): % Preamble: ...
3
votes
0answers
68 views

Real Zoom in a plot [duplicate]

I was wondering if there are a mean to zoom in the plot, I know about spy library (PGFPlots) but this later tries only to scale the windowed area and get the raster bitmap after a stretch. Here, I am ...
2
votes
1answer
313 views

Pgfplots label get repeated by tikz spy library

My question is very similar to this question. I label a certain curve in my plot and magnify a part of that. The \spy command repeats the \label which causes multiply defined label warnings which are ...
2
votes
0answers
129 views

Magnified plot / Vertical Markers [duplicate]

I've been trying to use the spy library to magnify a part of my plot, but I don't really understand how it works, and I can't find a manual/tutorial anywhere. Right now I am doing something based on ...
1
vote
1answer
77 views

How can I change the line width of the spy-on node in tikz spy library?

is there an option to change the line width of the spy-on node, i.e. the node that appears on the image, in the tikz spy library?