Difference between revisions of "GNUplot"

From CBLFS
Jump to navigationJump to search
(Created page.)
 
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
|ftp://ftp.gnuplot.info/pub/gnuplot/gnuplot-{{GNUplot-Version}}.tar.gz
+
|http://downloads.sourceforge.net/gnuplot/gnuplot-{{GNUplot-Version}}.tar.gz
 
|}
 
|}
  
== Introduction to GNUPlot ==
+
----
  
Gnuplot is a multiplatform, command-line driven, interactive data and function plotting utility.  Gnuplot also supports many non-interactive uses, including web scripting and integration as a plotting engine for third-party applications like [[Octave]].  Gnuplot supports many types of plots in either 2D and 3D. It can draw using lines, points, boxes, contours, vector fields, surfaces, and various associated text.
+
{{Package-Introduction|Gnuplot is a multiplatform, command-line driven, interactive data and function plotting utility.  Gnuplot also supports many non-interactive uses, including web scripting and integration as a plotting engine for third-party applications like [[Octave]].  Gnuplot supports many types of plots in either 2D and 3D. It can draw using lines, points, boxes, contours, vector fields, surfaces, and various associated text.|http://www.gnuplot.info}}
 
 
<b>Package Homepage:</b> http://www.gnuplot.info
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 28: Line 26:
 
|<i>--disable-filledboxes:</i> disable filledboxes style.
 
|<i>--disable-filledboxes:</i> disable filledboxes style.
 
|-valign="top"
 
|-valign="top"
|<i>--disable-fiterrvars:</i> enable fitting error variables.
+
|<i>--disable-fiterrvars:</i> disable fitting error variables.
 
|-valign="top"
 
|-valign="top"
 
|<i>--with-png=DIR:</i> where to find the png library.
 
|<i>--with-png=DIR:</i> where to find the png library.
Line 45: Line 43:
 
Compile the package:
 
Compile the package:
  
  sed -i 's@/X11R6/@/X11R7/@g' configure &&
+
  sed -i 's@/usr/X11R6@${XORG_PREFIX}@g' configure &&
 
  ./configure --prefix=/usr --libexecdir=/usr/lib &&
 
  ./configure --prefix=/usr --libexecdir=/usr/lib &&
 
  make
 
  make
Line 57: Line 55:
 
  make pdf
 
  make pdf
 
  install -v -m755 -d /usr/share/doc/gnuplot-{{GNUplot-Version}}
 
  install -v -m755 -d /usr/share/doc/gnuplot-{{GNUplot-Version}}
  cp -v docs/*.pdf /usr/share/doc/gnuplot-{GNUplot-Version}}
+
  cp -v docs/*.pdf /usr/share/doc/gnuplot-{{GNUplot-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 67: Line 65:
 
Compile the package:
 
Compile the package:
  
  sed -i 's@/X11R6/@/X11R7/@g' configure &&
+
  sed -i 's@/usr/X11R6@${XORG_PREFIX}@g' configure &&
 
  ./configure --prefix=/usr --libexecdir=/usr/lib &&
 
  ./configure --prefix=/usr --libexecdir=/usr/lib &&
 
  make
 
  make
Line 79: Line 77:
 
Compile the package:
 
Compile the package:
  
  sed -i 's@/X11R6/@/X11R7/@g' configure &&
+
  sed -i 's@/usr/X11R6@${XORG_PREFIX}@g' configure &&
 
  USE_ARCH=n32 CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  USE_ARCH=n32 CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 
  ./configure --prefix=/usr --libexecdir=/usr/lib32 &&
 
  ./configure --prefix=/usr --libexecdir=/usr/lib32 &&
Line 92: Line 90:
 
Compile the package:
 
Compile the package:
  
  sed -i 's@/X11R6/@/X11R7/@g' configure &&
+
  sed -i 's@/usr/X11R6@${XORG_PREFIX}@g' configure &&
 
  USE_ARCH=64 CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  USE_ARCH=64 CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 
  ./configure --prefix=/usr --libexecdir=/usr/lib64 &&
 
  ./configure --prefix=/usr --libexecdir=/usr/lib64 &&
Line 105: Line 103:
 
  make pdf
 
  make pdf
 
  install -v -m755 -d /usr/share/doc/gnuplot-{{GNUplot-Version}}
 
  install -v -m755 -d /usr/share/doc/gnuplot-{{GNUplot-Version}}
  cp -v docs/*.pdf /usr/share/doc/gnuplot-{GNUplot-Version}}
+
  cp -v docs/*.pdf /usr/share/doc/gnuplot-{{GNUplot-Version}}
  
 
== Contents ==
 
== Contents ==
Line 125: Line 123:
 
|is a command-line plotting utility.
 
|is a command-line plotting utility.
 
|}
 
|}
 +
 +
[[Category:Science_Engineering]]

Latest revision as of 10:22, 18 August 2008

Download Source: http://downloads.sourceforge.net/gnuplot/gnuplot-4.2.5.tar.gz

Introduction to GNUplot

Gnuplot is a multiplatform, command-line driven, interactive data and function plotting utility. Gnuplot also supports many non-interactive uses, including web scripting and integration as a plotting engine for third-party applications like Octave. Gnuplot supports many types of plots in either 2D and 3D. It can draw using lines, points, boxes, contours, vector fields, surfaces, and various associated text.

Project Homepage: http://www.gnuplot.info

Dependencies

Optional

Configuration Information

--enable-history-file: use history file.
--disable-mouse: disable mouse for the x11 terminal.
--disable-filledboxes: disable filledboxes style.
--disable-fiterrvars: disable fitting error variables.
--with-png=DIR: where to find the png library.
--with-gd=DIR: where to find the gd library.
--with-gif=png: 'set term gif' produces png images instead.
--with-pdf=DIR: enable pdf terminal.
--without-tutorial: do not build the LaTeX tutorial.

Non-Multilib

Compile the package:

sed -i 's@/usr/X11R6@${XORG_PREFIX}@g' configure &&
./configure --prefix=/usr --libexecdir=/usr/lib &&
make

Install the package:

make install

Install the pdf documentation:

make pdf
install -v -m755 -d /usr/share/doc/gnuplot-4.2.5
cp -v docs/*.pdf /usr/share/doc/gnuplot-4.2.5

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

sed -i 's@/usr/X11R6@${XORG_PREFIX}@g' configure &&
./configure --prefix=/usr --libexecdir=/usr/lib &&
make

Install the package:

make install

N32

Compile the package:

sed -i 's@/usr/X11R6@${XORG_PREFIX}@g' configure &&
USE_ARCH=n32 CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libexecdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

sed -i 's@/usr/X11R6@${XORG_PREFIX}@g' configure &&
USE_ARCH=64 CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libexecdir=/usr/lib64 &&
make

Install the package:

make install

Install the pdf documentation:

make pdf
install -v -m755 -d /usr/share/doc/gnuplot-4.2.5
cp -v docs/*.pdf /usr/share/doc/gnuplot-4.2.5

Contents

Installed Directories: /usr/lib/gnuplot/4.2, /usr/share/gnuplot/4.2
Installed Programs: gnuplot, gnuplot_x11

Short Descriptions

gnuplot is a command-line plotting utility.
Retrieved from "?title=GNUplot&oldid=15013"