The gmt Package. October 19, URL

Size: px
Start display at page:

Download "The gmt Package. October 19, URL"

Transcription

1 The gmt Package October 19, 2005 Version Date Title Interface between GMT 4.0 map-making software and R Author Arni Magnusson Maintainer Arni Magnusson <arnima@u.washington.edu> Depends R (>= 2.1.1) LazyData yes Interface between GMT 4.0 map-making software and R, enabling the user to manipulate geographic data within R and call GMT programs to draw and annotate maps in postscript format. License GPL version 2 or newer URL R topics documented: deg2num geodist gmt-package gmt gmt.demo gmt.system psbar psclose pscoast pstext psxy r2gmt Index 15 1

2 2 deg2num deg2num Convert Degrees to Numeric Convert deg:min:sec string to decimal number. deg2num(x) x string or vector of strings. Degrees, minutes and seconds are separated by colons, and each can have a decimal point as well. First character must be a minus sign or number, and last character must be W, E, S, N, or number. Numeric representation of the degree string(s). The string format is adopted from Appendix B.1.1 in the GMT manual. as.numeric. deg2num(c("12:30:44.5w", "17.5S", "1:00:05", "200:45E"))

3 geodist 3 geodist Distance Between Geographic Coordinates Calculate surface distance between geographic coordinates. geodist(nfrom, Efrom, Nto, Eto, units="km") Nfrom Efrom Nto Eto units latitude of origin. longitude of origin. latitude of destination. longitude of destination. how distance is measured: "km" for kilometres, "nm" for nautical miles. Latitude and longitude are passed as decimal numbers, e.g for N. Vectors of coordinates are supported. Vector of distances. The surface distance between geographic coordinates is: D = cos 1[ sin θ 1 sin θ 2 + cos θ 1 cos θ 2 cos(φ 1 φ 2 ) ] where distance and coordinates are expressed in radians. θ 1 and θ 2 is the latitude of origin and destination, and φ 1 and φ 2 is longitude. The calculations assume a perfect sphere and elevation differences are ignored. The SI definition of a nautical mile is exactly km. diff, Trig. geodist(55.75,37.62, 39.9,116.4) geodist(90,0, -90,0, "nm") # Moscow - Beijing # from pole to pole

4 4 gmt-package gmt-package Interface between GMT 4.0 Map-Making Software and R Interface between GMT 4.0 map-making software and R, enabling the user to manipulate geographic data within R and call GMT programs to draw and annotate maps in postscript format. Initialize GMT session: gmt set graphical parameters and postscript file Create a map: pscoast psxy pstext psbar psclose draw annotate annotate annotate finalize Convert and calculate: deg2num geodist degrees to numeric distance between coordinates : demo.par, demo.coast, demo.xy, demo.text, demo.bar strings and data frames that make up a map Internal: gmt.system, r2gmt not really intended for the end user Additional details are found on the help(package="gmt") page. References Wessel, P. and W.H.F. Smith The Generic Mapping Tools: Technical reference and cookbook. Version 4. Available at Other packages that can be used to draw maps include: GRASS, maps and PBSmapping.

5 gmt 5 gmt Initialize GMT Session Initialize a GMT (Generic Mapping Tools) session by setting graphical parameters and current postscript file. gmt(par, style="s", file="map.eps", quiet=false) par style file quiet optional string of the form "PARAMETER1=value1 PARAMETER2=value2...", passed to gmtset. default units and values: "s" for SI (international) or "u" for United States, passed to gmtdefaults. postscript filename used in subsequent calls to GMT plot functions, passed to options() whether current settings should be displayed. File type should be.eps when PAPER_MEDIA is A4+ or letter+, but.ps otherwise. See the GMT documentation for details on graphical parameters, gmtdefaults, gmtset and other GMT commands. List containing the current options("gmt.file"). If par is passed by user (even an empty string "" will do), a file named.gmtdefaults4 is created in the working directory. If quiet=false, the current graphical parameter settings are displayed. Assumes that GMT version 4 is installed, i.e. that gmtset and other commands are in the path, and environment variable GMTHOME is defined. options.

6 6 gmt.demo gmt(demo.par) pscoast(demo.coast) psxy(demo.xy) pstext(demo.text) psbar(demo.bar, ref=64) psclose() gmt.demo GMT Example Data Format These five objects are provided to demonstrate the functionality of the gmt package. demo.par demo.coast demo.xy demo.text demo.bar demo.par and demo.coast are simple strings. demo.xy is a data frame containing: Lon Lat Size Longitude Latitude Size of plot symbol demo.text is a data frame containing: Lon Lat Size Angle Font Justify Text Longitude Latitude Size of plot symbol Angle in degrees counter-clockwise from horizontal Font number Justification code Text label demo.bar is a data frame containing: Lon Lat Width Height Longitude Longitude Bar width in degrees Bar height in degrees

7 gmt.system 7 See the GMT documentation for details on psxy, pstext and other GMT commands. gmt(demo.par) pscoast(demo.coast) psxy(demo.xy) pstext(demo.text) psbar(demo.bar, ref=64) psclose() gmt.system Invoke GMT system command Invoke a system command, possibly directing the output to a file. gmt.system(cmd, file=null, append=false) cmd file append system command to be invoked, as a string. filename to which output should be directed. whether output should be appended to existing file. Command output as a vector of strings. This function is primarily an internal function, but users may find it handy for their own plotting functions. It is platform-independent, unlike the shell function. system, writelines.

