CSCD 409 Scientific Programming. Module 6: Plotting (Chpt 5)

Size: px
Start display at page:

Download "CSCD 409 Scientific Programming. Module 6: Plotting (Chpt 5)"

Transcription

1 CSCD 409 Scientific Programming Module 6: Plotting (Chpt 5) , Prentice Hall, Paul Schimpf All rights reserved. No portion of this presentation may be reproduced, in whole or in part, in any form whatsoever, without the express permission of the author. Students enrolled in this class are hereby granted permission to reproduce this presentation for personal use only. XY Plots You can use any variable names

2 Nice things to add see also the axis command Multiple Plots MATLAB overwrites the figure window every time you request a new plot To open a new figure window use the figure function for example: % switch to figure 2 if exists, otherwise create >> figure(2) % create and switch to a new figure >> figure hold on freezes the current plot, so that an additional plot can be overlaid When you use this approach the additional line is also drawn in blue the default drawing color

3 Multiple Plots The hold on command freezes the plot The second line is also drawn in blue, on top of the original plot To unfreeze the plot use the "hold off" command Multiple Plots w/ Single Command Each set of ordered pairs will produce a new line, in a different color

4 Plotting a Vector or Matrix If you just pass a vector, Matlab plots the values versus the index number If you pass a matrix, Matlab plots each column vs. the row number of the entries Multiple Plot Variations If you want to create multiple plots, all with the same x value you can Use alternating sets of ordered pairs plot(x,y1,x,y2,x,y3,x,y4) Or group the y values into a matrix z=[y1,y2,y3,y4] plot(x,z)

5 Plotting a matrix peaks(100) creates 100 Gaussian functions (at various scalings and translations) each with 100 samples, in a 100 x 100 matrix because there are 100 columns, we get 100 plots Line, Color and Mark Style Can specify: line styles line color mark styles >> Help plot for a list of available styles In this example: the style string is: ':ok' : dotted line o circle marks k black color

6 Style Choices Line, Mark and Color Options Line Type Indicator Point Type Indicator Color Indicator solid - point. blue b dotted : circle o green g dash-dot -. x-mark x red r dashed -- plus + cyan c star * magenta m square s yellow y diamond d black k triangle down triangle up v ^ triangle left < triangle right > pentagram hexagram p h Multiple Plots can specify the parameters for each plot after the ordered pair that defines each plot

7 Axis scaling MATLAB automatically scales the plot to completely fill the graph use the axis command to change that axis([xmin,xmax,ymin,ymax]) see also: axis equal, axis square Legends, Titles, Axis Labels You will generally want a title and axis labels Matlab let's you move these annotations around interactively Octave currently does not Octave / GnuPlot gives (x,y) readings of the cursor location but Octave / Qt does not

8 Improving your labels You can use Greek letters by putting a backslash (\) before the name of the letter title( \alpha \beta \gamma ), creates: αβγ To create a superscript use ^, with curly brackets if necessary: title( x^35 ) gives: x 3 5 title( x^{35} ) gives: x 35 use _ for subscript title( x_{35} ) gives: x 35 subplot(2,2,1) Divide the window into a 2x2 grid of plots, and make the first subplot current 2 columns 2 rows

9 Subplot Example Other Types of 2-D Plots Polar Plots Logarithmic Plots Bar Graphs Pie Charts Histograms X-Y graphs with 2 y axes Function Plots

10 Polar Plots Doesn't support multiple argument pairs so you'll have to use "hold on" to superimpose multiple plots Logarithmic Plots A logarithmic scale (base 10) is convenient when a variable ranges over many orders of magnitude and you want to plot the entire range without compressing the smaller values. data varies exponentially plot uses a linear scale on both axes semilogy uses a log 10 scale on the y axis semilogx uses a log 10 scale on the x axis loglog use a log 10 scale on both axes

11 Logarithmic Plots linear linear/log y=x log/linear log/log note the slope of this line What would x 3 look like? what would 5x look like? Bar Graphs and Pie Charts bar(x) vertical bar graph barh(x) horizontal bar graph bar3(x) 3-D vertical bar graph bar3h(x) 3-D horizontal bar graph pie(x) pie chart pie3(x) 3-D pie chart

12 Histograms A histogram is a plot showing the distribution of a set of values X-Y Graphs with Two Y Axes Sometimes it is useful to overlay two x-y plots onto the same figure However, if the order of magnitude of the y values are quite different, it may be difficult to see the behavior of both plots because of scale differences For example:

13 Plotting with two scales plotyy allows you to use two scales Function Plots Function plots allow you to use a function as input to a plot command, instead of a set of ordered pairs of x-y values fplot('sin(x)',[-2*pi,2*pi]) function input as a string range of the independent variable in this case x the function name can be an m-file that takes one argument

14 3D Line Plots These plots require a set of triples (x-y-z values) as input try comet3 here (broken in Octave) Matlab 3D coordinate systems follow the righthand rule Mesh Plots The x and y coordinates are the matrix index numbers often this is NOT what you want displayed care to hazard a guess how I got this? (hint: 1 line of code)

