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

1
vote
0answers
32 views

Scaling tikz graph when pgfplots is loaded

This question is related to: tikz: Scaling the unscalable — issues with a TikZ graph I'm using the suggested modification from the linked answer to scale tikz graphs. However, I'm also including ...
3
votes
1answer
86 views

Outsourcing Tikz and relative paths

Summary: How do I get includegraphics to be relative to the current file, when using tikzscale? Details Similar to pmav I like to have a .tikz file which contains only the tikzpicture ...
5
votes
1answer
53 views

Why does \renewcommand not overwrite \includegraphics from tikzscale?

I have the following tex code \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tikz} \usepackage{tikzscale} \usepackage{filecontents} \usepackage{graphicx} ...
1
vote
2answers
64 views

Wide space between picture and caption

For some reason my v-space does not show up correctly! Does somebody know wy? \begin{figure}[h!] \centering \resizebox{.5\linewidth}{!}{\input{Figures/NIRS/Extinction}} \caption{Characteristic ...
4
votes
2answers
102 views

tikz: Scaling the unscalable — issues with a TikZ graph

I have a graph that works by itself and I have to scale this graph inside my document (see code below). I got inspired for this from this post (Scale tikz figure to a percentage of \textwidth) that ...
0
votes
0answers
65 views

How to scale a figure including picture using tikzscale?

I'm having troubles with the tikzscale package. I'm trying to insert arrows above a picture. And, when I do so, I have the following error : "! Package tikzscale Error: Requested to scale unscalable ...
4
votes
0answers
158 views

tikz-plots get recompiled every time when using tikzscale

For my thesis I have a lot of tikzplots exported from matlab using the matlab2tikz library. I want to use the tikzscale-Package together with externalization of the plots to save compiling time. Using ...
3
votes
1answer
110 views

Conflict tikzscale and matrix group plot

I want two axis environments next to each other in one figure environment. I want them to be vertically aligned and scaled to the width of the text. I am trying to achieve this by means of the ...
2
votes
1answer
78 views

Missing folder paths in tikz picture when loaded with tikzscale/standalone

I have a standalone mytikz.tikz picture which loads test.png. Both reside in the folder pics/. My main.tex, which uses tikzscale to load mytikz.tikz, is in the parent folder. Loading the test.png ...
5
votes
2answers
203 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} ...
3
votes
1answer
69 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 ...
1
vote
0answers
25 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 ...
6
votes
2answers
144 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] ...
3
votes
0answers
75 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 ...
2
votes
0answers
136 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 ...
4
votes
1answer
269 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 ...
1
vote
1answer
241 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 ...
5
votes
1answer
454 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 ...
4
votes
1answer
412 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 ...
7
votes
1answer
923 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 ...
3
votes
1answer
662 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
399 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 ...
3
votes
0answers
189 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} ...
4
votes
1answer
360 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 ...
2
votes
3answers
441 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. ...
6
votes
0answers
3k 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
689 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) ...
1
vote
1answer
757 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 ...
3
votes
1answer
283 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} ...
5
votes
0answers
1k 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
190 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 ...
7
votes
1answer
601 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 ...
4
votes
1answer
197 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 ...
9
votes
0answers
260 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
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 ...
3
votes
1answer
475 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. ...
6
votes
1answer
529 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} ...