8 8 psbar ## Assuming that GMT is in path gmt.system("gmtdefaults -Ds", file=".gmtdefaults4") psbar Add Bars to GMT Mercator Map Call GMT to add bars to the active map and save in postscript format. This function does the necessary calculations to render bars in standard height given a Mercator-projected map. It is not intended for other projections. psbar(x, cmd="-jm -R -W1p -G180 -O -K", file=options("gmt.file"), ref=0, digits=options("digits")) x cmd file ref digits data frame, matrix, or filename containing the data to be plotted. string of arguments passed to psxy. filename where the map is saved. reference latitude where Height=1 renders a bar 1 degree high. precision used when rounding the geographic coordinates. The data are arranged in four columns: Lon, Lat, Width, and Height, in that order. See help(r2gmt) for valid data file format when argument x is a filename. See the GMT documentation for details on psxy and other GMT commands. Null, but the map is annotated and saved in postscript format. As a side product, a temporary file lastbar.gmt is saved in the working directory. Assumes that GMT version 4 is installed, i.e. that psxy and other commands are in the path, and environment variable GMTHOME is defined. The derivative of the Mercator projection is used to standardize the bar height: f (θ) = ( 2 tan π 4 + θ 2 1 ) ( cos 2 π 4 + θ 2 where θ is latitude in radians and f(θ) is the y-axis coordinate. The bar height at a given latitude is h f (θ ref )/f (θ), where h is the height passed by the user and θ ref is a reference latitude where h=1 renders a bar 1 degree high. )

9 psclose 9 barplot, postscript. gmt(demo.par) pscoast(demo.coast) psxy(demo.xy) pstext(demo.text) psbar(demo.bar, ref=64) psclose() psclose Finalize GMT Map Call GMT to finalize the active map by appending a closing trailer and save in postscript format. psclose(file=options("gmt.file")) file filename where the map is saved. See the GMT documentation for details on psxy and other GMT commands. Null, but the map is finalized and saved in postscript format. Assumes that GMT version 4 is installed, i.e. that psxy and other commands are in the path, and environment variable GMTHOME is defined.

10 10 pscoast postscript. gmt(demo.par) pscoast(demo.coast) psxy(demo.xy) pstext(demo.text) psbar(demo.bar, ref=64) psclose() pscoast Draw GMT Map Call GMT to draw a map (coastlines, borders, rivers) and save in postscript format. pscoast(cmd, file=options("gmt.file")) cmd file string of arguments passed to pscoast. filename where the map will be saved. File type should be.eps when PAPER_MEDIA is A4+ or letter+, but.ps otherwise. See the GMT documentation for details on pscoast and other GMT commands. Null, but a map is drawn and saved in postscript format. Assumes that GMT version 4 is installed, i.e. that pscoast and other commands are in the path, and environment variable GMTHOME is defined.

11 pstext 11 plot.default, postscript. gmt(demo.par) pscoast(demo.coast) psxy(demo.xy) pstext(demo.text) psbar(demo.bar, ref=64) psclose() pstext Add Text/Symbols to GMT Map Call GMT to add text/symbols to the active map and save in postscript format. pstext(x, cmd="-jm -R -O -K", file=options("gmt.file")) x cmd file data frame, matrix, or filename containing the data to be plotted. string of arguments passed to pstext. filename where the map is saved. The data are arranged in seven columns: Lon, Lat, Size, Angle, Font, Justify, and Text, in that order. See help(r2gmt) for valid data file format when argument x is a filename. See the GMT documentation for details on pstext and other GMT commands. Null, but the map is annotated and saved in postscript format. As a side product, a temporary file lasttext.gmt is saved in the working directory. Assumes that GMT version 4 is installed, i.e. that pstext and other commands are in the path, and environment variable GMTHOME is defined.

12 12 psxy text, postscript. gmt(demo.par) pscoast(demo.coast) psxy(demo.xy) pstext(demo.text) psbar(demo.bar, ref=64) psclose() psxy Add Lines/Symbols to GMT Map Call GMT to add lines/symbols to the active map and save in postscript format. psxy(x, cmd="-jm -R -Scp -W2p -O -K", file=options("gmt.file")) x cmd file data frame, matrix, or filename containing the data to be plotted. string of arguments passed to psxy. filename where the map is saved. The data are arranged in two (Lon, Lat) or more columns, depending on the -S argument. See help(r2gmt) for valid data file format when argument x is a filename. See the GMT documentation for details on psxy and other GMT commands. Null, but the map is annotated and saved in postscript format. As a side product, a temporary file lastxy.gmt is saved in the working directory. Assumes that GMT version 4 is installed, i.e. that psxy and other commands are in the path, and environment variable GMTHOME is defined.

13 r2gmt 13 lines, points, postscript. gmt(demo.par) pscoast(demo.coast) psxy(demo.xy) pstext(demo.text) psbar(demo.bar, ref=64) psclose() r2gmt Prepare Data for GMT This function handles data that will be annotated on a GMT map, writing them to a temporary file. Although it is an internal function, users may find it handy for some tasks. r2gmt(x, outfile, append=false) x outfile append data frame, matrix, or filename containing the data to be written to a temporary file. filename where the data will be written in GMT format, tab-separated without header. whether data should be appended to an existing file, separating segments with ">" lines. If x is a filename, the data should be tabular with or without a header, separated by commas or whitespace. The first line is interpreted as header if the first non-whitespace character is not minus, point, or number. The data frame that was written to outfile. This function is primarily an internal function, but users may find it handy for their own plotting functions.

14 14 r2gmt scan, read.table, write, write.table. LonLat1 <- data.frame(lon=1:3, Lat=4:6) LonLat2 <- data.frame(lon=7:8, Lat=9:10) r2gmt(lonlat1, "temp.gmt") r2gmt(lonlat2, "temp.gmt", append=true)

15 Index Topic aplot psbar, 7 psclose, 9 pstext, 11 psxy, 12 Topic arith deg2num, 1 Topic character deg2num, 1 Topic classes deg2num, 1 Topic datasets gmt.demo, 5 Topic environment gmt, 4 Topic file gmt.system, 6 r2gmt, 13 Topic hplot gmt-package, 3 pscoast, 10 Topic interface gmt, 4 gmt.system, 6 psbar, 7 psclose, 9 pscoast, 10 pstext, 11 psxy, 12 r2gmt, 13 Topic math geodist, 2 Topic ts gmt-package, 3 as.numeric, 2 barplot, 8 deg2num, 1, 4 demo.bar, 4 demo.bar (gmt.demo), 5 demo.coast, 4 demo.coast (gmt.demo), 5 demo.par, 4 demo.par (gmt.demo), 5 demo.text, 4 demo.text (gmt.demo), 5 demo.xy, 4 demo.xy (gmt.demo), 5 diff, 3 geodist, 2, 4 gmt, 3, 4 gmt-package, 2, 3, 5 13 gmt-package, 3 gmt.demo, 5 gmt.system, 4, 6 lines, 12 options, 5 plot.default, 10 points, 12 postscript, 8 12 psbar, 3, 7 psclose, 3, 9 pscoast, 3, 10 pstext, 3, 11 psxy, 3, 12 r2gmt, 4, 13 read.table, 13 scan, 13 system, 7 text, 11 Trig, 3 write, 13 write.table, 13 writelines, 7 15

