The tikzscale pack­age ex­tends the \in­clude­graph­ics com­mand to sup­port tikzpic­tures. It al­lows scal­ing of TikZ im­ages and PGFPlots to a given width or height with­out chang­ing the text size.

learn more… | top users | synonyms

9
votes
0answers
250 views

tikzscale does not work with the Beamer class [closed]

I couldn't get tikzscale work with the Beamer document class. Here is a minimal example: Main.tex: \documentclass{beamer} \usepackage{tikz} \usepackage{tikzscale} \begin{document} ...
7
votes
1answer
411 views

Exact scaling with TiKZ-scale

I am using tikzscale to scale all my figures to the same size. This works quite nicely, but sometimes there is a difference in the scaled width. I can manually tweak the scale parameter (using pdfcrop ...
7
votes
1answer
1k views

tikzscale and histograms in pgfplots

Tikzscale is giving wrong results for histograms drawn in pgfplots. Histogram without scaling by tikzscale: Histogram after scaling: I have included a histogram from page 67 from pgfplots manual ...
6
votes
2answers
90 views

Scale the Axis in Tikz

I have the following problem: \begin{center} \begin{tikzpicture}[scale=0.5, >=latex] \draw[->] (-6,0) -- (6,0) node[right] {\scriptsize $x$}; \draw[->] (0,-5) -- (0,15) node[above] ...
6
votes
1answer
406 views

scaling multi column groupplot while maintaining font size and node placement

This is a follow-up to two previous questions: 1: font size scaling and node placement issues using pgfplots and tikzscale 2: Scaling a multi-column TikZ/pgfplots groupplot to page width I would ...
5
votes
1answer
375 views

tikzscale and \tikzsetnextfilename do not work together

\tikzsetnextfilename does not work with tikzscale package. In the MWE, included file is A.tikz which should produce A.pdf. MWE works if tikzscale is not used. MWE: \documentclass{report} ...
5
votes
0answers
2k views

How to incorporate and scale matplotlib plots in latex using the PGF backend?

I am using the pgf backend of matplotlib to generate pgf files which I want to put into my latex document using tikzscale to be able to resize them easily. Example python code: #!/usr/bin/env python ...
4
votes
1answer
214 views

tikzscale not working with subcaptionbox?

I have some complicated tikz pictures that I don't want to manually resize (therefore tikzscale) - but putting several in a figure doesn't seem to work with \subcaptionbox. It does work with subfigure ...
4
votes
1answer
178 views

bug in tikzqtree/tikzscale

Background I was trying to find out if I can use tikzscale to scale the tikz-qtree figure in Text tree using tikz-qtree is too wide, don't know how to break lines and make the tree compact to fit ...
4
votes
1answer
481 views

How to automatically align subfloat captions to xlabel of PGFplots?

Subfloat captions are not usually aligned with their corresponding xlable in PGFplots. One way is to manually move the captions horizontally to align them. For example, (copied from here) ...
4
votes
1answer
72 views

tikz: scaling the y axis

I would like to scale the y axis so that my plot isnt microscopic on the y axis. However, when I use yscale = x where x is some number, the image and the circles are distorted. I would like to ...
4
votes
0answers
834 views

Tikzscale, trim axis left/right, and externalizing

tikzscale and trim axis do not play well together, with the produced figure being larger than requested because it ignores the size of the labels. I was wondering whether it is possible to use both ...
3
votes
1answer
155 views

inconsistent behavior of tikz [fit] and [transform shape]

I want to frame a set of nodes with the option [fit] ​​and change the overall size of the drawing with [scale = xx, transform shape] but I have unexpected behavior. the frame is no longer valid the ...
3
votes
1answer
267 views

font size scaling and node placement issues using pgfplots and tikzscale

From the tikzscale documentation I understand, that it is supposed to keep font sizes constant. However, this does not seem to apply to axis ticks or axis labels from pgfplots' axis environment. Also, ...
3
votes
1answer
38 views

Scale of Tikzpicture

I have a question to the following code: \begin{tikzpicture}[scale=0.6, >=latex,y=7cm,x=1.8cm] \draw[-angle 45,line width = 0.8pt] (-5,0) -- (5,0) node[right] {\scriptsize $x$}; \draw[-angle ...
3
votes
1answer
234 views

How to pass a macro in externalized tikz?

I experience a problem when I use tikzscale package to compile figures externally. The minimal working environment is as follows. The main.tex: \documentclass[\myopts]{IEEEtran} ...
3
votes
1answer
165 views

TikZ & External: figure re-created for no apparent reason

I'm having an issue where only one out of multiple figures is recreated despite the use of the tikz/external library. I've created a MWE which shows the same effect with only two figures. Below is my ...
3
votes
1answer
356 views

TikZ External and tikzscale: Figure is regenerated every time

I am using tikzscale with tikz external library in the list and make mode. Before using tikzscale, if I issued make -f main.makefile command, only the figures that were not present would be generated. ...
3
votes
0answers
48 views

Using tikz arrow with scaleboxed tables

Following this post. I would like to use arrows with tables. Yet my tables are too big and I want to rescale them using scalebox. But went I use tikz with the scaleboxed tables I cannot point ...
3
votes
1answer
184 views

Problem combining tikzexternalize, tikzscale and external graphics

I have a problem when trying to scale and externalize a tikzpicture that includes an external graphics file. Using the following code will result in an output of the document but the figure is not ...
3
votes
0answers
124 views

tikzscale and \tikzsetnextfilename

I'm using Windows 7 or 8.1 with MiKTeX 2.9. I still have the problems, described here and here. I updated the packages with the package manager and I use \documentclass{report} ...
2
votes
3answers
235 views

Force Picture to take up remaining space on a page

I have a picture that needs to be presented in as large a format as possible due to its intrinsic size and the fact that the graph is reltively dense with information presenting results at 255 points. ...
2
votes
1answer
290 views

Peculiar tikz-external, pgfplots, tikzscale combination problem

I want to use \tikzexternalize and tikzscale with pgfplots' \addplot graphics command and \clip=false option. I am using three files: A.png, A.tikz and A.tex. A.png can be any graphics file. A.tikz ...
2
votes
0answers
72 views

How to scale hatch in tikz figure in LaTeX?

I have ellipses with hatch. I want to use lines or bricks hatch but more rare than default. I can change spread between lines in this way Custom and built in TikZ fill patterns. It worked, but it's ...
1
vote
1answer
419 views

How to install the tikzscale package?

I downloaded tikzscale.zip from CTAN. I extracted the following files from tikzscale.zip: 3Dplot.tikz README histogramNormal.tikz linewidth.tikz pgfplots-test.tikz pgfplots.randn.dat ...
1
vote
1answer
100 views

Scaling pgfplot with tikzscale

I'm using tikz and pgfplots for graphs. When using a second y-axis on the right the scaling of tikz is not proper. So I tried to use the tikzscale package and the includegraphics but it seems to scale ...
1
vote
0answers
23 views

Nested environments to scale tikzpicture [duplicate]

I found this nice solution to scale a TikZ picture to \textwidth and wanted to use it within an own defined environment. \documentclass{article} \usepackage{tikz} \usepackage{environ} \makeatletter ...
0
votes
0answers
34 views

font size with tikzset and tikzscale not working

I want to set the font family and size for all pgf/tikz figures in my preamble. But when I use tikzscale, then this is ignored. Can anyone help? \documentclass[a4paper,12pt]{scrbook} ...
0
votes
0answers
30 views

Using tikzscale along with correct references in externalized tikzpictures

It is not advised to use tikzscale package along with mode=list and make based on Patrick's comment here: http://tex.stackexchange.com/a/89595/24167 However, the references (e.g. \cite) does ...