4
votes
1answer
118 views

How can I import and scale matplotlib plots, keeping fonts the correct size?

I'm working on several pieces of coursework involving lots of plots generated with matplotlib in python scripts. Currently I'm doing this with an iterative process where I set a plot size in the ...
4
votes
0answers
804 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 ...
3
votes
1answer
321 views

Matplotlib PGF images in subdirectory

I have a two-dimensional image plotted by Matplotlib using the PGF backend. It is stored in the figures subdirectory (since I have a lot of images and don't want to clutter up the main folder). As an ...
3
votes
0answers
377 views

Externalize pgfpicture [closed]

When I do \tikzexternalize \tikzsetfigurename{foo} \begin{tikzpicture} ... \end{tikzpicture} and compile my LaTeX file with pdflatex --shell-escape, a file foo0.pdf is created the first time and ...
4
votes
0answers
51 views

Vector image (pdf) in TikZ node alters appearance [duplicate]

Possible Duplicate: Tikz changes included graphics I include my pdf vector plots (created with matplotlib) in nodes belonging to a TikZ matrix for positioning (e.g. see TikZ: Image Matrix - ...
1
vote
2answers
332 views

Generate plot with embedded tools useable externally

I use a both latex and M$ Word for my technical reports, depending on the person I have to deliver it. To generate my plot, I love using the tikz2pdf script given by Hans Meine but as far as it ...
2
votes
1answer
360 views

Trying to import a tikz figure generated by matplotlib2tikz, getting dimension too large for y-axis [closed]

I'm trying to use a graph exported by matplotlib2tikz, with the following code in it: \begin{tikzpicture} \begin{axis}[ ylabel={CF [\%]}, xmin=0.5, xmax=7.5, ymin=0.096, ymax=0.144, axis on top, ...