Package gmt. February 20, 2015

Package gmt. February 20, 2015 Version 1.2-0 Date 2014-03-11 Package gmt February 20, 2015 Title Interface between GMT Map-Making Software and R Author Arni Magnusson Maintainer Arni Magnusson SystemRequirements gmt

More information

Package gmt. September 12, 2017

Package gmt. September 12, 2017 Version 2.0-1 Date 2017-09-12 Package gmt September 12, 2017 Title Interface Between GMT Map-Making Software and R Imports utils SystemRequirements gmt LazyData yes Interface between the GMT map-making

More information

Lab 9 Part 2. GMT: Texas Map

Lab 9 Part 2. GMT: Texas Map Lab 9 Part 2 GMT: Texas Map 1 Open a X-window terminal Before you begin Part 2, create a new folder on //geobase called Lab9_Part2 PCs: If you need to, launch Cygwin, then in the black window, type: startxwin.bat.

More information

Introduction to GMT (Part 1)

Introduction to GMT (Part 1) Introduction to GMT (Part 1) An example of what you can make with GMT! Beth Meyers Matt Herman Last updated: 31 January 2018 Objectives Basic GMT commands psbasemap pscoast psxy GMT syntax and command

More information

Intro to GMT Part 1. Beth Meyers Matt Herman

Intro to GMT Part 1. Beth Meyers Matt Herman Intro to GMT Part 1 Beth Meyers Matt Herman By the end of of this tutorial you will be able to create the following figures: By the end of of this tutorial you will be able to create the following figures:

More information

GMT. Generic Mapping Tools or Gravity, Magnetics and Topography. Lecture #1 Mapping and Plotting with GMT

GMT. Generic Mapping Tools or Gravity, Magnetics and Topography. Lecture #1 Mapping and Plotting with GMT GMT Generic Mapping Tools or Gravity, Magnetics and Topography Lecture #1 Mapping and Plotting with GMT GMT World Domination GMT Began as a set of subroutines to write Postscript commands Grew with Paul

More information

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3.

Package geojsonsf. R topics documented: January 11, Type Package Title GeoJSON to Simple Feature Converter Version 1.3. Type Package Title GeoJSON to Simple Feature Converter Version 1.3.0 Date 2019-01-11 Package geojsonsf January 11, 2019 Converts Between GeoJSON and simple feature objects. License GPL-3 Encoding UTF-8

More information

Fall 2016 Semester METR 3113 Atmospheric Dynamics I: Introduction to Atmospheric Kinematics and Dynamics

Fall 2016 Semester METR 3113 Atmospheric Dynamics I: Introduction to Atmospheric Kinematics and Dynamics Fall 2016 Semester METR 3113 Atmospheric Dynamics I: Introduction to Atmospheric Kinematics and Dynamics Lecture 5 August 31 2016 Topics: Polar coordinate system Conversion of polar coordinates to 2-D

More information

Dr. Saji P. K. Assistant Professor, CUSAT.

Dr. Saji P. K. Assistant Professor, CUSAT. Dr. Saji P. K. Assistant Professor, CUSAT. Sessions 1 2 3 4 5 6 7 8 9 10 Session - 1 What is GMT? GMT stands for Generic ping Tools. GMT is a collection of commands that can be executed at the terminal

More information

NIWA GMT Workshop. Brent Wood April 2009

NIWA GMT Workshop. Brent Wood April 2009 NIWA GMT Workshop Brent Wood April 2009 Introduction Generic Mapping Tools (GMT) is a collection of command line programs for analysing & mapping spatial data. It primarily works with text files of XY

More information

MATHEMATICS FOR ENGINEERING TUTORIAL 5 COORDINATE SYSTEMS

MATHEMATICS FOR ENGINEERING TUTORIAL 5 COORDINATE SYSTEMS MATHEMATICS FOR ENGINEERING TUTORIAL 5 COORDINATE SYSTEMS This tutorial is essential pre-requisite material for anyone studying mechanical engineering. This tutorial uses the principle of learning by example.

More information

The sspline Package. October 11, 2007

The sspline Package. October 11, 2007 The sspline Package October 11, 2007 Version 0.1-5 Date 2007/10/10 Title Smoothing Splines on the Sphere Author Xianhong Xie Maintainer Xianhong Xie Depends R (>=

More information

Convert Local Coordinate Systems to Standard Coordinate Systems

Convert Local Coordinate Systems to Standard Coordinate Systems BENTLEY SYSTEMS, INC. Convert Local Coordinate Systems to Standard Coordinate Systems Using 2D Conformal Transformation in MicroStation V8i and Bentley Map V8i Jim McCoy P.E. and Alain Robert 4/18/2012

More information

Trigonometric Functions of Any Angle

Trigonometric Functions of Any Angle Trigonometric Functions of Any Angle MATH 160, Precalculus J. Robert Buchanan Department of Mathematics Fall 2011 Objectives In this lesson we will learn to: evaluate trigonometric functions of any angle,

More information

Youngstown State University Trigonometry Final Exam Review (Math 1511)

Youngstown State University Trigonometry Final Exam Review (Math 1511) Youngstown State University Trigonometry Final Exam Review (Math 1511) 1. Convert each angle measure to decimal degree form. (Round your answers to thousandths place). a) 75 54 30" b) 145 18". Convert

More information

Math 144 Activity #4 Connecting the unit circle to the graphs of the trig functions

Math 144 Activity #4 Connecting the unit circle to the graphs of the trig functions 144 p 1 Math 144 Activity #4 Connecting the unit circle to the graphs of the trig functions Graphing the sine function We are going to begin this activity with graphing the sine function ( y = sin x).