15 Using mesh with 3 variables If you have values of x and y that correspond to the z values, you can show those in the plot instead of the index numbers from the z matrix Can you explain these entries? Surf plots Similar to mesh plots syntax is the same

16 Contour Plots similar input syntax as mesh and surf plots A More Interesting Example We'll compute z as a function of (x,y) 2 2 ( x y ) z xe We could process vectors of x and y input values in a set of nested loops, computing one value of z for each possible (x,y) pair, but that would not take advantage of the matrix manipulation efficiencies of Matlab What we want to do is something as simple as: Z = X.* exp( (X.^2 + Y.^2)) ; In order to compute a 2D grid of Z values using a single algebraic expression, both X and Y have to be 2D grids of the same size Use the meshgrid function to create the x and y input grids: x = [-2 : 0.2 : 2] ; y = [-2 : 0.2 : 2] ; [X, Y] = meshgrid(x,y) ;

17 Meshgrid X(x,y) = x i.e., y is ignored so f(x) = f(x), but over a 2D grid Y(x,y) = y i.e., x is ignored so f(y) = f(y) but over a 2D grid Back to the Example

18 Pseudo Color Plots Similar to contour plots Parametric Plots In a parametric plot, the two plotting coordinates (say x and y) are each functions of a third variable In other words, the two plotting coordinates are actually dependent on a third independent variable Here is an example where x and y are both functions of t: % 100 equally spaced points between 0 and 2*pi t = linspace(0, 2*pi, 100) ; % calculate x and y coords as function of t x = cos(t) ; y = sin(t) ; plot(x,y) ; axis equal ; % Make the scaling the same on both axes

19 Adjusting plots from the menu bar Notice you can add labels, legends, a title and other annotations You can edit axis properties, fonts used, and colormaps You can zoom and rotate the view You can copy the figure to the clipboard You can save to a file Octave has print, copy & save, plus a few style options on the system menu, and you can rotate w/ the mouse

Making 2D Plots in Matlab

Making 2D Plots in Matlab Making 2D Plots in Matlab Gerald W. Recktenwald Department of Mechanical Engineering Portland State University gerry@pdx.edu ME 350: Plotting with Matlab Overview Plotting in Matlab Plotting (x, y) data

More information

Plotting. Aaron S. Donahue. Department of Civil and Environmental Engineering and Earth Sciences University of Notre Dame January 28, 2013 CE20140

Plotting. Aaron S. Donahue. Department of Civil and Environmental Engineering and Earth Sciences University of Notre Dame January 28, 2013 CE20140 Plotting Aaron S. Donahue Department of Civil and Environmental Engineering and Earth Sciences University of Notre Dame January 28, 2013 CE20140 A. S. Donahue (University of Notre Dame) Lecture 4 1 / 15

More information

MATLAB 2-D Plotting. Matlab has many useful plotting options available! We ll review some of them today.

MATLAB 2-D Plotting. Matlab has many useful plotting options available! We ll review some of them today. Class15 MATLAB 2-D Plotting Matlab has many useful plotting options available! We ll review some of them today. help graph2d will display a list of relevant plotting functions. Plot Command Plot command

More information

Computer Programming ECIV 2303 Chapter 5 Two-Dimensional Plots Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering

Computer Programming ECIV 2303 Chapter 5 Two-Dimensional Plots Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering Computer Programming ECIV 2303 Chapter 5 Two-Dimensional Plots Instructor: Dr. Talal Skaik Islamic University of Gaza Faculty of Engineering 1 Introduction Plots are a very useful tool for presenting information.

More information

Plotting in MATLAB. Trevor Spiteri

Plotting in MATLAB. Trevor Spiteri Functions and Special trevor.spiteri@um.edu.mt http://staff.um.edu.mt/trevor.spiteri Department of Communications and Computer Engineering Faculty of Information and Communication Technology University

More information

Plots Publication Format Figures Multiple. 2D Plots. K. Cooper 1. 1 Department of Mathematics. Washington State University.

Plots Publication Format Figures Multiple. 2D Plots. K. Cooper 1. 1 Department of Mathematics. Washington State University. 2D Plots K. 1 1 Department of Mathematics 2015 Matplotlib The most used plotting API in Python is Matplotlib. Mimics Matlab s plotting capabilities Not identical plot() takes a variable number of arguments...

More information

Chapter 5 Advanced Plotting

Chapter 5 Advanced Plotting PowerPoint to accompany Introduction to MATLAB for Engineers, Third Edition Chapter 5 Advanced Plotting Copyright 2010. The McGraw-Hill Companies, Inc. This work is only for non-profit use by instructors

More information

INTRODUCTION TO MATLAB by. Introduction to Matlab

