pgfplots 1.0

View: New views
11 Messages — Rating Filter:   Alert me  

pgfplots 1.0

by Christian Feuersaenger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am pleased to announce the release of pgfplots 1.0, a high-level tool to generate line, scatter and bar plots based on the pgf/tikz plot handlers.

Interested users are invited to browse the documentation at

http://pgfplots.sourceforge.net/pgfplots.pdf
http://pgfplots.sourceforge.net/pgfplotstable.pdf

More information and download area can be found at
http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=pgfplots
or
http://sourceforge.net/projects/pgfplots

Developers: Christian Feuersaenger and Pascal Wolkotte

Christian Feuersaenger

--
Christian Feuersaenger
Institut fuer Numerische Simulation
Rheinische Friedrich-Wilhelms Universitaet Bonn
Wegelerstrasse 6
D-53115 Bonn
Germany

Tel:  +49 228 733848
URL:  http://wissrech.ins.uni-bonn.de/people/feuersaenger.html

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: pgfplots 1.0

by Hans Meine-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Donnerstag, 19. Juni 2008 11:01:35 schrieb Christian Feuersaenger:
> I am pleased to announce the release of pgfplots 1.0, a high-level tool to
> generate line, scatter and bar plots based on the pgf/tikz plot handlers.

Congratulations.  I just tried pgfplots again, and it improved a lot since the
beginning of this year! :-)  Also, AFAICS the manual has improved a lot, and
there are many nice examples now.

Just a question: I tried

\begin{axis}[every linear axis/.style=->]
...
\end{axis}

which did not work, but this did:

