Graphics, Figures & Tablespgfplots | Package Installation

Information and discussion about graphics, figures & tables in LaTeX documents.
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

pgfplots | Package Installation

Post by marie2011 »

Dear all,

I was wondering how I can install pfgplots.sty. I need it for the graphics I have to create.

The problem is that I get an error when compiling my main document with \usepackage{pfgplots}.

I am enclosing my document "pfgplots.sty". I do not know why it is called 'csvtools.sty'.

That is the error I get:

Code: Select all

ERROR: No room for a new \dimen .

--- TeX said ---
\ch@ck ...\else \errmessage {No room for a new #3}
                                                  \fi 
l.62 \newdimen\pgfplots@zmax@reg
                                
--- HELP ---
From the .log file...

This error message was generated by an \errmessage
command, so I can't give any explicit help.
Pretend that you're Hercule Poirot: Examine all clues,
and deduce the truth by order and method.
Is it right or do I have to change something?

Many thanks in advance.

Best regards,

Marie
Attachments
pgfplots.sty
(11.05 KiB) Downloaded 854 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

pgfplots | Package Installation

Post by Stefan Kottwitz »

Hi Marie,

this is the wrong file. Install pgfplots using the package manager of your TeX distribution, or download it from CTAN.

Stefan
LaTeX.org admin
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

pgfplots | Package Installation

Post by marie2011 »

Hi Stefan,

Many thanks for your answer. I tried to install the package from the terminal. I wrote "install pfgplots" and got the following message:

Code: Select all

(Press Enter to retry, or Control-D to exit)
Please type another input file name: pgfplots
(/usr/local/texlive/2011/texmf-dist/tex/plain/pgfplots/pgfplots.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, catalan, galician, german, ngerman, sw
issgerman, spanish, loaded.
(/usr/local/texlive/2011/texmf-dist/tex/plain/pgf/frontendlayer/tikz.tex
(/usr/local/texlive/2011/texmf-dist/tex/plain/pgf/basiclayer/pgf.tex
(/usr/local/texlive/2011/texmf-dist/tex/plain/pgf/utilities/pgfrcs.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/utilities/pgfutil-plain.def
) (/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex

LaTeX Warning: You have requested package `',
               but the package provides `pgfrcs'.

))

LaTeX Warning: You have requested package `',
               but the package provides `pgf'.

(/usr/local/texlive/2011/texmf-dist/tex/plain/pgf/basiclayer/pgfcore.tex
(/usr/local/texlive/2011/texmf-dist/tex/plain/pgf/systemlayer/pgfsys.tex
(/usr/local/texlive/2011/texmf-dist/tex/plain/pgf/utilities/pgfrcs.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex

LaTeX Warning: You have requested package `',
               but the package provides `pgfsys'.

(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c
ode.tex))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvips.de
f
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-p
ostscript.def)))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.
code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.
code.tex))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex

LaTeX Warning: You have requested package `',
               but the package provides `pgfcore'.

(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.
tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic
.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigo
nometric.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.
code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round
.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.
code.tex)))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex)
)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.co
de.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconst
ruct.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage
.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.co
de.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicst
ate.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransform
ations.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.cod
e.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.c
ode.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathproce
ssing.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.co
de.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.cod
e.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.cod
e.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.
code.tex))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.co
de.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretranspare
ncy.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.
code.tex)))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.cod
e.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.
tex)) (/usr/local/texlive/2011/texmf-dist/tex/plain/pgf/utilities/pgffor.tex
(/usr/local/texlive/2011/texmf-dist/tex/plain/pgf/utilities/pgfrcs.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex

LaTeX Warning: You have requested package `',
               but the package provides `pgffor'.

))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.cod
e.tex

LaTeX Warning: You have requested package `',
               but the package provides `tikz'.


(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothan
dlers.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.cod
e.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarytopaths.code.tex)))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/pgfplots.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/pgfplotscore.code.tex)

