Fehlermeldung bei gnuplottex-Paket

Antwort erstellen


Diese Frage dient dazu, das automatisierte Versenden von Formularen durch Spam-Bots zu verhindern.
Smilies
:D :) :( :o :shock: :? 8) :lol: :-x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

BBCode ist eingeschaltet
[img] ist eingeschaltet
[flash] ist ausgeschaltet
[url] ist eingeschaltet
Smilies sind eingeschaltet

Die letzten Beiträge des Themas

Ich habe die Datenschutzerklärung gelesen und bin damit einverstanden.

   

Wenn du eine Datei oder mehrere Dateien anhängen möchtest, gib die Details unten ein.

Ansicht erweitern Die letzten Beiträge des Themas: Fehlermeldung bei gnuplottex-Paket

von Mac-Cherony » Sa 11. Feb 2012, 11:50

Vielen Dank für deine Antwort Thorsten,

die Aktualisierung hat geholfen.
Übrigens tendiere ich mittlerweile seit einiger Zeit auch schon zu pgfplots ;)
Ich will nur gerne einen "Plan B" in der Hand haben, da ich bei etwas außergewöhnlicheren Graphen bei Gnuplot ( z.Z. noch) schneller ans Ziel kome als mit pgfplots...

Altualisierung notwendig

von localghost » Do 9. Feb 2012, 18:07

Aktualisiere zumindest mal gnuplottex. Es gab zwischendurch eine Version, die kaputt war. Generell empfiehlt es sich, ein TeX-System immer aktuell zu halten.

Ich persönlich würde eher dazu tendieren, pgfplots zu verwenden. Es basiert auf pgf/tikZ und benutzt Gnuplot als Back-End.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}

\begin{document}
  \begin{tikzpicture}
    \begin{axis}[domain=0:2*pi]
      \addplot {sin(deg(x))};
    \end{axis}
  \end{tikzpicture}

  \begin{tikzpicture}
    \begin{axis}[domain=0:360]
      \addplot {sin(x)};
    \end{axis}
  \end{tikzpicture}
\end{document}
Alle Möglichkeiten dieses Pakets zeigt dessen (umfangreiche) Anleitung auf.


Thorsten

Fehlermeldung bei gnuplottex-Paket

von Mac-Cherony » Do 9. Feb 2012, 14:43

Hallo allerseits,

ich habe mal einige Versuche mit dem Paket gnuplottex durchgeführt. Leider bekomme ich immer Fehlermeldungen, obwohl ich ein akzeptables Ergebnis bei der pdf-Ausgabe erhalte. Das Minimalbeispiel ist angehängt. Weiter unten ist auch noch der Ausschnitt mit den entsprechenden Fehlermeldungen aus dem log-File. Damit kann ich allerdings nichts anfangen, da ich bei LaTeX nicht so tief in der Materie stecke, allerdings sieht es erstmal für mich so aus, dass ich diese Fehlermeldungen nur umgehen kann, wenn ich in den Paketcode eingreifen würde?!

Wenn hier Jemand eine Idee hat, wie ich diese Fehler umgehen kann, wäre ich sehr dankbar.

Viele Grüße

Mac-Cherony

\documentclass{article}
\usepackage[pdftex]{graphicx}
\usepackage{gnuplottex}

\begin{document}

\begin{figure}[!ht]
\centering
\begin{gnuplot}[terminal=epslatex]
set terminal epslatex size 12 cm, 5 cm 
plot sin(x)
\end{gnuplot}
\caption{Das ist der Sinus.}
\end{figure}

\end{document}
! Undefined control sequence.
\gnuplotverbatimwrite ...e \openout \verbatim@out
#1 \BeforeStream \let \do ...
l.12 \begin{gnuplot}[terminal=epslatex]
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
M
l.12 \begin{gnuplot}[terminal=epslatex]
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
\openout0 = `MWE_Gnuplottex-gnuplottex-fig1.gnuplot'.
Opening gnuplot stream MWE_Gnuplottex-gnuplottex-fig1.gnuplot
! Undefined control sequence.
\BeforeStream ...}\immediate \write \verbatim@out
{\string set terminal \gnu...
l.12 \begin{gnuplot}[terminal=epslatex]
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
{
l.12 \begin{gnuplot}[terminal=epslatex]
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
\BeforeStream ... \immediate \write \verbatim@out
{\string set output '\fign...
l.12 \begin{gnuplot}[terminal=epslatex]
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
{
l.12 \begin{gnuplot}[terminal=epslatex]
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
\verbatim@processline ...ate \write \verbatim@out
{\the \verbatim@line }
l.13 set terminal epslatex size 12 cm, 5 cm
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
{
l.13 set terminal epslatex size 12 cm, 5 cm
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
\verbatim@processline ...ate \write \verbatim@out
{\the \verbatim@line }
l.14 plot sin(x)
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
{
l.14 plot sin(x)
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
\endgnuplotverbatimwrite ...loseout \verbatim@out
\@esphack \catcode `\\0 \c...
l.15 \end{gnuplot}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
\relax
l.15 \end{gnuplot}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Nach oben