Difference between revisions of "GNUplot"

From CBLFS
Jump to navigationJump to search
 
(2 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
 
|}
 
|}
  
Line 26: 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 43: 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 65: 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 77: 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 90: 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 123: 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"