Automatic correcting and plotting the REE data

Automatic correcting and plotting the REE data


Gambar 1. Pengeplotan REE versus Sample/C1-Chondrite

Gnuplot's Script

# Automatic correcting and plotting the REE data
#
# last modified 02.07.2000 by IWW

set logscale y 10
set xrange [0.5:14.5]
set yrange [2:200]
set xtics ("La" 1,"Ce" 2,"Pr" 3,"Nd" 4,"Sm" 5,"Eu" 6,"Gd" 7, \
    "Tb" 8,"Dy" 9,"Ho" 10,"Er" 11,"Tm" 12,"Yb" 13,"Lu" 14)
set key right
set ylabel '{/Roman=20 Sample/C1-Chondrite}'

# -----------------------------------------------------------------
# this script will read raw data (uncorrected) then automatically
# calculate c1-chondrite correction and plot the result. It doesn't
# need additional processing of REE data from measurement.
# -----------------------------------------------------------------

plot 'ree-rock.dat' using 1:($3/$2) t ' ' with linespoints 1 1, \
     'ree-rock.dat' using 1:($4/$2) t ' ' with linespoints 2 2, \
     'ree-rock.dat' using 1:($5/$2) t ' ' with linespoints 3 3, \
     'ree-rock.dat' using 1:($6/$2) t ' ' with linespoints 4 4, \
     'ree-rock.dat' using 1:($7/$2) t ' ' with linespoints 5 5, \
     'ree-rock.dat' using 1:($8/$2) t ' ' with linespoints 6 6, \
     'ree-rock.dat' using 1:($9/$2) t ' ' with linespoints 7 7, \
     'ree-rock.dat' using 1:($10/$2) t ' ' with linespoints 8 8

# t ' '; ' ' should be filled by sample number or code

Gambar 2. Pengeplotan REE versus Sample/C1-Chondrite dengan grid

Gnuplot's Script (adding gridlines)

set grid xtics ytics mytics lt 9, lt 9 # add gridline
replot

# --------------
# note:
# data must be ordered by the following,
# number c1-chondrite sample1 sample2 ... etc
# example: 1 0.234 16.4 17.2 ... etc
 


This document was generated on 2 July 2000 using the texi2html translator version 1.51.