INTRODUCTION TO MATLAB by. Introduction to Matlab INTRODUCTION TO MATLAB by Mohamed Hussein Lecture 5 Introduction to Matlab More on XY Plotting Other Types of Plotting 3D Plot (XYZ Plotting) More on XY Plotting Other XY plotting commands are axis ([xmin

More information

MATLAB: Plots. The plot(x,y) command

MATLAB: Plots. The plot(x,y) command MATLAB: Plots In this tutorial, the reader will learn about obtaining graphical output. Creating a proper engineering plot is not an easy task. It takes lots of practice, because the engineer is trying

More information

Two-dimensional Plots

Two-dimensional Plots Two-dimensional Plots ELEC 206 Prof. Siripong Potisuk 1 The Plot Command The simplest command for 2-D plotting Syntax: >> plot(x,y) The arguments x and y are vectors (1-D arrays) which must be of the same

More information

Worksheet 5. Matlab Graphics

Worksheet 5. Matlab Graphics Worksheet 5. Matlab Graphics Two dimesional graphics Simple plots can be made like this x=[1.5 2.2 3.1 4.6 5.7 6.3 9.4]; y=[2.3 3.9 4.3 7.2 4.5 6.1 1.1]; plot(x,y) plot can take an additional string argument

More information

Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999

Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999 Attia, John Okyere. Plotting Commands. Electronics and Circuit Analysis using MATLAB. Ed. John Okyere Attia Boca Raton: CRC Press LLC, 1999 1999 by CRC PRESS LLC CHAPTER TWO PLOTTING COMMANDS 2.1 GRAPH

More information

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes.

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes. Chapter 940 Introduction This section describes the options that are available for the appearance of a scatter plot. A set of all these options can be stored as a template file which can be retrieved later.

More information

Applied Linear Algebra in Geoscience Using MATLAB

Applied Linear Algebra in Geoscience Using MATLAB Applied Linear Algebra in Geoscience Using MATLAB Plot (2D) plot(x,y, -mo, LineWidth,2, markersize,12, MarkerEdgeColor, g, markerfacecolor, y ) Plot (2D) Plot of a Function As an example, the plot command

More information

Chapter 5 Advanced Plotting and Model Building

Chapter 5 Advanced Plotting and Model Building PowerPoint to accompany Introduction to MATLAB 7 for Engineers Chapter 5 Advanced Plotting and Model Building Copyright 2005. The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

More information

Contents. An introduction to MATLAB for new and advanced users

Contents. An introduction to MATLAB for new and advanced users An introduction to MATLAB for new and advanced users (Using Two-Dimensional Plots) Contents Getting Started Creating Arrays Mathematical Operations with Arrays Using Script Files and Managing Data Two-Dimensional

More information

MATLAB - Lecture # 5

MATLAB - Lecture # 5 MATLAB - Lecture # 5 Two Dimensional Plots / Chapter 5 Topics Covered: 1. Plotting basic 2-D plots. The plot command. The fplot command. Plotting multiple graphs in the same plot. MAKING X-Y PLOTS 105

More information

Outline. 1 File access. 2 Plotting Data. 3 Annotating Plots. 4 Many Data - one Figure. 5 Saving your Figure. 6 Misc. 7 Examples

Outline. 1 File access. 2 Plotting Data. 3 Annotating Plots. 4 Many Data - one Figure. 5 Saving your Figure. 6 Misc. 7 Examples Outline 9 / 15 1 File access 2 Plotting Data 3 Annotating Plots 4 Many Data - one Figure 5 Saving your Figure 6 Misc 7 Examples plot 2D plotting 1. Define x-vector 2. Define y-vector 3. plot(x,y) >> x

More information

MATHEMATICAL FUNCTIONS AND GRAPHS

MATHEMATICAL FUNCTIONS AND GRAPHS 1 MATHEMATICAL FUNCTIONS AND GRAPHS Objectives Learn how to enter formulae and create and edit graphs. Familiarize yourself with three classes of functions: linear, exponential, and power. Explore effects

More information

Excel Lab 2: Plots of Data Sets

Excel Lab 2: Plots of Data Sets Excel Lab 2: Plots of Data Sets Excel makes it very easy for the scientist to visualize a data set. In this assignment, we learn how to produce various plots of data sets. Open a new Excel workbook, and

More information

Two-Dimensional Plots

Two-Dimensional Plots Chapter 5 Two-Dimensional Plots Plots are a very useful tool for presenting information. This is true in any field, but especially in science and engineering where MATLAB is mostly used. MATLAB has many

More information

Excel Tool: Plots of Data Sets

Excel Tool: Plots of Data Sets Excel Tool: Plots of Data Sets Excel makes it very easy for the scientist to visualize a data set. In this assignment, we learn how to produce various plots of data sets. Open a new Excel workbook, and

More information

Computer Programming: 2D Plots. Asst. Prof. Dr. Yalçın İşler Izmir Katip Celebi University

Computer Programming: 2D Plots. Asst. Prof. Dr. Yalçın İşler Izmir Katip Celebi University Computer Programming: 2D Plots Asst. Prof. Dr. Yalçın İşler Izmir Katip Celebi University Outline Plot Fplot Multiple Plots Formatting Plot Logarithmic Plots Errorbar Plots Special plots: Bar, Stairs,

More information

Week 2: Plotting in Matlab APPM 2460

Week 2: Plotting in Matlab APPM 2460 Week 2: Plotting in Matlab APPM 2460 1 Introduction Matlab is great at crunching numbers, and one of the fundamental ways that we understand the output of this number-crunching is through visualization,

More information

Lab #2 First Order RC Circuits Week of 27 January 2015

Lab #2 First Order RC Circuits Week of 27 January 2015 ECE214: Electrical Circuits Laboratory Lab #2 First Order RC Circuits Week of 27 January 2015 1 Introduction In this lab you will investigate the magnitude and phase shift that occurs in an RC circuit

More information

Sensors and Scatterplots Activity Excel Worksheet

Sensors and Scatterplots Activity Excel Worksheet Name: Date: Sensors and Scatterplots Activity Excel Worksheet Directions Using our class datasheets, we will analyze additional scatterplots, using Microsoft Excel to make those plots. To get started,

More information

PASS Sample Size Software

PASS Sample Size Software Chapter 945 Introduction This section describes the options that are available for the appearance of a histogram. A set of all these options can be stored as a template file which can be retrieved later.

More information

Creating Nice 2D-Diagrams

Creating Nice 2D-Diagrams UseCase.0046 Creating Nice 2D-Diagrams Keywords: 2D view, z=f(x,y), axis, axes, bitmap, mesh, contour, plot, font size, color lookup table, presentation Description This use case demonstrates how to configure

More information

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert

Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert Drawing Bode Plots (The Last Bode Plot You Will Ever Make) Charles Nippert This set of notes describes how to prepare a Bode plot using Mathcad. Follow these instructions to draw Bode plot for any transfer

More information

Data Analysis in MATLAB Lab 1: The speed limit of the nervous system (comparative conduction velocity)

Data Analysis in MATLAB Lab 1: The speed limit of the nervous system (comparative conduction velocity) Data Analysis in MATLAB Lab 1: The speed limit of the nervous system (comparative conduction velocity) Importing Data into MATLAB Change your Current Folder to the folder where your data is located. Import

More information

Lab I - Direction fields and solution curves

Lab I - Direction fields and solution curves Lab I - Direction fields and solution curves Richard S. Laugesen September 1, 2009 We consider differential equations having the form In other words, Example 1. a. b. = y, y = f(x, y), = y2 2x + 5. that

More information

Lab 4 Projectile Motion

Lab 4 Projectile Motion b Lab 4 Projectile Motion What You Need To Know: x x v v v o ox ox v v ox at 1 t at a x FIGURE 1 Linear Motion Equations The Physics So far in lab you ve dealt with an object moving horizontally or an

More information

Level Curves in Matlab

Level Curves in Matlab College of the Redwoods Mathematics Department Multivariable Calculus Level Curves in Matlab David Arnold Directory Table of Contents. Begin Article. Copyright c 999 darnold@northcoast.com Last Revision

More information

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph Step 1: Set up the variables AB Design Use the top cells to label the variables that will be displayed on the X and Y axes of the graph Step 1: Set up the variables X axis for AB Design Enter X axis label

More information

Brief Introduction to Vision and Images

Brief Introduction to Vision and Images Brief Introduction to Vision and Images Charles S. Tritt, Ph.D. January 24, 2012 Version 1.1 Structure of the Retina There is only one kind of rod. Rods are very sensitive and used mainly in dim light.

More information

Data Analysis Part 1: Excel, Log-log, & Semi-log plots

Data Analysis Part 1: Excel, Log-log, & Semi-log plots Data Analysis Part 1: Excel, Log-log, & Semi-log plots Why Excel is useful Excel is a powerful tool used across engineering fields. Organizing data Multiple types: date, text, numbers, currency, etc Sorting

More information

GeoGebra. Before we begin. Dynamic Mathematics for Schools

GeoGebra. Before we begin. Dynamic Mathematics for Schools Before we begin Start your favorite internet browser If is not installed: Go to www.geogebra.org Click WebStart (third item down in the menu on the left) Click the WebStart button ( is installed automatically)

More information

Spreadsheets 3: Charts and Graphs

Spreadsheets 3: Charts and Graphs Spreadsheets 3: Charts and Graphs Name: Main: When you have finished this handout, you should have the following skills: Setting up data correctly Labeling axes, legend, scale, title Editing symbols, colors,

More information

How to define Graph in HDSME

How to define Graph in HDSME How to define Graph in HDSME HDSME provides several chart/graph options to let you analyze your business in a visual format (2D and 3D). A chart/graph can display a summary of sales, profit, or current

More information

Appendix C Transporting Figures

Appendix C Transporting Figures Appendix C Transporting Figures Overview: Almost every laboratory report needs figures of some sort. These may be needed to describe an experimental apparatus, the schematic of a system to be tested, graphs

More information

NCSS Statistical Software

NCSS Statistical Software Chapter 147 Introduction A mosaic plot is a graphical display of the cell frequencies of a contingency table in which the area of boxes of the plot are proportional to the cell frequencies of the contingency

More information

Excel Manual X Axis Scale Start At Graph

Excel Manual X Axis Scale Start At Graph Excel Manual X Axis Scale Start At 0 2010 Graph But when I plot them by XY chart in Excel (2003), it looks like a rectangle, even if I havesame for both X, and Y axes, and I can see the X and Y data maximum

More information

Page 21 GRAPHING OBJECTIVES:

Page 21 GRAPHING OBJECTIVES: Page 21 GRAPHING OBJECTIVES: 1. To learn how to present data in graphical form manually (paper-and-pencil) and using computer software. 2. To learn how to interpret graphical data by, a. determining the

More information

CHM 152 Lab 1: Plotting with Excel updated: May 2011

CHM 152 Lab 1: Plotting with Excel updated: May 2011 CHM 152 Lab 1: Plotting with Excel updated: May 2011 Introduction In this course, many of our labs will involve plotting data. While many students are nerds already quite proficient at using Excel to plot

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing Lab 1: FFT, Spectral Leakage, Zero Padding Moslem Amiri, Václav Přenosil Embedded Systems Laboratory Faculty of Informatics, Masaryk University Brno, Czech Republic amiri@mail.muni.cz

More information

Class #16: Experiment Matlab and Data Analysis

Class #16: Experiment Matlab and Data Analysis Class #16: Experiment Matlab and Data Analysis Purpose: The objective of this experiment is to add to our Matlab skill set so that data can be easily plotted and analyzed with simple tools. Background:

More information

Extrema Tutorial. Customizing Graph Presentation. Cohen et al. NP_A395(1983) Oset et al. NP_A454(1986) Rockmore PR_C27(1983) This work

Extrema Tutorial. Customizing Graph Presentation. Cohen et al. NP_A395(1983) Oset et al. NP_A454(1986) Rockmore PR_C27(1983) This work Extrema Tutorial Customizing Graph Presentation 16 O( 10 4 π +,π - π + ) Cohen et al. NP_A395(1983) Oset et al. NP_A454(1986) Rockmore PR_C27(1983) This work 10 3 10 2 10 1 180 200 220 240 260 280 300

More information

GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB

GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB GE U111 HTT&TL, Lab 1: The Speed of Sound in Air, Acoustic Distance Measurement & Basic Concepts in MATLAB Contents 1 Preview: Programming & Experiments Goals 2 2 Homework Assignment 3 3 Measuring The

More information

Graphics. Chapter 3: Matlab graphics. Objectives. Types of plots

Graphics. Chapter 3: Matlab graphics. Objectives. Types of plots Graphics Chapter 3: Matlab graphics Objectives When you complete this chapter you will be able to use Matlab to: Create line plots, similar to an oscilloscope display Create multiple line plots in the

More information

Engineering Fundamentals and Problem Solving, 6e

Engineering Fundamentals and Problem Solving, 6e Engineering Fundamentals and Problem Solving, 6e Chapter 5 Representation of Technical Information Chapter Objectives 1. Recognize the importance of collecting, recording, plotting, and interpreting technical

More information

Appendix 3 - Using A Spreadsheet for Data Analysis

Appendix 3 - Using A Spreadsheet for Data Analysis 105 Linear Regression - an Overview Appendix 3 - Using A Spreadsheet for Data Analysis Scientists often choose to seek linear relationships, because they are easiest to understand and to analyze. But,

More information

Actual testimonials from people that have used the survival guide:

Actual testimonials from people that have used the survival guide: Algebra 1A Unit: Coordinate Plane Assignment Sheet Name: Period: # 1.) Page 206 #1 6 2.) Page 206 #10 26 all 3.) Worksheet (SIF/Standard) 4.) Worksheet (SIF/Standard) 5.) Worksheet (SIF/Standard) 6.) Worksheet

More information

Introduction to MATLAB 7 for Engineers. Add for Chapter 2 Advanced Plotting and Model Building

Introduction to MATLAB 7 for Engineers. Add for Chapter 2 Advanced Plotting and Model Building Introduction to MATLAB 7 for Engineers Add for Chapter 2 Advanced Plotting and Model Building Nomenclature for a typical xy plot. The following MATLAB session plots y 0 4 1 8x for 0 x 52, where y represents

More information

A graph is an effective way to show a trend in data or relating two variables in an experiment.

A graph is an effective way to show a trend in data or relating two variables in an experiment. Chem 111-Packet GRAPHING A graph is an effective way to show a trend in data or relating two variables in an experiment. Consider the following data for exercises #1 and 2 given below. Temperature, ºC

More information

Why Should We Care? Everyone uses plotting But most people ignore or are unaware of simple principles Default plotting tools are not always the best

Why Should We Care? Everyone uses plotting But most people ignore or are unaware of simple principles Default plotting tools are not always the best Elementary Plots Why Should We Care? Everyone uses plotting But most people ignore or are unaware of simple principles Default plotting tools are not always the best More importantly, it is easy to lie

More information

hp calculators HP 50g Working with Polar Plots Plotting on the HP 50g The 2D/3D (PLOT SETUP) Form The Y= Form The WIN Form Examples of polar plots

hp calculators HP 50g Working with Polar Plots Plotting on the HP 50g The 2D/3D (PLOT SETUP) Form The Y= Form The WIN Form Examples of polar plots Plotting on the HP 50g The 2D/3D (PLOT SETUP) Form The Y= Form The WIN Form Examples of polar plots Plotting on the HP 50g The HP 50g calculator provides a host of plots to allow the user to visualize

More information

Creo Revolve Tutorial

Creo Revolve Tutorial Creo Revolve Tutorial Setup 1. Open Creo Parametric Note: Refer back to the Creo Extrude Tutorial for references and screen shots of the Creo layout 2. Set Working Directory a. From the Model Tree navigate

More information

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation

ECE4902 Lab 5 Simulation. Simulation. Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation ECE4902 Lab 5 Simulation Simulation Export data for use in other software tools (e.g. MATLAB or excel) to compare measured data with simulation Be sure to have your lab data available from Lab 5, Common

More information

Chapter 2. The Excel functions, Excel Analysis ToolPak Add-ins or Excel PHStat2 Add-ins needed to create frequency distributions are:

Chapter 2. The Excel functions, Excel Analysis ToolPak Add-ins or Excel PHStat2 Add-ins needed to create frequency distributions are: I. Organizing Data in Tables II. Describing Data by Graphs Chapter 2 I. Tables: 1. Frequency Distribution (Nominal or Ordinal) 2. Grouped Frequency Distribution (Interval or Ratio data) 3. Joint Frequency

More information

Laboratory 2: Graphing

Laboratory 2: Graphing Purpose It is often said that a picture is worth 1,000 words, or for scientists we might rephrase it to say that a graph is worth 1,000 words. Graphs are most often used to express data in a clear, concise

More information

Module 1C: Adding Dovetail Seams to Curved Edges on A Flat Sheet-Metal Piece

Module 1C: Adding Dovetail Seams to Curved Edges on A Flat Sheet-Metal Piece 1 Module 1C: Adding Dovetail Seams to Curved Edges on A Flat Sheet-Metal Piece In this Module, we will explore the method of adding dovetail seams to curved edges such as the circumferential edge of a

More information

Lab 4 Projectile Motion

Lab 4 Projectile Motion b Lab 4 Projectile Motion Physics 211 Lab What You Need To Know: 1 x = x o + voxt + at o ox 2 at v = vox + at at 2 2 v 2 = vox 2 + 2aΔx ox FIGURE 1 Linear FIGURE Motion Linear Equations Motion Equations

More information

Matlab for CS6320 Beginners

Matlab for CS6320 Beginners Matlab for CS6320 Beginners Basics: Starting Matlab o CADE Lab remote access o Student version on your own computer Change the Current Folder to the directory where your programs, images, etc. will be

More information

The version 2.0 of Solve Elec allow you to study circuits in direct current.

The version 2.0 of Solve Elec allow you to study circuits in direct current. Introduction Fonctionalities With Solve Elec you can : - draw a circuit - modify the properties of circuit components - define quantities related to the circuit by theirs formulas - see the circuit solution

More information

Software Tools for NICMOS

Software Tools for NICMOS 1997 HST Calibration Workshop Space Telescope Science Institute, 1997 S. Casertano, et al., eds. Software Tools for NICMOS E.Stobie,D.Lytle,A.Ferro,I.Barg Steward Observatory NICMOS Project, University

More information

Experiment G: Introduction to Graphical Representation of Data & the Use of Excel

Experiment G: Introduction to Graphical Representation of Data & the Use of Excel Experiment G: Introduction to Graphical Representation of Data & the Use of Excel Scientists answer posed questions by performing experiments which provide information about a given problem. After collecting

More information

DSP First. Laboratory Exercise #2. Introduction to Complex Exponentials

DSP First. Laboratory Exercise #2. Introduction to Complex Exponentials DSP First Laboratory Exercise #2 Introduction to Complex Exponentials The goal of this laboratory is gain familiarity with complex numbers and their use in representing sinusoidal signals as complex exponentials.

More information

Graphing Guidelines. Controlled variables refers to all the things that remain the same during the entire experiment.

Graphing Guidelines. Controlled variables refers to all the things that remain the same during the entire experiment. Graphing Graphing Guidelines Graphs must be neatly drawn using a straight edge and pencil. Use the x-axis for the manipulated variable and the y-axis for the responding variable. Manipulated Variable AKA

More information

Using Graphing Skills

Using Graphing Skills Name Class Date Laboratory Skills 8 Using Graphing Skills Time required: 30 minutes Introduction Recorded data can be plotted on a graph. A graph is a pictorial representation of information recorded in

More information

Purpose. Charts and graphs. create a visual representation of the data. make the spreadsheet information easier to understand.

Purpose. Charts and graphs. create a visual representation of the data. make the spreadsheet information easier to understand. Purpose Charts and graphs are used in business to communicate and clarify spreadsheet information. convert spreadsheet information into a format that can be quickly and easily analyzed. make the spreadsheet

More information

Signal Processing First Lab 02: Introduction to Complex Exponentials Direction Finding. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt }

Signal Processing First Lab 02: Introduction to Complex Exponentials Direction Finding. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt } Signal Processing First Lab 02: Introduction to Complex Exponentials Direction Finding Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over