(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/libs/pgfplotslibrary.c
ode.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/oldpgfcompatib/pgfplot
soldpgfsupp_loader.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/libraries/pgflibraryfpu.cod
e.tex))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/util/pgfplotsutil.code
.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/liststructure/pgfplots
liststructure.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/liststructure/pgfplots
liststructureext.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/liststructure/pgfplots
array.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/numtable/pgfplotstable
shared.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/liststructure/pgfplots
deque.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/util/pgfplotsbinary.co
de.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/libs/pgflibrarypgfplot
s.surfshading.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/sys/pgflibrarypgfplots
.surfshading.pgfsys-dvips.def)))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/util/pgfplotscolormap.
code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/pgfplotsstackedplots.c
ode.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/pgfplotscoordprocessin
g.code.tex)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgfplots/pgfplotsticks.code.tex
)
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarydecorations.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/modules/pgfmoduledecoration
s.code.tex))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarydecorations.pathmorphing.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/libraries/decorations/pgfli
brarydecorations.pathmorphing.code.tex))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibrarydecorations.pathreplacing.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/libraries/decorations/pgfli
brarydecorations.pathreplacing.code.tex)))
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/frontendlayer/tikz/librarie
s/tikzlibraryplotmarks.code.tex
(/usr/local/texlive/2011/texmf-dist/tex/generic/pgf/libraries/pgflibraryplotmar
ks.code.tex)))
*
I also tried it with sudo apt-get install texlive-pictures and I got the following message:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
texlive-pictures is already the newest version.
texlive-pictures set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 247 not upgraded.
Would be OK now? I cannot compile the document yet.

Many thanks in advance.

Best regards,

Marie
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

pgfplots | Package Installation

Post by Stefan Kottwitz »

H Marie,
marie2011 wrote:I wrote "install pfgplots" and got the following message
try

Code: Select all

sudo tlmgr install pgfplots
instead.

Stefan
LaTeX.org admin
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

pgfplots | Package Installation

Post by marie2011 »

Hi Stefan,

Many thanks for your answer. That is the message I got:

Code: Select all

tlmgr: package repository /mnt/tex
Cannot load TeX Live database from /mnt/tex at /usr/local/bin/tlmgr line 4615.
Best regards,

Marie
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

pgfplots | Package Installation

Post by Stefan Kottwitz »

It seems like you did a local installation, not an installation over the Internet, that's why the installer searches the package database locally.

You could specify the option --repository for using an online repository for download. This works for me:

Code: Select all

sudo tlmgr --repository=ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/ install pgfplots
Stefan
LaTeX.org admin
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

pgfplots | Package Installation

Post by marie2011 »

Hi Stefan,

Many thanks for your answer.

I tried what you told me and I got the following message:

Code: Select all

sudo tlmgr --repository=ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/ install pgfplots
sudo tlmgr --repository=ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/ install pgfplotstlmgr: package repository ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/

Updates for tlmgr itself are present.
===============================================================================
Please update the package manager first, via either
  tlmgr update --self
or by getting the latest updater for Unix-ish systems:
  http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
and/or Windows systems:
  http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.exe
Then continue with other updates.
===============================================================================
tlmgr: Not continuing, please see warning above!
sudo tlmgr --repository=ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/ install pgfplots
tlmgr: package repository ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/
Updates for tlmgr itself are present.
What do you reccommend me?

Many thanks in advance,

Marie
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

pgfplots | Package Installation

Post by Stefan Kottwitz »

Hi Marie,

you could do as recommended by the program, update the TeX Live Manager:

Code: Select all

sudo tlmgr update --self
Stefan
LaTeX.org admin
marie2011
Posts: 138
Joined: Mon Feb 06, 2012 4:58 pm

pgfplots | Package Installation

Post by marie2011 »

Hi Stefan,

Many thanks for your prompt answer. I put it on the terminal and that is the answer I got:

Code: Select all

tlmgr: package repository /mnt/tex
Cannot load TeX Live database from /mnt/tex at /usr/local/bin/tlmgr line 4615.
Do I have to do something else?

Thanks a lot,

Marie
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

pgfplots | Package Installation

Post by Stefan Kottwitz »

Hi Maria,

it's the same as above, specifying the repository is also required here:

Code: Select all

sudo tlmgr --repository=ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/ update --self
Probably you could start the Manager GUI by

Code: Select all

sudo tlmgr -gui
and choose your repository in the main menu and update via the GUI.

Stefan
LaTeX.org admin
Post Reply