3D plotting.

Slides:



Advertisements
Similar presentations
Appendix C- Part 2 Graphs of Second Degree Equations.
Advertisements

MAT Math. Tools II Tangent Plane and Normal Suppose the scalar field  =  ( x, y, z, t) at time t o, the level surfaces are given by  ( x, y,
Polar Coordinate System 11.3 – Polar Coordinates Used to plot and analyze equations of conics (circles, parabolas, ellipses, and hyperbolas. Another method.
TOPIC : CONE.
Double Integrals Area/Surface Area Triple Integrals.
Lecture 2eee3401 Chapter 2 Coordinate Systems 1)Cartesian (rectangular) 2)Circular cylindrical 3)Spherical 4)Others (elliptic cylindrical, conical,…) A.
Polar Coordinates (MAT 170) Sections 6.3
Lecture 14 Today Orthogonal coordinate systems 1.The Cartesian (rectangular) coordinate system 2.The cylindrical coordinate system 3.The spherical.
Vectors and the Geometry of Space 9. 2 Announcement Wednesday September 24, Test Chapter 9 (mostly )
Coordinate System VECTOR REPRESENTATION 3 PRIMARY COORDINATE SYSTEMS: RECTANGULAR CYLINDRICAL SPHERICAL Choice is based on symmetry of problem Examples:
Z x y Cylindrical Coordinates But, first, let’s go back to 2D.
Vectors: planes. The plane Normal equation of the plane.
DEPARTMENT OF MATHEMATI CS [ YEAR OF ESTABLISHMENT – 1997 ] DEPARTMENT OF MATHEMATICS, CVRCE.
1.4: Rewrite Formulas & Equations
Polar Coordinates. Common Coordinate Systems There are two common coordinate systems: Cartesian Rectangular Coordinate SystemPolar Coordinate System.
 1999 BG Mobasseri1 8/29/2015 MATLAB GRAPHICS - PART II ADVANCED PLOTTING June 4, ‘99.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