\pgfplotsset{every linear axis/.style=->}
\begin{axis}[
...
\end{axis}

Is this intended?

--
Ciao, /  /
     /--/
    /  / ANS

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: pgfplots 1.0

by Hans Meine-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Freitag, 20. Juni 2008 15:14:12 schrieb Hans Meine:
> [...]
> which did not work, but this did:
>
> \pgfplotsset{every linear axis/.style=->}
> \begin{axis}[
> ...
> \end{axis}
>
> Is this intended?

I think I now understand my error, but did not find a way to fix it.  "every
[linear] axis" refers to the axis environment, so I probably have to define
the style beforehand (or include it in the options list).  The above
compiles, but adds arrow tips to all plots and ticks, too.

What I *meant* to do was affecting the axis *lines* only.  Maybe I don't see
the wood for the trees, but there only seem to be styles for the whole axis
environment, the plots, and the ticks?!

--
Ciao, /  /
     /--/
    /  / ANS

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: pgfplots 1.0

by Alan BRASLAU :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Great! I am particularly happy to see the ConTeXt support.
However, I set out right away to produce a real plot and immediately ran into
the following problem:
! Dimension too large.

Seems to be a problem handling semilog[xy]axis
\usemodule[pgfplots]
\starttext
\starttikzpicture
        \startsemilogyaxis[height=6.08cm,width=8.6cm,
                xmin=0,xmax=7,ymin=1e-2,ymax=2]
        \stopsemilogyaxis
\stoptikzpicture
\stoptext

Whereas the following works under pdflatex:
\documentclass[a4paper]{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
        \begin{semilogyaxis}[height=6.08cm,width=8.6cm,
                xmin=0,xmax=7,ymin=1e-9,ymax=2]
        \end{semilogyaxis}
\end{tikzpicture}
\end{document}

Has anyone tried using pgfplots under ConTeXt?

Alan

On Thursday 19 June 2008 11:01:35 Christian Feuersaenger wrote:

> Hello,
>
> I am pleased to announce the release of pgfplots 1.0, a high-level tool to
> generate line, scatter and bar plots based on the pgf/tikz plot handlers.
>
> Interested users are invited to browse the documentation at
>
> http://pgfplots.sourceforge.net/pgfplots.pdf
> http://pgfplots.sourceforge.net/pgfplotstable.pdf
>
> More information and download area can be found at
> http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=pgfplots
> or
> http://sourceforge.net/projects/pgfplots
>
> Developers: Christian Feuersaenger and Pascal Wolkotte
>
> Christian Feuersaenger


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: pgfplots 1.0

by Rasmus Pank Roulund-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> http://pgfplots.sourceforge.net/pgfplotstable.pdf

Wow that looks really good! It will be a real time saver!
Thanks!
-Rasmus


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: pgfplots 1.0

by Christian Feuersaenger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Alan,

you are right, ConTeXt support is not readily tested. In fact, I only tested two logarithmic line plots (which did not cause any problems). Unfortunately, linear plots fail as you showed.

The CVS version of pgfplots is improved with respect to ConTeXt, and it is better tested. The reported bug does no longer occur.

http://sourceforge.net/projects/pgfplots

Christian


On Fri, 20 Jun 2008 17:24:39 +0200
Alan BRASLAU <alan.braslau@...> wrote:

> Great! I am particularly happy to see the ConTeXt support.
> However, I set out right away to produce a real plot and immediately ran into
> the following problem:
> ! Dimension too large.
>
> Seems to be a problem handling semilog[xy]axis
> \usemodule[pgfplots]
> \starttext
> \starttikzpicture
>         \startsemilogyaxis[height=6.08cm,width=8.6cm,
>                 xmin=0,xmax=7,ymin=1e-2,ymax=2]
>         \stopsemilogyaxis
> \stoptikzpicture
> \stoptext
>
> Whereas the following works under pdflatex:
> \documentclass[a4paper]{article}
> \usepackage{pgfplots}
> \begin{document}
> \begin{tikzpicture}
>         \begin{semilogyaxis}[height=6.08cm,width=8.6cm,
>                 xmin=0,xmax=7,ymin=1e-9,ymax=2]
>         \end{semilogyaxis}
> \end{tikzpicture}
> \end{document}
>
> Has anyone tried using pgfplots under ConTeXt?
>
> Alan
>
> On Thursday 19 June 2008 11:01:35 Christian Feuersaenger wrote:
> > Hello,
> >
> > I am pleased to announce the release of pgfplots 1.0, a high-level tool to
> > generate line, scatter and bar plots based on the pgf/tikz plot handlers.
> >
> > Interested users are invited to browse the documentation at
> >
> > http://pgfplots.sourceforge.net/pgfplots.pdf
> > http://pgfplots.sourceforge.net/pgfplotstable.pdf
> >
> > More information and download area can be found at
> > http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=pgfplots
> > or
> > http://sourceforge.net/projects/pgfplots
> >
> > Developers: Christian Feuersaenger and Pascal Wolkotte
> >
> > Christian Feuersaenger
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Parent Message unknown Re: pgfplots 1.0

by Christian Feuersaenger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hallo Hans,

I guess you found a missing feature, namely a style which affects only the axis lines. I will add such a style to the CVS these days.

Concerning the 'every linear axis' style, I will check whether I can improve the evaluation inside of
\begin{axis}[...]
Maybe I simple got something wrong.


Regards,

Christian

> > [...]
> > which did not work, but this did:
> >
> > \pgfplotsset{every linear axis/.style=->}
> > \begin{axis}[
> > ...
> > \end{axis}
> >
> > Is this intended?
>
> I think I now understand my error, but did not find a way to fix it.  "every
> [linear] axis" refers to the axis environment, so I probably have to define
> the style beforehand (or include it in the options list).  The above
> compiles, but adds arrow tips to all plots and ticks, too.
>
> What I *meant* to do was affecting the axis *lines* only.  Maybe I don't see
> the wood for the trees, but there only seem to be styles for the whole axis
> environment, the plots, and the ticks?!


--
Christian Feuersaenger
Institut fuer Numerische Simulation
Rheinische Friedrich-Wilhelms Universitaet Bonn
Wegelerstrasse 6
D-53115 Bonn
Germany

Tel:  +49 228 733848
URL:  http://wissrech.ins.uni-bonn.de/people/feuersaenger.html

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: pgfplots 1.0

by Hans Meine-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Montag, 23. Juni 2008 08:43:45 schrieb Christian Feuersaenger:
> I guess you found a missing feature, namely a style which affects only the
> axis lines. I will add such a style to the CVS these days.
That would be nice.

Also, please consider automatic disabling of enlargelimits when axis lines are
not drawn as a box as a feature request. :-)

> Concerning the 'every linear axis' style, I will check whether I can
> improve the evaluation inside of \begin{axis}[...]
I don't think this is necessary.  After all, inside \begin{axis}[...], one can
simply put the options directly (or define the style beforehand).  I simply
thought "every linear axis" was the above missing style, in which case the
scope would have been smaller than the axis environment.

Thanks for your \pgfpointanchor-suggestion, too.

--
Ciao, /  /
     /--/
    /  / ANS

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: pgfplots 1.0

by Brian Elmegaard-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Christian Feuersaenger <feuersaenger@...> writes:

> I am pleased to announce the release of pgfplots 1.0, a high-level
> tool to generate line, scatter and bar plots based on the pgf/tikz
> plot handlers.

It looks great. I have tried to install it with miktex package manager
but I get an error. Is this a bug in miktex packaging or in the package?


--
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

Re: pgfplots 1.0

by Brian Elmegaard-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Brian Elmegaard <be@...> writes:

> It looks great. I have tried to install it with miktex package manager
> but I get an error. Is this a bug in miktex packaging or in the package?

After some advice from Christian I found that what I needed was an
update of Miktex before installing pgfplots.
--
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

pgfplots conTeXt bug

by Alan BRASLAU :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I seem to have stumbled upon an obscure bug in pgfplots (1.1)
using ConTeXt  (ver: 2008.05.21 15:21 MKII).
A (close to) minimal example is:

%\enableregime[utf]
\usemodule[pgfplots]
\starttext

\starttikzpicture
        \startaxis[xmode=log,ymode=normal,xlabel=$T$ (K),ylabel=$dV/dT$ ($\mu$V/K)]
                \addplot[blue,mark=none] table[x index=0,y index=2] {thermocoupleE.dat};
                \addlegendentry{Chromel-Constantan (type E)}
        \stoploglogaxis
\stoptikzpicture

\stoptext

which compiles fine. However, uncommenting
\enableregime[utf]
yields a compile error, as the data file contains a utf8
extended character (\mu).

A work-around for the time being is to avoid extended
characters in the data file column headers...

Thanks.

Alan

...
systems         : begin file thermocoupleE at line 3
! Missing \endcsname inserted.
<to be read again>
                   \relax
\mathematics #1->\relax
                        \ifmmode #1\else $#1$\fi
<argument> pgfplotstableread@impl@COLNAME@EMF(µ
                                                V)
\pgfutil@ifundefined ...xpandafter \ifx \csname #1
                                                  \endcsname \relax
\expanda...

\pgfplotstableread@impl@ITERATE@NEXT@ ...LNAME@#1}
                                                  {\def
\pgfplotstable@loc@T...

\pgfplotstableread@impl@ITERATE@NEXT ...NEXT@ {#1}
                                                  \pgfplotstableread@impl@IT...
...
l.7 ...e[x index=0,y index=2] {thermocoupleE.dat};

?




[thermocoupleE.tex]

\enableregime[utf]
\usemodule[pgfplots]
\starttext

\starttikzpicture
        \startaxis[xmode=log,ymode=normal,xlabel=$T$ (K),ylabel=$dV/dT$ ($\mu$V/K)]
                \addplot[blue,mark=none] table[x index=0,y index=2] {thermocoupleE.dat};
                \addlegendentry{Chromel-Constantan (type E)}
        \stoploglogaxis
\stoptikzpicture

\stoptext


#Thermocouple Type E (TRef = 273.15 K)
T(K) EMF(µV) dV/dT(µV/K)
3.2 -9834.9 1.59
4.2 -9833 2.09
10 -9813.3 4.66
20 -9747 8.51
30 -9643.8 12.1
40 -9505.5 15.5
50 -9334.2 18.7
75 -8777.7 25.6
100 -8063.4 31.4
150 -6238.1 41.2
200 -3967.4 49.3
250 -1328.7 56
300 1608 61.1
350 4777.7 65.6
400 8159.8 69.6
500 15426 75.3
600 23138 78.6
670 28694 80
700 31100 80.4
800 39179 81
900 47256 80.4
1000 55247 79.3
1100 63119 78.1
1200 70842 76.3
1270 76136 75.2

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users
LightInTheBox - Buy quality products at wholesale price