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

learn more… | top users | synonyms

6
votes
2answers
92 views

Use tikz spy in a scope in order to relatively adress points in two images/scopes

I am continuing the example I started here, and want to have two images in one picture being positioned relative to each other and using two scopes for the ´spies´. The following MWE includes a first ...
3
votes
1answer
140 views

Why does the definition of a `spy scope` imply a change in the foreground color?

I noticed that the foreground color changes when adding a spy scope to my tikzpicture. Compare: \documentclass[]{beamer} \usepackage{tikz} ...
7
votes
1answer
413 views

Magnify text using spy library

I have this information generated using tikz code. I want to magnify some part of the text using the spy tikzlibrary, but I am unable to do it. I want to magnify this part of the whole text 4.96 ...
5
votes
1answer
165 views

Tikz Spy, different image magnified?

I'm using tikz library spy to zoom into an image. The image Im zooming into is a binary black and white image. But i want the circle with the magnified part to be filled with a color version of the ...
2
votes
0answers
108 views

Using the TikZ spy library to spy on a pixel value in beamer

I tried to use the TikZlibrary spy to zoom in on a certain pixel image; I am drawing in the image using a scope and red about the problem concerning coordinates in scopes here Magnify part of picture ...
4
votes
1answer
215 views

TikZ: How to scale the spy box with the tikzpicture?

With the help of How do I zoom a rectangle area in pgfplots adding a gray background even for the axis labels? and No content in zoom Tikz spy I have been able to get the most of what I want. Using ...
6
votes
1answer
190 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 - ...
1
vote
1answer
186 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?
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 ...
8
votes
1answer
533 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 ...
3
votes
0answers
147 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 ...
4
votes
1answer
1k 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, ...
5
votes
1answer
546 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
532 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 ...
10
votes
1answer
491 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 ...
14
votes
1answer
717 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 ...
11
votes
2answers
666 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 ...
5
votes
1answer
650 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
460 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: ...
2
votes
1answer
375 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 ...
16
votes
3answers
3k 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 ...