MTH 253 Calculus (Other Topics) Chapter 10 – Conic Sections and Polar Coordinates Section 10.6 – Graphing in Polar Coordinates Copyright © 2009 by Ron.
Calculus and Analytic Geometry II Cloud County Community College Spring, 2011 Instructor: Timothy L. Warkentin.
Ch. 10 Vector Integral Calculus.
Math 205: Midterm #2 Jeopardy! April 16, Jeopardy ! Definitions Partial Derivatives 1 Partial Derivatives 2 Integration
Group Combine several objects as a group Create a group: Multi-select the objects in navigator using click+Ctrl -> press down the right mouse key to select.
Section 17.5 Parameterized Surfaces
Jeopardy 203. Formulas 100 Lines 100 Planes 100 Surfaces 100 Curves 100 Formulas 101 Lines 200 Planes 200 Surfaces 200 Curves 200 Formulas 102 Lines 300.
Extending what you know…
Parametric Surfaces and their Area Part II. Parametric Surfaces – Tangent Plane The line u = u 0 is mapped to the gridline C 2 =r(u 0,v) Consider the.
Polar Coordinates and Graphing
Reflections. Reflect the shape across the x axis Graph the following coordinates, then connect the dots (2,3) (2,5) (5,5) (5,6) (7,4) (5,2)(5,3) What.
Section 1.1 Rectangular Coordinates; Graphing Utilities; Introduction to Graphing Equations.
Dr. Hugh Blanton ENTC 3331 Dr. Blanton - ENTC Orthogonal Coordinate Systems 2 Fields and Waves VECTORS and VECTOR CALCULUS.
1.3 Graphing Systems of Equations Algebra II. Cartesian Coordinate Plane x-axis Quadrant IVQuadrant III Quadrant IIQuadrant I y-axis Origin x-axis (4,
5.7 Use Figures in Three – Dimensional Space Pg.205.
Section 8-6 Vectors and Parametric Equations. Vocabulary 11. Vector Equation – Equation of a vector 12. Parametric Equation – model of movement.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 8.4 Translations and Rotations of Axes.
Chapter 8 Part 2 Sections 8-4, 8-5, & 8-6. Section 8-4  solve for y and graph in a calculator  rotating a point (use formulas)  find the angle of rotation.
Parametric Surfaces and their Area Part I
Copyright © Cengage Learning. All rights reserved. 14 Partial Derivatives.
X = 2 + t y = t t = x – 2 t = (y + 3)/2 x – 2 = y x – 4 = y + 3 y – 2x + 7 = 0 Finding the Cartesian Equation from a vector equation x = 2.
Conics Lesson 3: Ellipses Mrs. Parziale. Ellipses Equation for Ellipse: Center = (h, k) a = how far to count out horizontally 2a = length of horizontal.
Discrete Math Section 12.5 Apply vectors in three dimensions Given points A(x 1,y 1,z 1 ) and B(x 2,y 2,z 2 ) Vector = Absolute value of = √((x 2 – x 1.
The unit normal is given by which of the following?
Calculus 3 The 3-D Coordinate System. The 3D coordinate plane.
University of Utah Introduction to Electromagnetics Lecture 14: Vectors and Coordinate Systems Dr. Cynthia Furse University of Utah Department of Electrical.
Graphing in 3-D Graphing in 3-D means that we need 3 coordinates to define a point (x,y,z) These are the coordinate planes, and they divide space into.
Vector Application Problems
Lecture 19 Flux in Cartesian Coordinates.
Polar Coordinates r   Pole Polar axis.
3.1 Graphing.
Jeopardy Q $100 Q $100 Q $100 Q $100 Q $100 Q $200 Q $200 Q $200
Start Up Day 51.
rectangular coordinate system spherical coordinate system
2.1 Graphs of equations.
(x2,y2) (3,2) (x1,y1) (-4,-2).
Cartesian Coordinate System
Section 17.1 Parameterized Curves
Section 1.1 Graphs and Graphing Utilities
Chapter 12 Vectors and Geometry of Space
Clicker Question 1 What are two polar coordinates for the point whose rectangular coordinates are (3, 1)? A. (3 + 1, 0) and (-3 – 1, ) B. (3 + 1,
11.7 – Parametric Equations
Parametric and Polar Curves
Clicker Question 1 At what point (x, y) does the curve x = sin(t), y = t 3 – 24 ln(t) have a horizontal tangent ? A. (1, 2) B. (0, 2) C. (0, 8(1 – 3.
Lecture 17 Today Divergence of a vector filed
Graphing Parametric Equations:
Linear Equations and Vectors
Cylindrical and Spherical Coordinates
Chapter 10 Parametric Equations and Polar Coordinates
Space groups Start w/ 2s and 21s 222.
Rectangular Coordinates; Introduction to Graphing Equations
Copyright © Cengage Learning. All rights reserved.
The Graph of an Equation Objective: 1. Sketch graphs of equations 2. Find x- and y-intercepts of graphs of equations 3. Find equations of and sketch graphs.
Presentation transcript:

3D plotting

Recap 2D plotting plot(x,y): given sequence of x and y values, connects the dots (x(i),y(i)) Exercise: Plot a circle >>t=linspace(0,2*pi,100); >>plot(cos(t),sin(t))

Plot3: Plotting curves in 3D plot3(x,y,z): Given a sequence of x,y,z values connects the 3d dots (x(i),y(i),z(i)) Exercise: plot a cylindrical spiral. For a cylindrical spiral x=cos(t), y=sin(t), z=t >>t=linspace(0,8*pi,500); >>x=cos(t); >>y=sin(t); >>z=t; >>plot3(x,y,z,’o-’);

Exercise Plot a conical spiral. For a conical spiral x=t cos(t), y=t sin(t), z=t

surf: Plotting surfaces in 3D Load the elevation.mat from Assignment3 surf(map) plots the function map(i,j) vs j,I Connects the dots by rectangular patches (j, i, h(i,j)) (j+1, i, h(i,j+1)) (j, i+1, h(j,i+1) (j+1,i+1, h(i+1,j+1))

Plotting z(x,y) vs x,y Plot z=x^2+y^2 vs x,y [X,Y]=meshgrid(x,y) returns the cartesian product of the vectors x,y. >>x=linspace(-5,5,100); >>y=linspace(-3,3,50); >>[X,Y]=meshgrid(x,y); >>surf(X,Y,X.^2+Y.^2);

Exercise Plot the gaussian function. Its coordinates are given by z=exp(-(x^2+y^2)/2) Assume x,y lie between -5 and 5 Plot a unit sphere. Its coordinates are given by the equation x=cos(t)*cos(p), y=cos(t)*sin(p), z=sin(t) where –pi/2<= t <=pi/2 and 0<=p<=2*pi