Some Possibly Useful Graphics Functions Lunch presentation.

Slides:



Advertisements
Similar presentations
Rich Pugh Andy Nicholls Head to Head: Lattice vs ggplot2 Rich Pugh
Advertisements

Introduction to Formatting VistaPHw Charts Brought to you by: The Vista Partnership February 2007.
2D Plots 1 ENGR 1181 MATLAB 12.
Introduction to R Graphics
Excel 2007 Graphs & Charts. TYPES OF CHARTS Column Bar Pie Line.
Workshop Sarah Pendergrass, PhD MS Research Associate Center for Systems Genomics.
Plotting with ggplot2: Part 1
MATLAB’s extensive, device-independent plotting capabilities are one of its most powerful features. They make it very easy to plot any data at any time.
FIRST COURSE Excel Tutorial 4 Working with Charts and Graphics.
Customizing Graphs Base graphics options. plot() The workhorse plotting function plot(x) plots values of x in sequence or a barplot plot(x, y) produces.
Data visualization and graphic design
Graphing With Excel Presented by Frank H. Osborne, Ph. D. © 2008 ID 2950 Technology and the Young Child.
Saving a Word Document as a Web Page
General Computer Science for Engineers CISC 106 Lecture 09 James Atlas Computer and Information Sciences 9/25/2009.
Workshop Sarah Pendergrass, PhD MS Research Associate
Graphing with SULTAN Scale Units Labels Title Axes Neatness.
COMPREHENSIVE Excel Tutorial 4 Working with Charts and Graphics.
Using Excel to Plot Farrokh Alemi, Ph.D.. Objectives Given a set of data plot a control chart using Excel software.
Graphing with Excel: Graphing Made Easy Mac 2008 Version.
How to Make School Comparison Graphs in Excel Please follow the instructions as closely as possible. When you get used to using Excel for this then feel.
Baburao Kamble (Ph.D) University of Nebraska-Lincoln
ENG College of Engineering Engineering Education Innovation Center 1 2D Plots 1 in MATLAB Topics Covered: 1.Plotting basic 2-D plots The plot()
Graphing Parameters Titles X-Axis Title Y-Axis Title Legend Scales Color Gridlines library(help="graphics") Basic Chart Types The R Graphics Package LineHistogram.
An Introduction to R graphics Cody Chiuzan Division of Biostatistics and Epidemiology Computing for Research I, 2012.
V. Rouillard  Introduction to measurement and statistical analysis GRAPHICAL PRESENTATION OF EXPERIMENTAL DATA It is nearly always the case that.
Honors Physics Lab Journals Graphing. Lab Journal Entries  Number pages in consecutive order  Date all entries  Title all activities and investigations.
This is what a blank excel workbook looks like. To start there are three separate sheets on which to store data. Down the left side are the ROW labels.
1. Chapter 15 Creating Charts 3 Charting Data in Word A chart or graph presents data visually. A chart depicts numeric data in a graphical format. If.
Return to Outline Copyright © 2011 by Maribeth H. Price 3-1 Labeling and annotation.
Models. make observations and form hypothesis make predictions and perform control experiments reject original hypothesis form theory data support hypothesis.
DAY 6: MICROSOFT EXCEL – CHAPTER 3 Sravanthi Lakkimsetty September 2, 2015.
Ggplot2 A cool way for creating plots in R Maria Novosolov.

Introduction to Graphics in R 3/12/2014. First, let’s get some data Load the Duncan dataset It’s in the car package. Remember how to get it? – library(car)
Excel Graphing ENGR 1181 Class 5. Why use Excel?  Excel is a powerful spreadsheet program that can be used for: Creating graphical displays of data Performing.
EXCEL GRAPHING *Basic Graphing Steps* by A.B. -NNHS.
Thinking about Graphs The Grammar of Graphics and Stata.
Bar Chart. You can launch Gtplot from GSS to create Bar Charts and other specialty plots. Graphs → Bar Chart…
MS-Excel XP Lesson 7. Creating Charts 1.Excel for windows can produce 14 standard type and 20 custom types of graphs or charts, with many different format.
Introduction to Engineering MATLAB – 9 Plotting - 2 Agenda Formatting plots.
Types of Graphs and Graphing Rules

XY Plots. You can launch Gtplot from GSS to create XY plots, time series graphs, Piper and Stiff Diagrams, and more. Graphs → XY Plot You can set the.
Excel Part 4 Working with Charts and Graphics. XP Objectives Create an embedded chart Work with chart titles and legends Create and format a pie chart.
Graphing Review. Variables Which variable do you change? – Independent variable – X axis Which variable do you measure? – Dependent variable – Y axis.
Graphing A step by step method. Line Graphs  A line graph is a style of chart that is created by connecting a series of data points together with a line.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Lab 2 : potting to Matlab Networks.
EXCEL LESSON 12 CREATING CHARTS VOCABULARY. AXIS A line bordering the chart plot area used as a frame of reference for measurement.
 Line Graphs: are used to show something changing over time.  Bar Graphs: are used to show a comparison between two or more variables.  Pie Chart:
My Website By : Peter Problems while building website These are the problems I had to overcome while building my site. Getting pictures to be the same.
Page 1 This is page one. I’m talking about it now….
Ggplot2 Wu Shaohuan.
Using R Graphs in R.
Digital Text and Data Processing
Next Generation R tidyr, dplyr, ggplot2
How to make great graphs that make sense!
Pie Chart.
European Computer Driving Licence
Graphing.
Title Page With a Subtitle.
Graphing Notes.
Plotting a ggplot2 graph is like making a sandwich
ENGLISH LEGEND: 1. select Data.
Analyzing Imperialism Political Cartoons
Delete a Public Holiday – Holiday Calendar
Chapter 18 Finalizing a Database.
R course 6th lecture.
Graphing Skills Practice
Simulate Multiple Dice
Intro to R What is covered in the Intro-R lab: Basic Math Data Types
Presentation transcript:

Some Possibly Useful Graphics Functions Lunch presentation

GGPlot2 Hadley Wickham Grammar Of Graphics GGPlot2 Website If I see it on the GGPlot2 page it might be easier/better looking to use than using R plot function

Syntax What I’m used to: – Plot(x,y, col=whatever, main=whatever) – Legend(…) – par(mfrow=c(1,2))

Syntax What I’m used to: – Plot(x,y, col=whatever, main=whatever) ggplot(dataFrame,aes(x,y,sometimes z) + the name of the plot you want + – Legend(…) + options like labels/colors/text/lines – par(mfrow=c(x,y)) grid.newpage() pushViewport(viewport(layout = grid.layout(x, y))) viewport(layout.pos.row = x, layout.pos.col = y)

How Might it be Useful 1)Do you have your data in a data.frame? 2)Are you ok with acceding control of the details? 3)Do you anticipate summarizing your data by one or more variables in your data frame? 4)Do you see your plot or something like it on Hadley’s page?

R Plot Function

R Plot Function Again

R Barplot Function

geom_bar

Specify Factor Levels

Specify Arbitrary Factor Levels

geom_point

Remove Background Grid

Specify Colors

Change legend label

Change title and axes labels

geom_point

Facet by sample

Flip it