Aus Mageia wiki
(Weitergeleitet von Testprozedur:Gnuplot)
Wechseln zu: Navigation, Suche
Warnung.png
Warnung!

Das Wiki ist umgezogen und befindet sich nun unter https://wiki.mageia.org/en/Hauptseite-de . Bitte nutzen Sie das neue Wiki.

Die hier enthaltenen Informationen werden nicht aktualisiert und sind deshalb veraltet oder sogar falsch!


$ urpmq -i gnuplot
Name        : gnuplot
Version     : 4.4.3
Release     : 2.mga1
Group       : Sciences/Other
Size        : 1454752                      Architecture: x86_64
Source RPM  : gnuplot-4.4.3-2.mga1.src.rpm
URL         : http://www.gnuplot.info/
Summary     : A program for plotting mathematical expressions and data
Description :
Gnuplot is a command-line driven, interactive function plotting program
especially suited for scientific data representation. Gnuplot can be used to
plot functions and data points in both two and three dimensions and in many
different formats.

Install gnuplot if you need a graphics package for scientific data
representation.


Wichtige Funktionen sind zur Zeit im -doc Paket enthalten, das gerade hinzugefügt wurde da es schwer von Nöten ist. In Mageia 2 wird dies in das Paket gnuplot selbst eingebunden.

Im besonderen ist, {{Datei|/usr/share/gnuplot/4.4/PostScript/prologue.ps} für jede Postscriptausgabe nötig.

Dieses zu testen, wird während der zur Zeit laufenden Aktualisierung durchgeführt, es sollte geklärt sein, dass dies auch in Mageia 2 existiert und funktioniert.

# urpme -a gnuplot
To satisfy dependencies, the following 4 packages will be removed (6.7MB):
  gnuplot-4.4.3-1.mga1.x86_64
  gnuplot-doc-4.4.3-1.mga1.x86_64
  gnuplot-mode-4.4.3-1.mga1.x86_64
  gnuplot-nox-4.4.3-1.mga1.x86_64
Remove 4 packages? (y/N) y

# rm -rf /usr/share/gnuplot

# urpmi --no-suggests gnuplot

# ls /usr/share/gnuplot/4.4/PostScript/
ls: cannot access /usr/share/gnuplot/4.4/PostScript/: No such file or directory


After
-----
# urpmi.update --no-ignore "Core Updates Testing"
# urpmi --no-suggests gnuplot
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch
(medium "Core Updates Testing")
  gnuplot                        4.4.3        2.mga1        x86_64
  gnuplot-doc                    4.4.3        2.mga1        x86_64
2.6MB of additional disk space will be used.
1.9MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n)y

# ls /usr/share/gnuplot/4.4/PostScript/
8859-15.ps  8859-2.ps  aglfn.txt  cp1251.ps  cp850.ps  koi8r.ps  prologue.ps
8859-1.ps   8859-9.ps  cp1250.ps  cp437.ps   cp852.ps  koi8u.ps  utf-8.ps

Zum Testen habe ich die zur Zeit gültige Version des tarball, von http://sourceforge.net/projects/gnuplot/files/gnuplot/ heruntergeladen.

Dann habe ich das Demoverzeichnis entpackt, in dieses Verzeichnis gewechselt, und hier habe ich die Testst ausgedührt, die hier zu finden sind http://www.gnuplot.info/screenshots/index.html

$ gnuplot

        G N U P L O T
        Version 4.4 patchlevel 3
        last modified March 2011
        System: Linux 2.6.38.8-desktop-10.mga

        Copyright (C) 1986-1993, 1998, 2004, 2007-2010
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help seeking-assistance"
        immediate help:   type "help"
        plot window:      hit 'h'

Terminal type set to 'wxt'
gnuplot>load "all.dem"

Pressed Return as it ran through its demos.

gnuplot> set terminal postscript color solid
Terminal type set to 'postscript'
Options are 'landscape noenhanced defaultplex \
   leveldefault color colortext \
   solid dashlength 1.0 linewidth 1.0 butt noclip \
   palfuncparam 2000,0.003 \
   "Helvetica" 14 '
gnuplot> set output "all_demos.ps"
gnuplot> load "all.dem"

Pressed Return while it did its thing again

gnuplot> quit

$ gv all_demos.ps

Shows 244 pages of graphs.


Zurück zum QA Portal