« Return to Thread: Adding some new transformations to gnuplot (arctan and power laws)

Re: Adding some new transformations to gnuplot (arctan and power laws)

by Hans-Bernhard Bröker-2 :: Rate this Message:

Reply to Author | View in Thread

Dean Foster wrote:
> I've been working on adding some other transformations to
> gnuplot.

I'm afraid you could have saved yourself most of the effort.  There's
already a patch out there doing that.  See

http://sourceforge.net/tracker/?func=detail&aid=1757226&group_id=2055&atid=302055

 > Since I haven't seen any patches being
> sent on this news group so far, I'm not sure what the style is
> either.

Had you investigated that earlier, you might have stumbled over the
patches tracker the above link points into...

> p.s.  I tried writing up documentation, but I couldn't seem to make
> any changes that ever made it back into my local version of gnuplot.
> It appears I deeply don't understand texi/doc.  So for a starter,
> which file should I be editing?

docs/gnuplot.doc.  And you'll have to either 'make install' or set the
GNUHELP environment variable for it to locate the freshly built version.
  While working in the source tree in a Unix-like environment, it helps
to have a little script in gnuplot/src that goes like this:

#! /bin/sh
#GNUTERM=x11
GNUHELP=../docs/gnuplot.gih
GNUPLOT_DRIVER_DIR=.
if [ "$1" = "-d" ] ; then
   GDB=gdb
   if [ -n "$2" ] ; then
     GDB="$GDB --args"
   fi
   GNUTERM=x11
   shift
fi
#export GNUTERM GNUHELP GNUPLOT_DRIVER_DIR
export GNUHELP GNUPLOT_DRIVER_DIR
if [ -n "$1" ] ; then
   PATH=.:$PATH GNUPLOT_LIB=../demo:../../demo $GDB ./gnuplot "$@"
else
   PATH=.:$PATH GNUPLOT_LIB=../demo:../../demo $GDB ./gnuplot
fi
=== end of file ===

This runs the fresh build of gnuplot without installing it first,
referring to all new files.  The script is an extended version of how
"make check" target in the demo subdirectory works.


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

 « Return to Thread: Adding some new transformations to gnuplot (arctan and power laws)