More information

Graphing with Excel. Data Table

Graphing with Excel. Data Table Graphing with Excel Copyright L. S. Quimby There are many spreadsheet programs and graphing programs that you can use to produce very nice graphs for your laboratory reports and homework papers, but Excel

More information

AgilEye Manual Version 2.0 February 28, 2007

AgilEye Manual Version 2.0 February 28, 2007 AgilEye Manual Version 2.0 February 28, 2007 1717 Louisiana NE Suite 202 Albuquerque, NM 87110 (505) 268-4742 support@agiloptics.com 2 (505) 268-4742 v. 2.0 February 07, 2007 3 Introduction AgilEye Wavefront

More information

Princeton ELE 201, Spring 2014 Laboratory No. 2 Shazam

Princeton ELE 201, Spring 2014 Laboratory No. 2 Shazam Princeton ELE 201, Spring 2014 Laboratory No. 2 Shazam 1 Background In this lab we will begin to code a Shazam-like program to identify a short clip of music using a database of songs. The basic procedure

More information

Appendix III Graphs in the Introductory Physics Laboratory

Appendix III Graphs in the Introductory Physics Laboratory Appendix III Graphs in the Introductory Physics Laboratory 1. Introduction One of the purposes of the introductory physics laboratory is to train the student in the presentation and analysis of experimental