More information

Package Rwinsteps. February 19, 2015

Package Rwinsteps. February 19, 2015 Version 1.0-1 Date 2012-1-30 Title Running Winsteps in R Package Rwinsteps February 19, 2015 Author Anthony Albano , Ben Babcock Maintainer Anthony Albano

More information

Pre-Calculus Right Triangle Trigonometry Review Name Dec π

Pre-Calculus Right Triangle Trigonometry Review Name Dec π Pre-Calculus Right Triangle Trigonometry Review Name Dec 201 Convert from Radians to Degrees, or Degrees to Radians 7π 1. 0 2.. 1. 11π. Find the si trig functions of θ. If sin θ =, find the other five

More information

Omega for multilingual mapping

Omega for multilingual mapping Omega for multilingual mapping Blanca Mancilla School of Computer Science and Engineering The University of New South Wales unsw sydney nsw 2052, Australia mancilla@cse.unsw.edu.au http://www.cse.unsw.edu.au/

More information

GMT ex06 : Drawing GPS DATA. 胡植慶 Jyr-Ching HU Department of Geosciences National Taiwan University

GMT ex06 : Drawing GPS DATA. 胡植慶 Jyr-Ching HU Department of Geosciences National Taiwan University GMT ex06 : Drawing GPS DATA 胡植慶 Jyr-Ching HU Department of Geosciences National Taiwan University gmt2007_ex06c GMT commands psvelo: Plot velocity vectors, crosses, and wedges on maps psvelo files -Jparameters

More information

Package sspline. R topics documented: February 20, 2015

Package sspline. R topics documented: February 20, 2015 Package sspline February 20, 2015 Version 0.1-6 Date 2013-11-04 Title Smoothing Splines on the Sphere Author Xianhong Xie Maintainer Xianhong Xie Depends R

More information

Math Analysis Final Exam Review. Chapter 1 Standards

Math Analysis Final Exam Review. Chapter 1 Standards Math Analysis Final Exam Review Chapter 1 Standards 1a 1b 1c 1d 1e 1f 1g Use the Pythagorean Theorem to find missing sides in a right triangle Use the sine, cosine, and tangent functions to find missing

More information

Math 144 Activity #3 Coterminal Angles and Reference Angles

Math 144 Activity #3 Coterminal Angles and Reference Angles 144 p 1 Math 144 Activity #3 Coterminal Angles and Reference Angles For this activity we will be referring to the unit circle. Using the unit circle below, explain how you can find the sine of any given

More information

Section 10.1 Polar Coordinates

Section 10.1 Polar Coordinates Section 10.1 Polar Coordinates Up until now, we have always graphed using the rectangular coordinate system (also called the Cartesian coordinate system). In this section we will learn about another system,

More information

MATLAB INTRODUCTION. Matlab can be used interactively as a super hand calculator, or, more powerfully, run using scripts (i.e., programs).

MATLAB INTRODUCTION. Matlab can be used interactively as a super hand calculator, or, more powerfully, run using scripts (i.e., programs). L A B 6 M A T L A B MATLAB INTRODUCTION Matlab is a commercial product that is used widely by students and faculty and researchers at UTEP. It provides a "high-level" programming environment for computing

More information

Jim Lambers MAT 169 Fall Semester Lecture 33 Notes

Jim Lambers MAT 169 Fall Semester Lecture 33 Notes Jim Lambers MAT 169 Fall Semester 2009-10 Lecture 33 Notes These notes correspond to Section 9.3 in the text. Polar Coordinates Throughout this course, we have denoted a point in the plane by an ordered

More information

Pre-calculus Chapter 4 Part 1 NAME: P.

Pre-calculus Chapter 4 Part 1 NAME: P. Pre-calculus NAME: P. Date Day Lesson Assigned Due 2/12 Tuesday 4.3 Pg. 284: Vocab: 1-3. Ex: 1, 2, 7-13, 27-32, 43, 44, 47 a-c, 57, 58, 63-66 (degrees only), 69, 72, 74, 75, 78, 79, 81, 82, 86, 90, 94,

More information

How to design a geographic sundial by means of the Orologi Solari program

How to design a geographic sundial by means of the Orologi Solari program How to design a geographic sundial by means of the Orologi Solari program Geographic sundials show the gnomonic projection of the earth surface on the dial plane: continents, countries, cities etc. The

More information

10.1 Curves Defined by Parametric Equations

10.1 Curves Defined by Parametric Equations 10.1 Curves Defined by Parametric Equations Ex: Consider the unit circle from Trigonometry. What is the equation of that circle? There are 2 ways to describe it: x 2 + y 2 = 1 and x = cos θ y = sin θ When

More information

CSV Roll Documentation

CSV Roll Documentation CSV Roll Documentation Version 1.1 March 2015 INTRODUCTION The CSV Roll is designed to display the contents of a Microsoft Excel worksheet in a Breeze playlist. The Excel worksheet must be exported as

More information

Java How to Program, 10/e. Copyright by Pearson Education, Inc. All Rights Reserved.

Java How to Program, 10/e. Copyright by Pearson Education, Inc. All Rights Reserved. Java How to Program, 10/e Education, Inc. All Rights Reserved. Each class you create becomes a new type that can be used to declare variables and create objects. You can declare new classes as needed;

More information

Name: Dr. Fritz Wilhelm Lab 1, Presentation of lab reports Page # 1 of 7 5/17/2012 Physics 120 Section: ####

Name: Dr. Fritz Wilhelm Lab 1, Presentation of lab reports Page # 1 of 7 5/17/2012 Physics 120 Section: #### Name: Dr. Fritz Wilhelm Lab 1, Presentation of lab reports Page # 1 of 7 Lab partners: Lab#1 Presentation of lab reports The first thing we do is to create page headers. In Word 2007 do the following:

More information

ERTH3021 Exploration and Mining Geophysics

ERTH3021 Exploration and Mining Geophysics ERTH3021 Exploration and Mining Geophysics Practical 1: Introduction to Scientific Programming using Python Purposes To introduce simple programming skills using the popular Python language. To provide

More information

