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

Cheat Sheet

Uploaded by

ayush kumar
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)
13 views2 pages

Cheat Sheet

Uploaded by

ayush kumar
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. gcdkit.org


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.

• To load a data file (plain text, XLS, XLSX…), choose menu GCDkit  Load data file. You may
like to set the working directory (default place where the data will be sought and any output
will be saved) using menu File Change dir….

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.
The relative size can be given in the column “Size”

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.).
• Any of the individual graphs within a single plotting window (a “plate”) can be selected by
graphical cursor (right click the plot window, menu item Select slot  Select another slot).
• The selected plot of the plate can be edited using the same menu, submenu Plot editing.
• The whole plate/all its diagrams can be changed from within the submenu Plate editing.
For both single plots and plates, only the last plotted window (marked “Active”) can be modified.
• Single graphical window can be saved into an external file right clicking on the window and
selecting Save as Postscript. Subsequently the PDF, PS or EPS file can be imported into a
graphical program such as CorelDraw! or Adobe Illustrator for final polishing.
PostScript or PDF is to be preferred to Windows Metafile (WMF) or copying to clipboard, as it is much more accurate.
Use the Export to PS (Colour) and Export to PS (BW) menu items from submenu Plate editing to produce “clean”
version of your plate, if further editing is desired in a specialized graphical program.

0 5 10 15 1 8 15 22 29 36 43

1 6 11 16 2 9 16 23 30 37 44

3 10 17 24 31 38 45
2 7 12 17

4 11 18 25 32 39 46
3 8 13 18
5 12 19 26 33 40 47

4 9 14 19
6 13 20 27 34 41 48
Available plotting symbols and their codes. These
can be defined in the input file (in columns termed
„Symbol“), or via menu Plot settings  7 14 21 28 35 42 49
Symbols/colours by groups and such alike.
Basic colours that can be used for plotting and their
Code Colour name numeric codes. These can be specified in the input
0 white
1 black
file (column named “Color” or “Colour”), or via
2 red menu Plot settings  Symbols/colours by groups.
3 green The English names (“darkgreen”, “khaki”) are also
4 blue okay; choose Plot settings  Show available
5 cyan colours or type colours() to obtain their list.
6 magenta
7 yellow Enjoy!
8 grey V. Janoušek, V. Erban, C. M. Farrow

You might also like