More information

How to Make a Run Chart in Excel

How to Make a Run Chart in Excel How to Make a Run Chart in Excel While there are some statistical programs that you can use to make a run chart, it is simple to make in Excel, using Excel s built-in chart functions. The following are

More information

Complex Numbers in Electronics

Complex Numbers in Electronics P5 Computing, Extra Practice After Session 1 Complex Numbers in Electronics You would expect the square root of negative numbers, known as complex numbers, to be only of interest to pure mathematicians.

More information

Excel 2003: Discos. 1. Open Excel. 2. Create Choose a new worksheet and save the file to your area calling it: Disco.xls

Excel 2003: Discos. 1. Open Excel. 2. Create Choose a new worksheet and save the file to your area calling it: Disco.xls Excel 2003: Discos 1. Open Excel 2. Create Choose a new worksheet and save the file to your area calling it: Disco.xls 3. Enter the following data into your spreadsheet: 4. Make the headings bold. Centre

More information

LTSpice Basic Tutorial

LTSpice Basic Tutorial Index: I. Opening LTSpice II. Drawing the circuit A. Making Sure You Have a GND B. Getting the Parts C. Placing the Parts D. Connecting the Circuit E. Changing the Name of the Part F. Changing the Value

More information

Reference Manual SPECTRUM. Signal Processing for Experimental Chemistry Teaching and Research / University of Maryland