Inverses of Trigonometric. Who uses this? Hikers can use inverse trigonometric functions to navigate in the wilderness. (See Example 3.

Inverses of Trigonometric. Who uses this? Hikers can use inverse trigonometric functions to navigate in the wilderness. (See Example 3. 1-4 Inverses of Trigonometric Functions Objectives Evaluate inverse trigonometric functions. Use trigonometric equations and inverse trigonometric functions to solve problems. Vocabulary inverse sine function

More information

MATH EXAM 1 - SPRING 2018 SOLUTION

MATH EXAM 1 - SPRING 2018 SOLUTION MATH 140 - EXAM 1 - SPRING 018 SOLUTION 8 February 018 Instructor: Tom Cuchta Instructions: Show all work, clearly and in order, if you want to get full credit. If you claim something is true you must

More information

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved. Assoc. Prof. Dr. Marenglen Biba Laboratory Session: Exercises on classes Analogy to help you understand classes and their contents. Suppose you want to drive a car and make it go faster by pressing down

More information

Jump Stitch Metadata & Depth Maps Version 1.1

Jump Stitch Metadata & Depth Maps Version 1.1 Jump Stitch Metadata & Depth Maps Version 1.1 jump-help@google.com Contents 1. Introduction 1 2. Stitch Metadata File Format 2 3. Coverage Near the Poles 4 4. Coordinate Systems 6 5. Camera Model 6 6.

More information

GOSAT Tools Installation and Operation Manual

GOSAT Tools Installation and Operation Manual GOSAT Tools Installation and Operation Manual May 2018 NIES GOSAT Project Table of Contents 1. Introduction... 1 1.1 Overview... 2 1.2 System Requirements... 3 2. Installing... 4 2.1 Location Data of Validation

More information

Rotated earth or when your fantasy world goes up side down

Rotated earth or when your fantasy world goes up side down Rotated earth or when your fantasy world goes up side down A couple of weeks ago there was a discussion started if Fractal Terrain 3 (FT3) can rotate our earth. http://forum.profantasy.com/comments.php?discussionid=4709&page=1

More information

EGR 111 Functions and Relational Operators

EGR 111 Functions and Relational Operators EGR 111 Functions and Relational Operators This lab is an introduction to writing your own MATLAB functions. The lab also introduces relational operators and logical operators which allows MATLAB to compare

More information

mmm Internal Report #13 -^ /y ELAINE LITMAN

mmm Internal Report #13 -^ /y ELAINE LITMAN QUIET2QiE imwfmmge MiLXSIS mmm Internal Report #13 -^ /y ELAINE LITMAN QUIETZON is a program to compute the power density expected at Green Bank from any proposed transmitter site in the Radio Quiet Zone.

More information

The American University in Cairo. Academic Computing Services. Excel prepared by. Maha Amer

The American University in Cairo. Academic Computing Services. Excel prepared by. Maha Amer The American University in Cairo Excel 2000 prepared by Maha Amer Spring 2001 Table of Contents: Opening the Excel Program Creating, Opening and Saving Excel Worksheets Sheet Structure Formatting Text

More information

Department of Earth and Planetary Sciences Northwestern University

Department of Earth and Planetary Sciences Northwestern University Department of Earth and Planetary Sciences Northwestern University Summer 2012 1 Notes and Tricks on GMT (Generic Mapping Tools) Amir Salaree 2 Foreword: This text is to address some subtle needs of the

More information

MATLAB Introduction to MATLAB Programming

MATLAB Introduction to MATLAB Programming MATLAB Introduction to MATLAB Programming MATLAB Scripts So far we have typed all the commands in the Command Window which were executed when we hit Enter. Although every MATLAB command can be executed

More information

Introduction to MS Excel Management Information Systems

Introduction to MS Excel Management Information Systems Introduction to MS Excel 2007 Management Information Systems 1 Overview What is MS Excel? Functions. Sorting Data. Filtering Data. Data Form. Data Validation. Create charts in Excel. Formatting Cells.

More information

Fundamentals of Surveying MSS 220 Prof. Gamal El-Fiky

Fundamentals of Surveying MSS 220 Prof. Gamal El-Fiky Fundamentals of Surveying MSS 220 Prof. Gamal l-fiky Maritime Studies Department, Faculty of Marine Science King Abdulaziz University gamal_elfiky@yahoo.com Room 221 What is Surveying? Surveying is defined

More information

Trigonometric Ratios and Functions

Trigonometric Ratios and Functions Algebra 2/Trig Unit 8 Notes Packet Name: Date: Period: # Trigonometric Ratios and Functions (1) Worksheet (Pythagorean Theorem and Special Right Triangles) (2) Worksheet (Special Right Triangles) (3) Page

More information

and how to label right triangles:

and how to label right triangles: Grade 9 IGCSE A1: Chapter 6 Trigonometry Items you need at some point in the unit of study: Graph Paper Exercise 2&3: Solving Right Triangles using Trigonometry Trigonometry is a branch of mathematics

More information

: Find the values of the six trigonometric functions for θ. Special Right Triangles:

: Find the values of the six trigonometric functions for θ. Special Right Triangles: ALGEBRA 2 CHAPTER 13 NOTES Section 13-1 Right Triangle Trig Understand and use trigonometric relationships of acute angles in triangles. 12.F.TF.3 CC.9- Determine side lengths of right triangles by using

More information

iii Map Intelligence Client User Manual

iii Map Intelligence Client User Manual Map Intelligence Client User Manual iii TM Map Intelligence Client User Manual ii CONTENTS INTRODUCTION... 5 Purpose... 5 Audience... 5 Conventions... 6 Prerequisites... 6 CONCEPTS... 7 What is Map Intelligence?...

More information

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6 Polar Coordinates Any point in the plane can be described by the Cartesian coordinates (x, y), where x and y are measured along the corresponding axes. However, this is not the only way to represent points

More information

Trigonometry Practise 2 - Mrs. Maharaj

Trigonometry Practise 2 - Mrs. Maharaj Trigonometry Practise 2 - Mrs. Maharaj Question 1 Question 2 Use a calculator to evaluate cos 82 correct to three decimal places. cos 82 = (to 3 decimal places) Complete the working to find the value of

More information

SeeYou CUP file format description

SeeYou CUP file format description title: SeeYou CUP file format description description: SeeYou CUP file format specification file, Copyright 2018, Naviter d.o.o. All Rights Reserved date: 2018-06-07 SeeYou CUP file format description

More information

SFU CMPT 361 Computer Graphics Fall 2017 Assignment 2. Assignment due Thursday, October 19, 11:59pm

SFU CMPT 361 Computer Graphics Fall 2017 Assignment 2. Assignment due Thursday, October 19, 11:59pm SFU CMPT 361 Computer Graphics Fall 2017 Assignment 2 Assignment due Thursday, October 19, 11:59pm For this assignment, you are to interpret a 3D graphics specification language, along with doing some

More information

iii Map Intelligence Client User Manual

iii Map Intelligence Client User Manual Map Intelligence Client User Manual iii Map Intelligence Client User Manual ii CONTENTS INTRODUCTION... 5 Purpose... 5 Audience... 5 Conventions... 6 Prerequisites... 6 CONCEPTS... 7 What is Map Intelligence?...

More information

DAY 1 - GEOMETRY FLASHBACK

DAY 1 - GEOMETRY FLASHBACK DAY 1 - GEOMETRY FLASHBACK Sine Opposite Hypotenuse Cosine Adjacent Hypotenuse sin θ = opp. hyp. cos θ = adj. hyp. tan θ = opp. adj. Tangent Opposite Adjacent a 2 + b 2 = c 2 csc θ = hyp. opp. sec θ =

More information

Working with Microsoft Excel. Touring Excel. Selecting Data. Presented by: Brian Pearson

Working with Microsoft Excel. Touring Excel. Selecting Data. Presented by: Brian Pearson Working with Microsoft Excel Presented by: Brian Pearson Touring Excel Menu bar Name box Formula bar Ask a Question box Standard and Formatting toolbars sharing one row Work Area Status bar Task Pane 2

More information

Phone: Fax: Directions for setting up MARCO Insert Item #A-6LI 3 H x 4 W

Phone: Fax: Directions for setting up MARCO Insert Item #A-6LI 3 H x 4 W Phone: 1.866.289.9909 Fax: 1.866.545.5672 www.marcopromotionalproducts.com Directions for setting up MARCO Insert Item #A-6LI 3 H x 4 W Word Perfect Directions Step 1. Open Word Perfect Step 2. Click Format

More information

7/14/2009. Chapters Autocad Multi Line Text Tools. Multi Line Text Tool Ribbon. Multi Line Text Tool. July 14, 2009

7/14/2009. Chapters Autocad Multi Line Text Tools. Multi Line Text Tool Ribbon. Multi Line Text Tool. July 14, 2009 Chapters 9-11 July 14, 2009 Chapter 9 Learning Objectives Describe and use proper text standards. Calculate drawing scale and text height. Develop and use text styles. Make multiple lines of text with

More information

PARAMETRIC EQUATIONS AND POLAR COORDINATES

PARAMETRIC EQUATIONS AND POLAR COORDINATES 10 PARAMETRIC EQUATIONS AND POLAR COORDINATES PARAMETRIC EQUATIONS & POLAR COORDINATES A coordinate system represents a point in the plane by an ordered pair of numbers called coordinates. PARAMETRIC EQUATIONS

More information

12/22/11. Java How to Program, 9/e. public must be stored in a file that has the same name as the class and ends with the.java file-name extension.

12/22/11. Java How to Program, 9/e. public must be stored in a file that has the same name as the class and ends with the.java file-name extension. Java How to Program, 9/e Education, Inc. All Rights Reserved. } Covered in this chapter Classes Objects Methods Parameters double primitive type } Create a new class (GradeBook) } Use it to create an object.

