MagePlot
 Plotting tools for paleomag/rockmag
 Author: Tadahiro Hatakeyama (Okayama U. Sci.) hatake@center.ous.ac.jp
 

### PROGRAMS

MagePlot/P  (mageplot-p.pl)
    Draw progressive demagnetization curve on Zijderveld diagram

MagePlot/D  (mageplot-d.pl)
    Draw paleomagnetic directions on Lambert azimuthal equal-area projection

MagePlot/MB (mageplot-mb.pl)
    Draw heating/cooling curve of induced magnetization with Curie balance
     (Natsuhara Giken NMB-89)

MagePlot/H  (mageplot-h.pl)
    Draw magnetic hysteresis curves with VSM (PMC-LakeShore MicroMag 2900/3900)


### NECESSARY TO USE
Programs in this package are written in PERL.
You need some packages to use scripts.
- PERL 5              (all: scripts developed with perl 5.16 on CentOS7)
- perlDL (PDL) ver 2  (mageplot-p.pl: script developed with PDL 2.7)
- GMT (Generic Mapping Tools) ver 4.5 (mageplot-p, -d.pl)
    ### scripts don't work well with GMT5
- gnuplot ver 4.6     (mageplot-mb, -h.pl)
- and common UNIX/Linux commands (rm, echo, ...)


### HOW TO USE

1. Extract this package.
(1.5) compile reducion.c
   gcc -o reduction reduction.c -lm  (ONLY IN VER1.0)
2. Change the paths at the top lines in the script with supporting your environment.
    e.g. modify PERL_PATH, $BASEOFFLINE, $BASEONLINE (if you use online service 
    in your own environment ) in mageplot-p.pl
3. Confirm directories $BASEOFFLINE/tmp and $BASEOFFLINE/img 
   (temporary file box and output img box)
4. Compile reduction.c (used in mageplot-d.pl) as,
   gcc -o reduction reduction.c -lm
5. Check the usage.
    e.g. ./mageplot-p.pl 8
6. Test for test data in accordance with usage.
    e.g. ./mageplot-p.pl 000 sample-mageplot-p-insitu.txt
7. Plot your data.


### LICENSE
This package including all codes and sample data are used and distributed 
under the lisence of GPL 3 with ABSOLUTELY NO WARRANTY.
See also gpl.txt in this package and GNU GPL site (https://www.gnu.org/licenses/).


### VERSIONS AND CHANGELOGS (details in each script)
2018/07/09 MagePlot 1.0  (for public release with open source license)
 including
   mageplot-p.pl    ver1.2
   mageplot-d.pl    ver1.1
   mageplot-mb.pl   ver1.0
   mageplot-h.pl    ver1.0 


### Copyright 2015-2018
Tadahiro Hatakeyama and the OUS Mage Project http://mage-p.org/


### REFERENCES
MagePlot:
Hatakeyama, T. (2018)
  Online plotting applications for paleomagentic and rock magnetic data, 
  Earth, Planets and Space, (in rev)