Reference Manual SPECTRUM. Signal Processing for Experimental Chemistry Teaching and Research / University of Maryland Reference Manual SPECTRUM Signal Processing for Experimental Chemistry Teaching and Research / University of Maryland Version 1.1, Dec, 1990. 1988, 1989 T. C. O Haver The File Menu New Generates synthetic

More information

Introduction to Matplotlib

Introduction to Matplotlib Lab 5 Introduction to Matplotlib Lab Objective: Matplotlib is the most commonly-used data visualization library in Python. Being able to visualize data helps to determine patterns, to communicate results,

More information

(A) Based on the second-order FRF provided, determine appropriate values for ω n, ζ, and K. ω n =500 rad/s; ζ=0.1; K=0.

(A) Based on the second-order FRF provided, determine appropriate values for ω n, ζ, and K. ω n =500 rad/s; ζ=0.1; K=0. ME35 Homework # Due: 1/1/1 Problem #1 (3%) A co-worker brings you an accelerometer spec sheet with the following frequency response function (FRF):. s G accelerometer = [volt +.1 jω.1 ω m ] (A) Based on

More information

Appendix C: Graphing. How do I plot data and uncertainties? Another technique that makes data analysis easier is to record all your data in a table.

Appendix C: Graphing. How do I plot data and uncertainties? Another technique that makes data analysis easier is to record all your data in a table. Appendix C: Graphing One of the most powerful tools used for data presentation and analysis is the graph. Used properly, graphs are an important guide to understanding the results of an experiment. They

