Getting graphs ready for publication GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Jessica Corman.

Slides:



Advertisements
Similar presentations
Unique Identifier Program Presented by: Alvin T. Gloer CEP January 14, 2000.
Advertisements

6.4 Solving Compound Inequalities I can… solve compound inequalities containing the word and and graph their solution sets. I can… solve compound inequalities.
5.7.1 Ax + By = C Form (standard form)
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 14.
1 Chapter 40 - Physiology and Pathophysiology of Diuretic Action Copyright © 2013 Elsevier Inc. All rights reserved.
The Erken Laboratory Thorsten Blenckner. Lake Erken Lake Erken, dimictic Catchment area (km 2 )141 Lake area (km 2 )24 Mean depth (m)9 Max depth (m)21.
Lake Erken field station Sweden
0 - 0.
COMBINED PROBLEMS The Remainder / Factor Theorems along with Synthetic Division help factor higher order polynomials quickly.
Reflections Art contest Arts program & contest PTAs cornerstone arts program Specific theme Students create original artwork.
3rd Quarter 2013 July 1 – September 30, 2013 EVERY WEEK COUNTS OKLAHOMA AGGREGATE DATA.
1 Directed Depth First Search Adjacency Lists A: F G B: A H C: A D D: C F E: C D G F: E: G: : H: B: I: H: F A B C G D E H I.
Energy & Green Urbanism Markku Lappalainen Aalto University.
 Depth Into the earth Surface of the earth Distance along the fault plane 100 km (60 miles) Slip on an earthquake fault START.
Functions with Inverses Functions with Inverses
January 15,  “Only take heed to yourself, and diligently keep yourself, lest you forget the things your eyes have seen, and lest they depart.
Academy for Urban School Leadership Lifelong Learning Summer Design Institute Lake Arrowhead Resort, California June 4, 2013.
Events Tomorrow Finance Meeting, 6:30 pm. Church Board Meeting, 7:30 pm.
Doubles Facts Doubles with Pictures Doubles without Pictures Pictures Only.
We will resume in: 25 Minutes.
Graph Linear Systems Written in Standard Form
Weekly Attendance by Class w/e 6 th September 2013.
Unit 14 Assessment Objective Three. Unit 14 Assessment Objective Three.
NMDS ordination with individually selected labels GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Emily Nodine.
House-Keeping Internet Silence Cell Phones Facilities Please Clean-Up.
R Skills Sharing: Aggregating Sensor Data and Importing to B3 Jake Zwart GLEON FP – Sunapee, NH
Wednesday, January 21, 2015MAT 146. Wednesday, January 21, 2015MAT 146.
Interaction of GIS and R GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Amy Hetherington.
Thursday, January 22, 2015MAT 146. Thursday, January 22, 2015MAT Calculate the area between the graphs of y = 2x 3 – 1 and y = x – 1 for 1 ≤ x.
PRAGMA 17 Workshop in Hanoi, Vietnam.
1 CALCULUS Even more graphing problems
Water Quality in Local Lakes and Ponds Aquatic Ecology Unit.
How to plot x-y data and put statistics analysis on GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Ari Santoso.
National Environmental Research Institute, Aarhus University, Denmark Dennis Trolle, Research Scientist Status update & Where to from here GLEON 10 in.
1 Your Career The Careers Group University of London at King’s College careers.lon.ac.uk kcl.ac.uk/careers.
Practice Slope Intercept Form:
IPlots – interactive graphics “selection” feature GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Samantha Oliver.
Lake observatories Data People 3 Networks 1.19 countries participating 2.More than 120 scientists 3.Most sites are developing.
Skills Sharing: Batch files to graph with R GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Hilary Dugan.
Skill Sharing: How to pre-process and visualize data GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Aline Jaimes.
Correlation of survey data in R with significance levels GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Kirsten Winters.
Graphing Notes. Why Graph? Graphs are great because they communicate information visually Graphs help make complicated information easy to understand.
Skills Sharing: How to Log-Log subplot with strings as labels GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Emily Kara Read.
Bar Graphs Used to compare amounts, or quantities The bars provide a visual display for a quick comparison between different categories.
Skill sharing: Combining base and ggplot2 graphics in R. GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Richard Iestyn Woolway.
Practice Slope Intercept Form:
Notes Over 2.1 Graph the numbers on a number line. Then write two inequalities that compare the two numbers and and 9 l l l.
Here is the graph of a function
חלבונים- מבנה, תפקיד והקשר ביניהם
ساختمان و تجهیزات کتابخانه
I PRO' -.._ r.. f FOLLOW I 0.
A graphing calculator is required for some problems or parts of problems 2000.
Watershed Delineations
A0 PowerPoint Poster Posters at Print Services Robinson Library, Newcastle University • • phone Introduction.
Graph 2x + 4y = 16 by finding the x and y intercepts.
Math Facts: 10s You will have 3 seconds to complete each problem.
Math Facts: 6s You will have 3 seconds to complete each problem.
÷ 5 = 29 How many 5s are there in 1? Great!
÷ 2 = 24 How many 2s are there in 4?
©2009 – Not to be sold/Free to use
Math Facts: 5s You will have 3 seconds to complete each problem.
Math Facts: 10s You will have 3 seconds to complete each problem.
Math Facts: 3s You will have 3 seconds to complete each problem.
Math Facts: 9s You will have 3 seconds to complete each problem.
Math Facts: 2s You will have 3 seconds to complete each problem.
Math Facts: 8s You will have 3 seconds to complete each problem.
GRAPHING LINEAR EQUATIONS
' · · ,.-.., '' !'",. -,..._ ·-.·-...;.· -
Line Graphs.
Presentation transcript:

Getting graphs ready for publication GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Jessica Corman

ggplot2 Pro: great for quickly visualizing data Data: Nutrient bioassay results, performed 4 x per year with phytoplankton from different depths in the lake

basic graphing in ggplot2 Library(ggplot2) plotname <- ggplot(data, aes(x = xname, y = yname) + geom_point() ggplot2 graphics work with layers

plotname + facet_grid(Depth ~ Month)

theme_set(theme_bw(16)) #set theme to black & white, increase font

Goal: No gridlines, half-open plots Using single plot fix doesnt work in multi-panel plots + theme(panel.border = theme_blank(), panel.grid.major = element_blank(), panel.grid.minor = element_blank(), axis.line = theme_segment())

Goal: No gridlines, half-open plots

No gridlines, half-open plots base2 <- ggplot(cdata2, aes(y=Chl, x=Treatment)) + ylab(ytitle) + geom_point(stat = "identity") + geom_linerange(aes(ymin=Chl-sd, ymax=Chl+sd)) + coord_flip() + theme( panel.border = theme_L_border(), panel.grid.major = element_blank(), panel.grid.minor = element_blank()) base2 + facet_grid(Depth ~ Month, margins = FALSE, labeller=label_parsed) ##dot chart with se!!

code for theme_L_border() theme_L_border <- function(colour = "black", size = 1, linetype = 1) { # use with e.g.: ggplot(...) + theme( panel.border=theme_L_border() ) +... structure( list(colour = colour, size = size, linetype = linetype), class = c("theme_L_border", "element_blank", "element") ) } element_grob.theme_L_border <- function( element, x = 0, y = 0, width = 1, height = 1, colour = NULL, size = NULL, linetype = NULL,...) { gp <- gpar(lwd = len0_null(size *.pt), col = colour, lty = linetype) element_gp <- gpar(lwd = len0_null(element$size *.pt), col = element$colour, lty = element$linetype) polylineGrob( x = c(x+width, x, x), y = c(y,y,y+height),..., default.units = "npc", gp = modifyList(element_gp, gp), ) }

code for theme_L_border() theme_L_border <- function(colour = "black", size = 1, linetype = 1) { # use with e.g.: ggplot(...) + theme( panel.border=theme_L_border() ) +... structure( list(colour = colour, size = size, linetype = linetype), class = c("theme_L_border", "element_blank", "element") ) } element_grob.theme_L_border <- function( element, x = 0, y = 0, width = 1, height = 1, colour = NULL, size = NULL, linetype = NULL,...) { gp <- gpar(lwd = len0_null(size *.pt), col = colour, lty = linetype) element_gp <- gpar(lwd = len0_null(element$size *.pt), col = element$colour, lty = element$linetype) polylineGrob( x = c(x+width, x, x), y = c(y,y,y+height),..., default.units = "npc", gp = modifyList(element_gp, gp), ) } Available with call: source(" rnc_ggplot2_border_themes_2013_01.r) And many thanks for Rudolf Cardinal and ggplot2 listserv for writing the update!!