
                      The Scientific Graph Component

                      Copyright 1995 by Pierre Mertz

WWW site: http://www.ee.princeton.edu/~phmertz/scigraph/scigraph.html

See if you like it:

  1. Move the downloaded file SCIGRAPH.ZIP to a new directory.  For
     example:  C:\DELPHI\SHARE\SCIGRAPH

  2. Unzip SCIGRAPH.ZIP

  3. Run the demo prograph graph.exe

  4. Choose File/Load and open NEON.SPC

  5. Check it out:
   a) Look at coordinates by moving the mouse cursor into the plot window.

   b) Pan by clicking the right mouse button in the plot window and dragging.

   c) Zoom by holding the Ctrl button while right clicking and dragging.

   d) Choose rectangle by holding the Alt button while right clicking and 
      dragging.

   e) Right click in the x-axis area below the plot window to show full 
      scale again.

   f) Display distances by holding the Shift button while right clicking and
      dragging from one point to another.

   g) Try the 'Energy' and 'Log Scale' buttons and repeat a) through f)

   h) Click the left mouse button to display the coordinates in the form.

Installation:

  1. You must have Borland Delphi properly installed on your system.  It's
   root directory will be assumed to be C:\DELPHI\

  2. Install the Help file:
   a) With DELPHI not running, go to the DELPHI Group
      in the Program Manager, and run HelpInst.

   b) Choose File/Open, and open DELPHI.HDX in the C:\DELPHI\BIN directory.

   c) Click the green '+' sign and add the file
      C:\DELPHI\SHARE\SCIGRAPH.KWF

   d) Click the blue diskette icon to recompile and save the help file.

   e) Move C:\DELPHI\SHARE\SCIGRAPH\SCIGRAPH.HLP to
      the C:\DELPHI\BIN\ folder

  3. Add the SciGraph component to the component library:
   a) Move C:\DELPHI\SHARE\SCIGRAPH\SCIGRAPH.DCU to
      the C:\DELPHI\LIB\ folder

   b) Move C:\DELPHI\SHARE\SCIGRAPH\CURSOR.RES to
      the C:\DELPHI\LIB\ folder

   c) Run Delphi and choose Options/Install Components...

   d) Click the Add... button and Browse for
      C:\DELPHI\LIB\SCIGRAPH.DCU

   e) Click Ok and Delphi will spend quite some time recompiling COMPLIB.DCR

   f) Check the Samples tab in the Component Library.  There should be a 
      new icon with 'SciGraph' in the hint box.

  4. You are ready to use the Scientific Graph Component.  The included help
     file has information on how to use SciGraph along with some examples.


Removal:

  1. Using HelpInst, open C:\DELPHI\BIN\DELPHI.HDX and remove SCIGRAPH.KWF.

  2. In Delphi, choose Options/Install components, and remove Scigraph.

  3. Delete the C:\DELPHI\SHARE\SCIGRAPH directory along with its files.

  4. Delete help file C:\DELPHI\BIN\SCIGRAPH.HLP

  5. Delete library files C:\DELPHI\LIB\SCIGRAPH.DCU 
     and C:\DELPHI\LIB\CURSOR.RES

Registration:

   To receive the password for the source code and a future update, please
   register:

     Send Name, e-mail or address, and $10 to:

	Pierre Mertz
	Dept. of Electrical Engineering
	Princeton University
	Princeton, NJ 08544

Future Update:

  If enough people register, I will try and write a future update which will
  add the following features:

  1. Support for multiple plots.

  2. DataAwareness.

  3. Print capability.

  4. DDE to better plotting programs for printing, such as Origin and SigmaPlot.

  5. Smart markers, which when clicked on, trigger an event.