More information

Welcome to Corel DESIGNER, a comprehensive vector-based package for technical graphic users and technical illustrators.

Welcome to Corel DESIGNER, a comprehensive vector-based package for technical graphic users and technical illustrators. Workspace tour Welcome to Corel DESIGNER, a comprehensive vector-based package for technical graphic users and technical illustrators. This tutorial will help you become familiar with the terminology and

More information

A Visual Display. A graph is a visual display of information or data. This is a graph that shows a girl walking her dog. Communicating with Graphs

A Visual Display. A graph is a visual display of information or data. This is a graph that shows a girl walking her dog. Communicating with Graphs A Visual Display A graph is a visual display of information or data. This is a graph that shows a girl walking her dog. A Visual Display The horizontal axis, or the x-axis, measures time. Time is the independent

More information

2 a Shade one more square to make a pattern with just one line of symmetry.

2 a Shade one more square to make a pattern with just one line of symmetry. GM2 End-of-unit Test Rotate the shape 80 about point P. P 2 a Shade one more square to make a pattern with just one line of symmetry. b Shade one more square to make a pattern with rotational symmetry

More information

TO PLOT OR NOT TO PLOT?

TO PLOT OR NOT TO PLOT? Graphic Examples This document provides examples of a number of graphs that might be used in understanding or presenting data. Comments with each example are intended to help you understand why the data