More information

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6. ) is graphed below:

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6. ) is graphed below: Polar Coordinates Any point in the plane can be described by the Cartesian coordinates (x, y), where x and y are measured along the corresponding axes. However, this is not the only way to represent points

More information

MATLAB Fundamentals. Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University

MATLAB Fundamentals. Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University MATLAB Fundamentals Berlin Chen Department of Computer Science & Information Engineering National Taiwan Normal University Reference: 1. Applied Numerical Methods with MATLAB for Engineers, Chapter 2 &

More information

Semester 2 Review Units 4, 5, and 6

Semester 2 Review Units 4, 5, and 6 Precalculus Semester 2 Review Units 4, 5, and 6 NAME: Period: UNIT 4 Simplify each expression. 1) (sec θ tan θ)(1 + tan θ) 2) cos θ sin 2 θ 1 3) 1+tan θ 1+cot θ 4) cos 2θ cosθ sin θ 5) sec 2 x sec 2 x

More information

EXST 7014, Lab 1: Review of R Programming Basics and Simple Linear Regression

EXST 7014, Lab 1: Review of R Programming Basics and Simple Linear Regression EXST 7014, Lab 1: Review of R Programming Basics and Simple Linear Regression OBJECTIVES 1. Prepare a scatter plot of the dependent variable on the independent variable 2. Do a simple linear regression

More information

Smart GIS Course. Developed By. Mohamed Elsayed Elshayal. Elshayal Smart GIS Map Editor and Surface Analysis. First Arabian GIS Software

Smart GIS Course. Developed By. Mohamed Elsayed Elshayal. Elshayal Smart GIS Map Editor and Surface Analysis. First Arabian GIS Software Smart GIS Course Developed By Mohamed Elsayed Elshayal Elshayal Smart GIS Map Editor and Surface Analysis First Arabian GIS Software http://www.freesmartgis.blogspot.com/ http://tech.groups.yahoo.com/group/elshayalsmartgis/

More information

Distance in mm from nearest latitude line to location x 150 = seconds of latitude Distance in mm between latitude 2.5 tick marks (along the sides)

Distance in mm from nearest latitude line to location x 150 = seconds of latitude Distance in mm between latitude 2.5 tick marks (along the sides) LATITUDE FORMULA FOR 1:24000 SCALE WITH 2.5 TICK MARKS Distance in mm from nearest latitude line to location x 150 = seconds of latitude Distance in mm between latitude 2.5 tick marks (along the sides)

