0% found this document useful (0 votes)
789 views2 pages

Cheat Sheet GCDKit

The document provides instructions for basic operations in GCDkit, including how to import data files from Excel, split data into groups, assign plotting symbols and colors, obtain basic statistics, calculate norms, plot binary diagrams, and edit graphs. Key steps include copying an Excel table to the clipboard and pasting into GCDkit, using menu items to set groups and plot settings, and saving graphs as Postscript files. Available plotting symbols and basic colors are listed with their numeric codes.

Uploaded by

Rheza Firmansyah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
789 views2 pages

Cheat Sheet GCDKit

The document provides instructions for basic operations in GCDkit, including how to import data files from Excel, split data into groups, assign plotting symbols and colors, obtain basic statistics, calculate norms, plot binary diagrams, and edit graphs. Key steps include copying an Excel table to the clipboard and pasting into GCDkit, using menu items to set groups and plot settings, and saving graphs as Postscript files. Available plotting symbols and basic colors are listed with their numeric codes.

Uploaded by

Rheza Firmansyah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Basic operations – GCDkit Cheat Sheet

All GCDkit-related info is on http://www.gla.ac.uk/gcdkit


Complete documentation – menu item GCDkit Æ Help

How to import data file


• Data should be prepared as a table, e.g. in Excel
Samples must be in rows starting with unique sample name, in columns are geochemical data with a simple heading
(SiO2, H2O+, Sr etc.) or meta-information (locality, petrology...)
• Copy the table into Windows clipboard (Ctrl-C)
• Menu GCDkit Æ Paste data from clipboard

An example of Excel data file, ready to be imported into GCDkit. The table should be highlighted and
copied to clipboard (Ctrl + C), in GCDkit then invoke a menu item GCDkit Æ Paste data from clipboard.

How to split data into groups


The assigned groups are used by many functions of the GCDkit
• Menu Data handling Æ Set groups by… Æ … label
• Choose the desired parameter from the list in the R-Console, type in its sequence number or
name into the dialogue window OK, or just press Enter to obtain the drop down list
Further possibilities for groups definitions are in the menu Data handling Æ Set groups by…

How to assign plotting symbols and colours to individual samples


• Colours and plotting symbols that will be used subsequently in all diagrams can be assigned
to individual groups using: Plot settings Æ Symbols/colours by groups
• In the table fill numeric codes corresponding to desired symbols/colours for each group
• Close the window with the table (cross in the top-right corner)
Instead of symbols can be used also text strings directly
Symbols and colours can be pre-defined in the input file in columns named „Symbol“, or „Col“, respectively.

How to obtain a basic statistics


• Menu Calculations Æ Statistics Æ Single variable …
Menu Statistics offers several additional functions for statistical description of the data file, e.g., summaries for major
and trace elements or correlation matrices

How to calculate norms (e.g. CIPW)


• Menu Calculations Æ Norms… Æ CIPW
• The results can be copied into clipboard via menu GCDkit Æ Copy results to clipboard and
pasted subsequently (Ctrl+V) into Excel or other Windows application
The same procedure applies also to calculation of Niggli numbers, Granite Mesonorm, Catanorm etc.
Quicker is to choose the appropriate term from the menu, which appears after right-clicking the Console window
How to plot a binary diagram
• Menu Plots Æ Binary plot and then fill in the dialogue windows as appropriate;
• Analogously can be, using menu Plots Æ Multiple plots…Æ 1+ vs. majors, created a set of
Harker diagrams
Menu Plots contains a number of additional forms of graphical output, e.g. ternary diagrams, 3D plot, several varieties
of spiderplots etc. If the data file contains Sr-Nd isotopic data, corresponding functions for their interpretation and
plotting are available from menu Plugins Æ Sr-Nd isotopes
• Menus Plots Æ Classifications and Plots Æ Geotectonic offer several dozens of pre-defined
classification and discrimination diagrams

How to edit a graph


• Most of the solitary diagrams can be edited using the options in menu Plot editing (changing
text labels, zoom, identification of data points, adding contours etc.)
• Graph can be saved into an external file right clicking on the window and selecting
Save as Postscript. Subsequently the graph can be imported into a graphic program such as
CorelDraw!
PostScript is to be preferred to Windows Metafile (WMF) or copying to clipboard, as it is much more accurate.

Code Colour name


0 white
1 black
2 red
3 green
4 blue
5 cyan
6 magenta
7 yellow
8 grey

Basic colours that can be used for plotting and their


numeric codes. These can be specified in the input
file (column named „Color“or “Colour”), or via
menu Plot settings Æ Symbols/colours by groups.
Available plotting symbols and their codes. These The English names (“darkgreen”, “khaki”) are also
can be defined in the input file (in columns termed okay; choose Plot settings Æ Show available
„Symbol“), or via menu Plot settings Æ
colours or type colours() to obtain their list.
Symbols/colours by groups and such alike.

Overview of regular expressions that can be used in searching and subsetting of the data
(power users only)

Regular expression Matches Repetition operator Preceding item will be matched


. Any character ? At most once (i.e. is optional)
^ Beginning of the expression * Zero or more times
$ End of the expression + One or more times
Any of the characters given in square {n} Exactly n times
[]
brackets {n,} At least n times
Any character in the range given by At least n times, but not more
[m-n] {n,m}
m and n than m times

Enjoy!
V. Janoušek, V. Erban, C. M. Farrow, J. Šmíd

You might also like