More information

Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt }

Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath. x(t) = A cos(ωt + φ) = Re{Ae jφ e jωt } Signal Processing First Lab 02: Introduction to Complex Exponentials Multipath Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises

More information

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill Engineering 3821 Fall 2003 Pspice TUTORIAL 1 Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill 2 INTRODUCTION The PSpice program is a member of the SPICE (Simulation Program with Integrated Circuit

More information

Introduction to Simulink Assignment Companion Document

Introduction to Simulink Assignment Companion Document Introduction to Simulink Assignment Companion Document Implementing a DSB-SC AM Modulator in Simulink The purpose of this exercise is to explore SIMULINK by implementing a DSB-SC AM modulator. DSB-SC AM

More information

Chapter 6: TVA MR and Cardiac Function

Chapter 6: TVA MR and Cardiac Function Chapter 6 Cardiac MR Introduction Chapter 6: TVA MR and Cardiac Function The Time-Volume Analysis (TVA) optional module calculates time-dependent behavior of volumes in multi-phase studies from MR. An

More information

Tutorial 2: Setting up the Drawing Environment

Tutorial 2: Setting up the Drawing Environment Drawing size With AutoCAD all drawings are done to FULL SCALE. The drawing limits will depend on the size of the items being drawn. For example if our drawing is the plan of a floor 23.8m X 15m then we

More information

Comparing Across Categories Part of a Series of Tutorials on using Google Sheets to work with data for making charts in Venngage

Comparing Across Categories Part of a Series of Tutorials on using Google Sheets to work with data for making charts in Venngage Comparing Across Categories Part of a Series of Tutorials on using Google Sheets to work with data for making charts in Venngage These materials are based upon work supported by the National Science Foundation

More information

Using Graphing Skills

Using Graphing Skills Name Class Date Laboratory Skills 8 Using Graphing Skills Introduction Recorded data can be plotted on a graph. A graph is a pictorial representation of information recorded in a data table. It is used

More information

A A B B C C D D. NC Math 2: Transformations Investigation

A A B B C C D D. NC Math 2: Transformations Investigation NC Math 2: Transformations Investigation Name # For this investigation, you will work with a partner. You and your partner should take turns practicing the rotations with the stencil. You and your partner

More information

Why Should We Care? More importantly, it is easy to lie or deceive people with bad plots

Why Should We Care? More importantly, it is easy to lie or deceive people with bad plots Elementary Plots Why Should We Care? Everyone uses plotting But most people ignore or are unaware of simple principles Default plotting tools (or default settings) are not always the best More importantly,

More information

Alibre Design Tutorial: Loft, Extrude, & Revolve Cut Loft-Tube-1

Alibre Design Tutorial: Loft, Extrude, & Revolve Cut Loft-Tube-1 Alibre Design Tutorial: Loft, Extrude, & Revolve Cut Loft-Tube-1 Part Tutorial Exercise 5: Loft-Tube-1 [Complete] In this Exercise, We will set System Parameters first, then part options. Then, in sketch

More information

Lab P-3: Introduction to Complex Exponentials Direction Finding. zvect( [ 1+j, j, 3-4*j, exp(j*pi), exp(2j*pi/3) ] )

Lab P-3: Introduction to Complex Exponentials Direction Finding. zvect( [ 1+j, j, 3-4*j, exp(j*pi), exp(2j*pi/3) ] ) DSP First, 2e Signal Processing First Lab P-3: Introduction to Complex Exponentials Direction Finding Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment

More information

1 Running the Program

1 Running the Program GNUbik Copyright c 1998,2003 John Darrington 2004 John Darrington, Dale Mellor Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission

More information

Using Figures - The Basics

Using Figures - The Basics Using Figures - The Basics by David Caprette, Rice University OVERVIEW To be useful, the results of a scientific investigation or technical project must be communicated to others in the form of an oral

More information