More information

Dr Richard Greenaway

Dr Richard Greenaway SCHOOL OF PHYSICS, ASTRONOMY & MATHEMATICS 4PAM1008 MATLAB 2 Basic MATLAB Operation Dr Richard Greenaway 2 Basic MATLAB Operation 2.1 Overview 2.1.1 The Command Line In this Workshop you will learn how

More information

StickFont v2.12 User Manual. Copyright 2012 NCPlot Software LLC

StickFont v2.12 User Manual. Copyright 2012 NCPlot Software LLC StickFont v2.12 User Manual Copyright 2012 NCPlot Software LLC StickFont Manual Table of Contents Welcome... 1 Registering StickFont... 3 Getting Started... 5 Getting Started... 5 Adding text to your

More information

U N I V E R S I T Y O F K E N T U C K Y. efacts 2-click Interactive Building Information Map ~ Help Guide ~ Revised January 20, 2016

U N I V E R S I T Y O F K E N T U C K Y. efacts 2-click Interactive Building Information Map ~ Help Guide ~ Revised January 20, 2016 U N I V E R S I T Y O F K E N T U C K Y efacts 2-click Interactive Building Information Map ~ Help Guide ~ Revised January 20, 2016 Contents BUILDING SEARCH... 3 A. FIND A CAMPUS LOCATION... 3 GRAPHICAL

More information

Trigonometry Review Day 1

Trigonometry Review Day 1 Name Trigonometry Review Day 1 Algebra II Rotations and Angle Terminology II Terminal y I Positive angles rotate in a counterclockwise direction. Reference Ray Negative angles rotate in a clockwise direction.

More information

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Exam Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Convert the angle to decimal degrees and round to the nearest hundredth of a degree. 1)

More information

Blue 21 Extend and Succeed Brain Growth Senior Phase. Trigonometry. Graphs and Equations

Blue 21 Extend and Succeed Brain Growth Senior Phase. Trigonometry. Graphs and Equations Blue 21 Extend and Succeed Brain Growth Senior Phase Trigonometry Graphs and Equations Trig Graphs O1 Trig ratios of angles of all sizes 1. Given the diagram above, find sin 130, cos 130 and tan 130 correct

More information

MA 154 PRACTICE QUESTIONS FOR THE FINAL 11/ The angles with measures listed are all coterminal except: 5π B. A. 4

MA 154 PRACTICE QUESTIONS FOR THE FINAL 11/ The angles with measures listed are all coterminal except: 5π B. A. 4 . If θ is in the second quadrant and sinθ =.6, find cosθ..7.... The angles with measures listed are all coterminal except: E. 6. The radian measure of an angle of is: 7. Use a calculator to find the sec

More information

ENGR 1181 MATLAB 05: Input and Output

ENGR 1181 MATLAB 05: Input and Output ENGR 1181 MATLAB 05: Input and Output Learning Objectives 1. Create a basic program that can be used over and over or given to another person to use 2. Demonstrate proper use of the input command, which

More information

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2

Package gggenes. R topics documented: November 7, Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2 Title Draw Gene Arrow Maps in 'ggplot2' Version 0.3.2 Package gggenes November 7, 2018 Provides a 'ggplot2' geom and helper functions for drawing gene arrow maps. Depends R (>= 3.3.0) Imports grid (>=

More information

ECAS. Conversion Specification. Provided to ECAS. Issue 4.1. Document No.

ECAS. Conversion Specification. Provided to ECAS. Issue 4.1. Document No. ECAS Mobile Conversion Specification Location Provided to ECAS Issue 4.1 Document No. Document Information Document Title Mobile Location Conversion Specification Filename Mobile Location Conversion Specification

More information

Pre-Calc Unit 14: Polar Assignment Sheet April 27 th to May 7 th 2015

Pre-Calc Unit 14: Polar Assignment Sheet April 27 th to May 7 th 2015 Pre-Calc Unit 14: Polar Assignment Sheet April 27 th to May 7 th 2015 Date Objective/ Topic Assignment Did it Monday Polar Discovery Activity pp. 4-5 April 27 th Tuesday April 28 th Converting between

More information

ROTCTL(1) Rotator Control Program ROTCTL(1)

ROTCTL(1) Rotator Control Program ROTCTL(1) NAME rotctl control antenna rotators SYNOPSIS rotctl [OPTION]... [COMMAND]... DESCRIPTION Control antenna rotators. rotctl accepts commands from the command line as well as in interactive mode if none

More information

Trigonometry Ratios. For each of the right triangles below, the labelled angle is equal to 40. Why then are these triangles similar to each other?

Trigonometry Ratios. For each of the right triangles below, the labelled angle is equal to 40. Why then are these triangles similar to each other? Name: Trigonometry Ratios A) An Activity with Similar Triangles Date: For each of the right triangles below, the labelled angle is equal to 40. Why then are these triangles similar to each other? Page

More information

Drawing. Chapter 11. Bridge. A. Insert Views. Step 1. Click File Menu > New, click Drawing and OK. on the View Layout toolbar.

Drawing. Chapter 11. Bridge. A. Insert Views. Step 1. Click File Menu > New, click Drawing and OK. on the View Layout toolbar. Chapter 11 Bridge Drawing A. Insert Views. Step 1. Click File Menu > New, click Drawing and OK. Step 2. Click Model View on the View Layout toolbar. Step 3. Click Browse in the Property Manager. Step 4.

More information

Distance in mm from nearest latitude line to location x 150 = seconds of latitude Distance in mm between latitude 2.5 tick marks (along the sides)

Distance in mm from nearest latitude line to location x 150 = seconds of latitude Distance in mm between latitude 2.5 tick marks (along the sides) LATITUDE FORMULA FOR 1:24000 SCALE WITH 2.5 TICK MARKS Distance in mm from nearest latitude line to location x 150 = seconds of latitude Distance in mm between latitude 2.5 tick marks (along the sides)

More information

EXCEL 2003 DISCLAIMER:

EXCEL 2003 DISCLAIMER: EXCEL 2003 DISCLAIMER: This reference guide is meant for experienced Microsoft Excel users. It provides a list of quick tips and shortcuts for familiar features. This guide does NOT replace training or

More information

The Nautical Almanac's Concise Sight Reduction Tables

The Nautical Almanac's Concise Sight Reduction Tables The Nautical Almanac's Concise Sight Reduction Tables W. Robert Bernecky February, 2015 This document describes the mathematics used to derive the Nautical Almanac's Concise Sight Reduction Tables (NACSR).

More information

Trigonometry and the Unit Circle. Chapter 4

Trigonometry and the Unit Circle. Chapter 4 Trigonometry and the Unit Circle Chapter 4 Topics Demonstrate an understanding of angles in standard position, expressed in degrees and radians. Develop and apply the equation of the unit circle. Solve

More information

Unit 1: Numeration I Can Statements

Unit 1: Numeration I Can Statements Unit 1: Numeration I can write a number using proper spacing without commas. e.g., 934 567. I can write a number to 1 000 000 in words. I can show my understanding of place value in a given number. I can

More information

Package EnQuireR. R topics documented: February 19, Type Package Title A package dedicated to questionnaires Version 0.

Package EnQuireR. R topics documented: February 19, Type Package Title A package dedicated to questionnaires Version 0. Type Package Title A package dedicated to questionnaires Version 0.10 Date 2009-06-10 Package EnQuireR February 19, 2015 Author Fournier Gwenaelle, Cadoret Marine, Fournier Olivier, Le Poder Francois,

More information

Part I. There are 5 problems in Part I, each worth 5 points. No partial credit will be given, so be careful. Circle the correct answer.

Part I. There are 5 problems in Part I, each worth 5 points. No partial credit will be given, so be careful. Circle the correct answer. Math 109 Final Exam-Spring 016 Page 1 Part I. There are 5 problems in Part I, each worth 5 points. No partial credit will be given, so be careful. Circle the correct answer. 1) Determine an equivalent

More information

Navigation coordinate systems

Navigation coordinate systems Lecture 3 Navigation coordinate systems Topic items: 1. Basic Coordinate Systems. 2. Plane Cartesian Coordinate Systems. 3. Polar Coordinate Systems. 4. Earth-Based Locational Reference Systems. 5. Reference

More information

Find the amplitude, period, and phase shift, and vertical translation of the following: 5. ( ) 6. ( )

Find the amplitude, period, and phase shift, and vertical translation of the following: 5. ( ) 6. ( ) 1. Fill in the blanks in the following table using exact values. Reference Angle sin cos tan 11 6 225 2. Find the exact values of x that satisfy the given condition. a) cos x 1, 0 x 6 b) cos x 0, x 2 3.

More information

ATNS. USING Google EARTH. Version 1

ATNS. USING Google EARTH. Version 1 ATNS USING Google EARTH Version 1 ATNS/HO/Using Google Earth Page 1 25/04/2013 CONTENTS 1. BASIC SETUP 2. NAVIGATING IN GOOGLE EARTH 3. ADDING OBJECTS TO GOOGLE EARTH 4. USER HELP REFERENCES ATNS/HO/Using

More information

updated for jcad

updated for jcad jcad Reference updated for jcad 0.27 2002-01-06 Table of Contents CHAPTER 1 Legal Stuff 5 jcad Background 5 Disclaimer 5 License 5 CHAPTER 2 Introduction 7 jcad Command Line 7 CHAPTER 3 Simulation 9 Spice

More information

1. What is cos(20 ) csc(70 )? This is a review of the complementary angle theorem that you learned about last time.

1. What is cos(20 ) csc(70 )? This is a review of the complementary angle theorem that you learned about last time. Math 121 (Lesieutre); 8.1, cont.; Novemer 10, 2017 1. What is cos(20 ) csc(70 )? This is a review of the complementary angle theorem that you learned aout last time. cos(20 ) csc(70 ) = cos(20 ) sec(90

More information

Answers to practice questions for Midterm 1

Answers to practice questions for Midterm 1 Answers to practice questions for Midterm Paul Hacking /5/9 (a The RREF (reduced row echelon form of the augmented matrix is So the system of linear equations has exactly one solution given by x =, y =,

More information

CCPLOT(1) BSD General Commands Manual CCPLOT(1)

CCPLOT(1) BSD General Commands Manual CCPLOT(1) NAME ccplot CloudSat and CALIPSO data plotting tool SYNOPSIS ccplot [ a ratio] [ c cmapfile] [ d dpi] [ m band] [ o outfile] [ p projection[:projoptions]] [ r radius] [ v] [ x extent] [ y extent] [ z options]

More information

Class #15: Experiment Introduction to Matlab

Class #15: Experiment Introduction to Matlab Class #15: Experiment Introduction to Matlab Purpose: The objective of this experiment is to begin to use Matlab in our analysis of signals, circuits, etc. Background: Before doing this experiment, students

More information

Exercise Producing Thematic Maps for Dissemination

Exercise Producing Thematic Maps for Dissemination Exercise Producing Thematic Maps for Dissemination 2007 In this exercise you will work with an existing file geodatabase which contains administrative boundaries (named wards) feature class and population

More information

Physics 212E Classical and Modern Physics Spring VPython Class 6: Phasors and Interference

Physics 212E Classical and Modern Physics Spring VPython Class 6: Phasors and Interference Physics 212E Classical and Modern Physics Spring 2017 VPython Class 6: Phasors and Interference 1 Introduction We re going to set up a VPython program that will take three inputs: the number of slits,

More information

The Basics plus Plotting in X-Y Space

The Basics plus Plotting in X-Y Space The Basics plus Plotting in X-Y Space Goal make scientific illustrations ( generic of GMT is generic to geo sciences) Goal make scientific illustrations Maps - Color/bw/shaded topography and bathymetry,

More information

CHAPTER 4: MICROSOFT OFFICE: EXCEL 2010

CHAPTER 4: MICROSOFT OFFICE: EXCEL 2010 CHAPTER 4: MICROSOFT OFFICE: EXCEL 2010 Quick Summary A workbook an Excel document that stores data contains one or more pages called a worksheet. A worksheet or spreadsheet is stored in a workbook, and

More information