Basic commands using the "Insert" menu: To insert a two-dimensional (2D) graph, use: To insert a three-dimensional (3D) graph, use: Insert > Plot > 3D
|
|
- Arron Doyle
- 6 years ago
- Views:
Transcription
1 Oct 7::3 - GraphsBasics5_ForPrinting.sm Eamples of two- and three-dimensional graphics in Smath Studio B Gilberto E. Urro, October Basic commands using the "Insert" menu: To insert a two-dimensional (D) graph, use: To insert a three-dimensional (3D) graph, use: Insert > Plot > D Insert > Plot > 3D EXAMPLE A - Plotting a single function of : - Clic on point in our worsheet where ou want to set the upper left corner of graph - Clic on the "D" icon in the "Functions" palette or use the "Insert > Graph > D" menu option 3 - Tpe the function name in the placeholder below the graph. In this eample we plot the function: f() = sin() - - Thus, tpe: "sin()", then clic somewhere in the worsheet outside of the graph. - - sin EXAMPLE B - Plotting a single function of (,): - Clic on point in our worsheet where ou want to set the upper left corner of graph - Clic on the "3D" icon in the "Functions" palette or use the "Insert > Graph > 3D" menu option 3 - Tpe the function name in the placeholder below the graph. In this eample we plot the function: f() = *sin() Thus, tpe: "*sin()", then clic somewhere in the worsheet outside of the graph. sin Using icons in the "Functions" palette: Clic on the "D" or "3D" icon in the palette to insert a D or 3D graph: -> -> -> -> -> -> -> -> Also, use the "Multiple Values" icon -> -> to plot more than one function. EXAMPLE A - Plotting two functions of in D: / 3
2 - Clic on point in our worsheet where ou want to set the upper left corner of graph - Clic on the "D" icon in the "Functions" palette or use the "Insert > Graph > D" menu option 3 - Clic on the placeholder below the graph - Clic on the "Multiple values" icon, then tpe the functions to be plotted in each placeholder in the open brace Oct 7::3 - GraphsBasics5_ForPrinting.sm In this eample we plot the functions: "sin()" and "cos()", then clic somewhere in the worsheet outside of the graph sin cos EXAMPLE B - Plotting two functions of (,) in 3D: - Clic on point in our worsheet where ou want to set the upper left corner of graph - Clic on the "3D" icon in the "Functions" palette or use the "Insert > Graph > 3D" menu option 3 - Clic on the placeholder below the graph - Clic on the "Multiple values" icon, then tpe the functions to be plotted in each placeholder in the open brace In this eample we plot the functions: "*sin()" and "+", then clic somewhere in the worsheet outside of the graph. sin Adding more entries to the "Multiple values" icon: The "Multiple values" icon produces two entries b default. However, ou can insert more entries b following this procedure: / 3
3 Oct 7::3 - GraphsBasics5_ForPrinting.sm () Clic somewhere in the worsheet, then clic on the "Multiple value" icon in the "Functions" palette, to produce the "Multiple values" brace as shown. This figure shows the default case of "Multiple values," i.e., a brace with two entries. () Clic on the left-hand side of the frame of () to produce the holder in the lower right corner as shown. (3) Place the mouse over the holder until the double arrow icon shows up... () then, immediatel drag the holder down to insert a third entr in the "Multiple values" brace. (5) If needed, repeat steps () through () to add more entries to the "Multiple values" brace. EXAMPLE 3A - Plotting three functions of in D: - Clic on point in our worsheet where ou want to set the upper left corner of graph - Clic on the "D" icon in the "Functions" palette or use the "Insert > Graph > D" menu option 3 - Clic on the placeholder below the graph - Clic on the "Multiple values" icon in the "Function" palette 5 - Add one more entr to the "Multiple values" brace. In this eample we plot the functions: "sin()", "cos()", and "sin(*)"then clic somewhere in the worsheet outside of the graph. As ou add functions to plot, SMath Studio uses the following colors for the plots: sin cos sin - blue - red 3 - blac - magenta, etc. EXAMPLE 3B - Plotting three functions of (,) in 3D: 3 / 3
4 Oct 7::3 - GraphsBasics5_ForPrinting.sm - Clic on point in our worsheet where ou want to set the upper left corner of graph - Clic on the "3D" icon in the "Functions" palette or use the "Insert > Graph > 3D" menu option 3 - Clic on the placeholder below the graph - Clic on the "Multiple values" icon in the "Function" palette 5 - Add one more entr to the "Multiple values" brace. In this eample we plot the functions: "*sin()", "+", and "-"then clic somewhere in the worsheet outside of the graph. sin Icons in the "Plot" palette: -> -> -> -> -> -> -> () Rotate: Rotate a 3D graph onl () Scale:(see instructions below) (3) Move: drag graph up or down, left or right () Graph b points: show points instead of lines (5) Graph b lines: show lines (default) () Refresh: restore to original version of graph Detalles of "Scale" in a D graph: * ZOOM IN or OUT: Clic on the "Scale" icon, icon (), then clic on the graph (also for 3D plots): - ZOOM IN: Drag the mouse inwards, towards the origin, to decrease sie of aes divisions - ZOOM OUT: Drag the mouse outwards, awa from the origin, to increase sie of ais divisions * Alternativel, to ZOOM IN or OUT, clic on the "Scale" icon, clic inside the graph and use the mouse wheel (also for 3D plots): - ZOOM IN: roll mouse wheel up - ZOOM OUT: roll mouse wheel down * ZOOM IN or OUT on the -ais onl: Clic on the "Scale" icon, clic on the graph, hold the [SHIFT] e, then: - ZOOM IN X-AXIS: roll mouse wheel up - ZOOM OUT X-AXIS: roll mouse wheel down * ZOOM IN or OUT on the -ais onl: Clic on the "Scale" icon, clic on the graph, hold the [CTRL] e, then: - ZOOM IN Y-AXIS: roll mouse wheel up - ZOOM OUT Y-AXIS: roll mouse wheel down EXAMPLE A - Changing the sie of the graph window in D: Clic on the graph window, then drag one of the three blac handlers in the graph window to adjust its sie / 3
5 Oct 7::3 - GraphsBasics5_ForPrinting.sm () sin (3) sin sin For the graphs above: () Dragging the right-hand side handler to shorten the width, and the bottom handler to enlarge the heigh of the graph. () Dragging the bottom handler to reduce the height of the graph. (3) Dragging the right-bottom corner handler to reduce the sie proportionall EXAMPLE B - Changing the sie of the graph window in 3D: The procedure is ver similar to that of a D graph. sin cos sin cos sin cos EXAMPLE 5A - Moving the aes about the graph window (D): 5 / 3
6 Oct 7::3 - GraphsBasics5_ForPrinting.sm sin -- sin - Clic on the "Move" option in the "Plot" palette - Clic on the graph window and drag the mouse in the direction where ou want to move the aes. EXAMPLE 5B - Moving the aes about the graph window (3D): The procedure is ver similar to that of a D graph. cos sin cos sin Detalles of "Scale" in a D graph (repeated): / 3
7 Oct 7::3 - GraphsBasics5_ForPrinting.sm * ZOOM IN or OUT: Clic on the "Scale" icon, icon (), then clic on the graph (also for 3D plots): - ZOOM IN: Drag the mouse inwards, towards the origin, to decrease sie of aes divisions - ZOOM OUT: Drag the mouse outwards, awa from the origin, to increase sie of ais divisions * Alternativel, to ZOOM IN or OUT, clic on the "Scale" icon, clic inside the graph and use the mouse wheel (also for 3D plots): - ZOOM IN: roll mouse wheel up - ZOOM OUT: roll mouse wheel down * ZOOM IN or OUT on the -ais onl: Clic on the "Scale" icon, clic on the graph, hold the [SHIFT] e, then: - ZOOM IN X-AXIS: roll mouse wheel up - ZOOM OUT X-AXIS: roll mouse wheel down * ZOOM IN or OUT on the -ais onl: Clic on the "Scale" icon, clic on the graph, hold the [CTRL] e, then: - ZOOM IN Y-AXIS: roll mouse wheel up - ZOOM OUT Y-AXIS: roll mouse wheel down EXAMPLE A - Scaling (ooming) a D graph: <--- To oom the -ais onl: - Clic on "Scale" in the "Plot" palette - Clic on the graph window 3 - Hold down the "Shift" e - Roll the mouse wheel up or down sin To oom the -ais onl: ----> - Clic on "Scale" in the "Plot" palette - Clic on the graph window 3 - Hold down the "Control" e - Roll the mouse wheel up or down sin 7 / 3
8 Oct 7::3 - GraphsBasics5_ForPrinting.sm sin <--- You can oom both aes b ooming one ais at a time. In this case, I oomed the ais first, and then the ais. Note: Use the "Refresh" option in the "Plot" menu to recover the original version of an plot. EXAMPLE B - Scaling (ooming) a 3D graph: sin cos sin cos Eamples of other tpes of graphs in -D The following eamples show other was to produce D graphics. Data for a graph = f() can be generated b using a vector of values of, then generating a vector of values of. The two vectors are then put together into a matri, whose name is used in the D graph placeholder instead of f(). EXAMPLE 7 - Plotting a function using vectors: Vectors of and data are created using ranges, eample: n n π π, π.. π length Create vector as follows Tpe: : range - p cntl-g, p cntl-g, - p cntl-g + p cntl-g / Calculate the length of vector = n / 3
9 for.. n sin Oct 7::3 - GraphsBasics5_ForPrinting.sm Fill out vector using a for loop. Clic "for" in the "Programming" palette, then use: range, n sin Use sub-indices, e.g., [... etc. M augment, Form augmented matri M with vectors and, place M in graph as a function name:.5 < --- The graph was oomed in and the aes moved b using the following procedures: M - - To oom -ais onl: clic on "Scale" in the "Plot" palette, hold the "Control" e, and use the mouse wheel - To oom -ais onl: clic on "Scale" in the "Plot" paletted, hold the "Shift" e and use the mouse wheel 3 - To move aes, drag mouse across graph window Using points or lines for a plot:.5.5 Using the sparse data in matri M we reproduce the graph above, but then we selected the "Graph b points" option in the "Plot" palette to produce the graph shown to the left. You can clic the option "Graph b lines" option in the "Plot" palette to return to the default graph format of continuous lines M EXAMPLE - Plotting a function and a matri In this eample we plot the function = cos() and a matri M with vector data of = sin() in the range -π < < π. π π, π.. π for.. n sin n length n M augment, 9 / 3
10 Oct 7::3 - GraphsBasics5_ForPrinting.sm M cos M cos - Original graph - Zooming In in both and EXAMPLE 9 - Parametric plots in D using matrices: Parametric plots are plots of the form = (t), = (t). A parametric plot can be generated b using vectors and matrices as illustrated below. Use a fine grid for the parameter t to produce a continuous curve. π t π, π.. π 5 n length t for.. n sin 3 t cos t Define the vector of the parameter t Determine length of vector t = n Calculate vectors of = (t) and = (t) M augment, Produce matri of (,) and plot it M M Using "Plot b Lines" option in the "Plot" palette - Using "Plot b Lines" option in the "Plot" palette EXAMPLE - Polar plots produced using vectors and matrices: / 3
11 Oct 7::3 - GraphsBasics5_ForPrinting.sm Polar plots are similar to parametric plots. In polar plots the independent variable is the angle θ, and the dependent variable is the radial position r, i.e., r = f(θ). To produce the plot the (,) coordinates are calculated using = r*cos(θ) and = r*sin(θ) as illustrated below. θ n π,.. 5 length θ for r.. n π sin θ Generate vector of θ between and π Determine lenght of vector θ Generate values of r = f(θ) for.. n r cos r sin θ θ Generate coordinates: = r cos(θ) = r sin(θ) P augment, Produce matri of (,) and plot it P P Using "Plot b Lines" option in the "Plot" palette - Using "Plot b Lines" option in the "Plot" palette EXAMPLE - Parametric plot in three-dimensions - space curves Parametric equations of the form = (t), = (t), = (t), produces a space curve. To generate the graph, use a vector of values of t, and then calculate the corresponding vectors of values of,, and. Put together a matri whose columns are the,, data, and use a 3D plot. t n n,... length t Create a vector t with values of the parameter that will produce = (t), = (t), and = (t). Determine the length of vector t / 3
12 for.. n sin t cos t t Oct 7::3 - GraphsBasics5_ForPrinting.sm Generate vectors,, and using a "for" loop M augment,, Build matri M with coordinates (,,) Plot matri M in a 3D plot M EXAMPLE - Using D graphs in solving equations: In this eample we see the solution(s) for the equation: 3 5 A solution can be found b determining the intersection of the functions: 3 f g 5 Using graphics and ooming the intersection we estimate the solution to be close to = f g f g The eact solution can be found using: solve 3 5,.7 / 3
13 Oct 7::3 - GraphsBasics5_ForPrinting.sm EXAMPLE - Graphical solution for a pump-pipeline sstem (Civil Engineering Hdraulics) Solution: ========= Write out all the given data without units, but using the proper set of units for the English Sstem: D (ft) ee 5 (ft) Δ (ft) L (ft).5 ν. 5 (ft^/s) g 3. (m/s^) ΣKm.5.., i.e., ΣKm 7.5 For the pump: a.9 b 3. c 7. Using the Swamee-Jain equation.5 fsj, r for the friction factor: 5.7 log r Q ee Q L the sstem equation becomes: hp Δ ΣKm fsj, [] D π ν D D π g D The pump equation is: hp a b Q c Q [] A graphical analsis shows the solution as the intersection of the sstem and the pump curves, i.e., hp Q Δ Q π g D ΣKm ee fsj, D Q π ν D L D hp Q a b Q c Q 3 / 3
14 Oct 7::3 - GraphsBasics5_ForPrinting.sm hp hp Notice that, even though we defined hp and hp as functions of Q, when using the D plot, we need to define them as functions of. The eact solution can be found b solving the equation: hp(q)=hp(q) solve hp Q hp Q, Q,, 3. EXAMPLE - More eamples of three-dimensional graphs - surfaces: Use the option "3D" in the "Functions" palette, and enter the function f(,) in the placeholder. The result is a 3D surface, in this case, a plane. The original plot is shown above. Use the "Rotate" option in the "Plot" palette to change the surface view. / 3
15 Oct 7::3 - GraphsBasics5_ForPrinting.sm This figure uses the option "Graph b Lines" in the "Plot" palette (default). This figure uses the option "Graph b Points" in the "Plot" palette Use the "Move" option in the "Plot" palette to move the location of the origin in the graphics window. Use the "Scale" option in the "Plot" palette, clic on the graph, and drag the mouse over it to oom in or out. Note: Use the "Refresh" option in the "Plot" menu to recover the original version of an plot. EXAMPLE 5 - The following eamples use more comple 3D surfaces: 5 / 3
16 sin 5 The tpe of 3D graphs of surfaces produced b SMath Studio are referred to as wireframe plots. EXAMPLE - The following eamples show more than one surface plot together in 3D: Oct 7::3 - GraphsBasics5_ForPrinting.sm / 3
17 Oct 7::3 - GraphsBasics5_ForPrinting.sm sin sin EXAMPLE 7 - Drawing a surface and a space curve together: Use the "Multiple values" option in the "Plot" palette, and enter the equation of the surface (e.g., +) and the matri that represents the space curve (e.g., M) M EXAMPLE - Plotting space curves: t n n,.9.. length t In this eample two straight lines in 3D are produced b using linear parametric equations. Vector t is the parameter, and the coordinates of the two curves are given b (,,) and (,,). These lines are represented b the matrices P and Q, respectivel. for.. n 5 t t t for.. n 3 t t t P augment,, Q augment,, 7 / 3
18 Oct 7::3 - GraphsBasics5_ForPrinting.sm P Individual plots of curves given b matrices P and Q. Q <--- Join plot of lines given b matrices P and Q P Q Plot specifications using SMath Studio.9 - Release SMath Studio.9 - Release includes the abilit of specifiing four different tpes of smbols for the graphs, modifing the sie of the smbols, and select the color of the smbol. This is accomplished b building a matri that includes the coordinates (,), the character, its sie, and the color, in that order. * Characters: ou can select for plotting the characters: "" "*" "." "o" * Sie: given in piels, e.g., 5,,,, etc. * Colors available (figure below split for printing purposes): / 3
19 Oct 7::3 - GraphsBasics5_ForPrinting.sm You can write them in lower case lettes, as shown above, or all in upper case letters, or combinations of upper and lower case letters. For eample, ou could write in our color specification "darblue", "DARKBLUE", or "DarBlue", and the result would be the same. Additionall, ou can have spaces in the color specification which will be ignored b SMath Studio in producing the output to the graphic canvas. For eample, ou can write "Dar Blue", and it will be interpreted as "darblue". NOTE: An color combination, such as "LightRed", not defined above, will produce, b default, the color blac. EXAMPLE 9 - Plotting a single character or a character string: You can define a row vector with the properties: (,,char,sie,color) to write a single character or a string of characters, e.g., ch 5 "α" 5 "Blue" ch 5 "CEE 35 Hdraulics"5 "red" 9 / 3
20 Oct 7::3 - GraphsBasics5_ForPrinting.sm α CEE 35 Hdraulics ch - - ch EXAMPLE - Plotting a matri of characters: It is possible to produce a plot including a variet of single characters, or character strings, b creating a matri in which each row represents an individual string output, e.g., ch3 5 5 "Gilberto E. Urro" "CEE 35 - Hdraulics" "Fall Semester " "Using SMath Studio" "Utah State Universit" "Red" "Dar Blue" "Green" "Dar Green" "Blue" Gilberto E. Urro CEE 35 - Hdraulics Fall Semester ch3 Using SMath Studio Utah State Universit A program to plot single data sets with different smbols, sies, and colors The following program was made available b Prof. Radovan Omorjan in the SMath Studio Forum. The program taes vectors of values (,) and creates a plot matri for the data using a specified character (char), sie, and color. This program operates onl in SMath Studio version.9 release, and later. The epression for the program, or function, is: plotg,, char, sie, color n length plot augment,, char, sie, color for i.. n plot stac plot, augment,, char, sie, color i i plot / 3
21 Oct 7::3 - GraphsBasics5_ForPrinting.sm EXAMPLE - Plotting data (,) with function "plotg" The following graphs show the plotting of the function = sin(), with values of between and, in increments of.5, using different smbols, sies, and colors. The data is generated here:,.5.. n length n for.. n sin The plots are shown below: plot plotg,, ".", 5, "Light Green" plot plotg,, "+", 35, "Magenta" plot plot plot3 plotg,, "", 5, "Dar Blue" plot plotg,, "o",, "Violet" plot3 -.5 plot EXAMPLE - Plotting various data (,) with function "plotg" The following graphs show the plotting of the function = sin(), with values of between and, in increments of.5, using different smbols, sies, and colors. The data is generated here:,.5.. n length n / 3
22 for r Oct 7::3 - GraphsBasics5_ForPrinting.sm.. n sin sin cos 3 The individual plots of (,), (,), and (,r) are given b sy, sz, and sr: sy sz sr plotg,, ".", 5, "Blue" plotg,, "o",, "Red" plotg, r, "", 5, "Magenta" The following matrices combine plots of various data sets: MYZ stac sy, sz MZR stac sz, sr MYR stac sy, sr MYZR stac sy, sz, sr Some plots based on the matrices, and the original functions used to produce the matri data, are shown net: MYZ MZR MYR -.5 MYZR / 3
23 Oct 7::3 - GraphsBasics5_ForPrinting.sm MYZ sin - - MYZ sin sin 3 / 3
[ ] [ ] Orthogonal Transformation of Cartesian Coordinates in 2D & 3D. φ = cos 1 1/ φ = tan 1 [ 2 /1]
Orthogonal Transformation of Cartesian Coordinates in 2D & 3D A vector is specified b its coordinates, so it is defined relative to a reference frame. The same vector will have different coordinates in
More informationModeling Transformations
Modeling Transformations Michael Kazhdan (601.457/657) HB Ch. 5 FvDFH Ch. 5 Overview Ra-Tracing so far Modeling transformations Ra Tracing Image RaTrace(Camera camera, Scene scene, int width, int heigh,
More informationImage Metamorphosis By Affine Transformations
Image Metamorphosis B Affine Transformations Tim Mers and Peter Spiegel December 16, 2005 Abstract Among the man was to manipulate an image is a technique known as morphing. Image morphing is a special
More informationGraphing Calculator Graphing with the TI-86
Graphing Calculator Graphing with the TI-86 I. Introduction The TI-86 has fift kes, man of which perform multiple functions when used in combination. Each ke has a smbol printed on its face. When a ke
More informationDouble Integrals in Polar Coordinates
Double Integrals in Polar Coordinates. A flat plate is in the shape of the region in the first quadrant ling between the circles + and +. The densit of the plate at point, is + kilograms per square meter
More informationSystems of Linear Equations
Sstems of Linear Equations Gaussian Elimination Tpes of Solutions A linear equation is an equation that can be written in the form: a a a n n b The coefficients a i and the constant b can be real or comple
More informationWhat and Why Transformations?
2D transformations What and Wh Transformations? What? : The geometrical changes of an object from a current state to modified state. Changing an object s position (translation), orientation (rotation)
More informationModeling Transformations
Modeling Transformations Michael Kazhdan (601.457/657) HB Ch. 5 FvDFH Ch. 5 Announcement Assignment 2 has been posted: Due: 10/24 ASAP: Download the code and make sure it compiles» On windows: just build
More informationis a plane curve and the equations are parametric equations for the curve, with parameter t.
MATH 2412 Sections 6.3, 6.4, and 6.5 Parametric Equations and Polar Coordinates. Plane Curves and Parametric Equations Suppose t is contained in some interval I of the real numbers, and = f( t), = gt (
More informationTwo Dimensional Viewing
Two Dimensional Viewing Dr. S.M. Malaek Assistant: M. Younesi Two Dimensional Viewing Basic Interactive Programming Basic Interactive Programming User controls contents, structure, and appearance of objects
More information4. Two Dimensional Transformations
4. Two Dimensional Transformations CS362 Introduction to Computer Graphics Helena Wong, 2 In man applications, changes in orientations, sizes, and shapes are accomplished with geometric transformations
More information1. We ll look at: Types of geometrical transformation. Vector and matrix representations
Tob Howard COMP272 Computer Graphics and Image Processing 3: Transformations Tob.Howard@manchester.ac.uk Introduction We ll look at: Tpes of geometrical transformation Vector and matri representations
More informationTo Do. Demo (Projection Tutorial) Motivation. What we ve seen so far. Outline. Foundations of Computer Graphics (Fall 2012) CS 184, Lecture 5: Viewing
Foundations of Computer Graphics (Fall 0) CS 84, Lecture 5: Viewing http://inst.eecs.berkele.edu/~cs84 To Do Questions/concerns about assignment? Remember it is due Sep. Ask me or TAs re problems Motivation
More information3D Geometry and Camera Calibration
3D Geometr and Camera Calibration 3D Coordinate Sstems Right-handed vs. left-handed 2D Coordinate Sstems ais up vs. ais down Origin at center vs. corner Will often write (u, v) for image coordinates v
More informationCS F-07 Objects in 2D 1
CS420-2010F-07 Objects in 2D 1 07-0: Representing Polgons We want to represent a simple polgon Triangle, rectangle, square, etc Assume for the moment our game onl uses these simple shapes No curves for
More informationMotivation. What we ve seen so far. Demo (Projection Tutorial) Outline. Projections. Foundations of Computer Graphics
Foundations of Computer Graphics Online Lecture 5: Viewing Orthographic Projection Ravi Ramamoorthi Motivation We have seen transforms (between coord sstems) But all that is in 3D We still need to make
More informationImage Warping. Some slides from Steve Seitz
Image Warping http://www.jeffre-martin.com Some slides from Steve Seitz 5-463: Computational Photograph Aleei Efros, CMU, Fall 26 Image Warping image filtering: change range of image g() T(f()) f T f image
More information10.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 informationPARAMETRIC EQUATIONS AND POLAR COORDINATES
9 ARAMETRIC EQUATIONS AND OLAR COORDINATES So far we have described plane curves b giving as a function of f or as a function of t or b giving a relation between and that defines implicitl as a function
More informationTo Do. Motivation. Demo (Projection Tutorial) What we ve seen so far. Computer Graphics. Summary: The Whole Viewing Pipeline
Computer Graphics CSE 67 [Win 9], Lecture 5: Viewing Ravi Ramamoorthi http://viscomp.ucsd.edu/classes/cse67/wi9 To Do Questions/concerns about assignment? Remember it is due tomorrow! (Jan 6). Ask me or
More informationHigh Dimensional Rendering in OpenGL
High Dimensional Rendering in OpenGL Josh McCo December, 2003 Description of Project Adding high dimensional rendering capabilit to the OpenGL graphics programming environment is the goal of this project
More informationSTRAND J: TRANSFORMATIONS, VECTORS and MATRICES
Mathematics SKE, Strand J UNIT J Further Transformations: Tet STRND J: TRNSFORMTIONS, VETORS and MTRIES J Further Transformations Tet ontents Section J.1 Translations * J. ombined Transformations Mathematics
More informationGLOBAL EDITION. Interactive Computer Graphics. A Top-Down Approach with WebGL SEVENTH EDITION. Edward Angel Dave Shreiner
GLOBAL EDITION Interactive Computer Graphics A Top-Down Approach with WebGL SEVENTH EDITION Edward Angel Dave Shreiner This page is intentionall left blank. 4.10 Concatenation of Transformations 219 in
More informationturn counterclockwise from the positive x-axis. However, we could equally well get to this point by a 3 4 turn clockwise, giving (r, θ) = (1, 3π 2
Math 133 Polar Coordinates Stewart 10.3/I,II Points in polar coordinates. The first and greatest achievement of modern mathematics was Descartes description of geometric objects b numbers, using a sstem
More informationEditing and Transformation
Lecture 5 Editing and Transformation Modeling Model can be produced b the combination of entities that have been edited. D: circle, arc, line, ellipse 3D: primitive bodies, etrusion and revolved of a profile
More informationCS770/870 Spring 2017 Transformations
CS770/870 Spring 2017 Transformations Coordinate sstems 2D Transformations Homogeneous coordinates Matrices, vectors, points Coordinate Sstems Coordinate sstems used in graphics Screen coordinates: the
More informationReteaching Golden Ratio
Name Date Class Golden Ratio INV 11 You have investigated fractals. Now ou will investigate the golden ratio. The Golden Ratio in Line Segments The golden ratio is the irrational number 1 5. c On the line
More informationImage Warping : Computational Photography Alexei Efros, CMU, Fall Some slides from Steve Seitz
Image Warping http://www.jeffre-martin.com Some slides from Steve Seitz 5-463: Computational Photograph Aleei Efros, CMU, Fall 2 Image Transformations image filtering: change range of image g() T(f())
More informationComputer Graphics 7: Viewing in 3-D
Computer Graphics 7: Viewing in 3-D In today s lecture we are going to have a look at: Transformations in 3-D How do transformations in 3-D work? Contents 3-D homogeneous coordinates and matrix based transformations
More informationSection 9.3: Functions and their Graphs
Section 9.: Functions and their Graphs Graphs provide a wa of displaing, interpreting, and analzing data in a visual format. In man problems, we will consider two variables. Therefore, we will need to
More information3D graphics rendering pipeline (1) 3D graphics rendering pipeline (3) 3D graphics rendering pipeline (2) 8/29/11
3D graphics rendering pipeline (1) Geometr Rasteriation 3D Coordinates & Transformations Prof. Aaron Lanterman (Based on slides b Prof. Hsien-Hsin Sean Lee) School of Electrical and Computer Engineering
More informationConics, Parametric Equations, and Polar Coordinates. Copyright Cengage Learning. All rights reserved.
10 Conics, Parametric Equations, and Polar Coordinates Copyright Cengage Learning. All rights reserved. 10.5 Area and Arc Length in Polar Coordinates Copyright Cengage Learning. All rights reserved. Objectives
More informationUsing Arrays and Vectors to Make Graphs In Mathcad Charles Nippert
Using Arrays and Vectors to Make Graphs In Mathcad Charles Nippert This Quick Tour will lead you through the creation of vectors (one-dimensional arrays) and matrices (two-dimensional arrays). After that,
More informationTrigonometry 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 informationIntroduction to Homogeneous Transformations & Robot Kinematics
Introduction to Homogeneous Transformations & Robot Kinematics Jennifer Ka Rowan Universit Computer Science Department. Drawing Dimensional Frames in 2 Dimensions We will be working in -D coordinates,
More information3D Coordinates & Transformations
3D Coordinates & Transformations Prof. Aaron Lanterman (Based on slides b Prof. Hsien-Hsin Sean Lee) School of Electrical and Computer Engineering Georgia Institute of Technolog 3D graphics rendering pipeline
More informationConics, Parametric Equations, and Polar Coordinates. Copyright Cengage Learning. All rights reserved.
10 Conics, Parametric Equations, and Polar Coordinates Copyright Cengage Learning. All rights reserved. 10.5 Area and Arc Length in Polar Coordinates Copyright Cengage Learning. All rights reserved. Objectives
More informationWeek 27 Algebra 1 Assignment:
Week 7 Algebra Assignment: Da : p. 494 #- odd, -, 8- Da : pp. 496-497 #-9 odd, -6 Da : pp. 0-0 #-9 odd, -, -9 Da 4: p. 09 #-4, 7- Da : pp. - #-9 odd Notes on Assignment: Page 494: General notes for this
More informationGRAPHICS OUTPUT PRIMITIVES
CHAPTER 3 GRAPHICS OUTPUT PRIMITIVES LINE DRAWING ALGORITHMS DDA Line Algorithm Bresenham Line Algorithm Midpoint Circle Algorithm Midpoint Ellipse Algorithm CG - Chapter-3 LINE DRAWING Line drawing is
More informationPolar Coordinates
Polar Coordinates 7-7-2 Polar coordinates are an alternative to rectangular coordinates for referring to points in the plane. A point in the plane has polar coordinates r,θ). r is roughly) the distance
More informationAffine and Projective Transformations
CS 674: Intro to Computer Vision Affine and Projective Transformations Prof. Adriana Kovaska Universit of Pittsburg October 3, 26 Alignment problem We previousl discussed ow to matc features across images,
More informationHomogeneous Coordinates
COMS W4172 3D Math 2 Steven Feiner Department of Computer Science Columbia Universit New York, NY 127 www.cs.columbia.edu/graphics/courses/csw4172 Februar 1, 218 1 Homogeneous Coordinates w X W Y X W Y
More informationComputer Graphics. P04 Transformations. Aleksandra Pizurica Ghent University
Computer Graphics P4 Transformations Aleksandra Pizurica Ghent Universit Telecommunications and Information Processing Image Processing and Interpretation Group Transformations in computer graphics Goal:
More informationGraphing Equations. The Rectangular Coordinate System
3.1 Graphing Equations The Rectangular Coordinate Sstem Ordered pair two numbers associated with a point on a graph. The first number gives the horizontal location of the point. The second gives the vertical
More informationTo 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 informationMath 7 Elementary Linear Algebra PLOTS and ROTATIONS
Spring 2007 PLOTTING LINE SEGMENTS Math 7 Elementary Linear Algebra PLOTS and ROTATIONS Example 1: Suppose you wish to use MatLab to plot a line segment connecting two points in the xy-plane. Recall that
More informationCHECK Your Understanding
CHECK Your Understanding. State the domain and range of each relation. Then determine whether the relation is a function, and justif our answer.. a) e) 5(, ), (, 9), (, 7), (, 5), (, ) 5 5 f) 55. State
More informationEXPANDING THE CALCULUS HORIZON. Robotics
EXPANDING THE CALCULUS HORIZON Robotics Robin designs and sells room dividers to defra college epenses. She is soon overwhelmed with orders and decides to build a robot to spra paint her dividers. As in
More informationThink About. Unit 5 Lesson 3. Investigation. This Situation. Name: a Where do you think the origin of a coordinate system was placed in creating this
Think About This Situation Unit 5 Lesson 3 Investigation 1 Name: Eamine how the sequence of images changes from frame to frame. a Where do ou think the origin of a coordinate sstem was placed in creating
More informationTopics in Analytic Geometry Part II
Name Chapter 9 Topics in Analytic Geometry Part II Section 9.4 Parametric Equations Objective: In this lesson you learned how to evaluate sets of parametric equations for given values of the parameter
More informationUNIT 4 MODELING AND ANALYZING EXPONENTIAL FUNCTIONS Lesson 1: Creating Exponential Equations
Guided Practice Eample 1 If a pendulum swings to 9% of its previous height on each swing and starts out at a height of 6 cm, what is the equation that models this scenario? What is its graph? 1. Read the
More informationToday s class. Geometric objects and transformations. Informationsteknologi. Wednesday, November 7, 2007 Computer Graphics - Class 5 1
Toda s class Geometric objects and transformations Wednesda, November 7, 27 Computer Graphics - Class 5 Vector operations Review of vector operations needed for working in computer graphics adding two
More informationTo 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 informationCS 2770: Intro to Computer Vision. Multiple Views. Prof. Adriana Kovashka University of Pittsburgh March 14, 2017
CS 277: Intro to Computer Vision Multiple Views Prof. Adriana Kovashka Universit of Pittsburgh March 4, 27 Plan for toda Affine and projective image transformations Homographies and image mosaics Stereo
More informationMath 231E, Lecture 34. Polar Coordinates and Polar Parametric Equations
Math 231E, Lecture 34. Polar Coordinates and Polar Parametric Equations 1 Definition of polar coordinates Let us first recall the definition of Cartesian coordinates: to each point in the plane we can
More informationApplications of Differentiation
Contents 1 Applications of Differentiation 1.1 Tangents and Normals 1. Maima and Minima 14 1. The Newton-Raphson Method 8 1.4 Curvature 47 1.5 Differentiation of Vectors 54 1.6 Case Stud: Comple Impedance
More informationImage Warping. Many slides from Alyosha Efros + Steve Seitz. Photo by Sean Carroll
Image Warping Man slides from Alosha Efros + Steve Seitz Photo b Sean Carroll Morphing Blend from one object to other with a series of local transformations Image Transformations image filtering: change
More informationGraphics Output Primitives
Important Graphics Output Primitives Graphics Output Primitives in 2D polgons, circles, ellipses & other curves piel arra operations in 3D triangles & other polgons Werner Purgathofer / Computergraphik
More information20 Calculus and Structures
0 Calculus and Structures CHAPTER FUNCTIONS Calculus and Structures Copright LESSON FUNCTIONS. FUNCTIONS A function f is a relationship between an input and an output and a set of instructions as to how
More informationInteractive Computer Graphics. Warping and morphing. Warping and Morphing. Warping and Morphing. Lecture 14+15: Warping and Morphing. What is.
Interactive Computer Graphics Warping and morphing Lecture 14+15: Warping and Morphing Lecture 14: Warping and Morphing: Slide 1 Lecture 14: Warping and Morphing: Slide 2 Warping and Morphing What is Warping
More informationMATH STUDENT BOOK. 12th Grade Unit 7
MATH STUDENT BOOK 1th Grade Unit 7 Unit 7 POLAR COORDINATES MATH 107 POLAR COORDINATES INTRODUCTION 1. POLAR EQUATIONS 5 INTRODUCTION TO POLAR COORDINATES 5 POLAR EQUATIONS 1 POLAR CURVES 19 POLAR FORMS
More informationADDITIONAL MATHEMATICS
00-CE A MATH HONG KONG EXAMINATIONS AUTHORITY HONG KONG CERTIFICATE OF EDUCATION EXAMINATION 00 ADDITIONAL MATHEMATICS 8.0 am.00 am ½ hours This paper must be answered in English. Answer ALL questions
More information= = The number system. Module. Glossary Math Tools... 33
- > + > < - %. < + a = - = = b in. F - - Module The number sstem Lesson Rational and Irrational Numbers........ 8.NS. Lesson ompare and Order Numbers......... 8 8.NS., 8.NS. Lesson Estimate the Value of
More information2D transformations and homogeneous coordinates
2D transformations and homogeneous coordinates Dr Nicolas Holzschuch Universit of Cape Ton e-mail: holzschu@cs.uct.ac.za Map of the lecture Transformations in 2D: vector/matri notation eample: translation,
More informationUses of Transformations. 2D transformations Homogeneous coordinates. Transformations. Transformations. Transformations. Transformations and matrices
Uses of Transformations 2D transformations Homogeneous coordinates odeling: position and resie parts of a comple model; Viewing: define and position the virtual camera Animation: define how objects move/change
More informationFunctions. Name. Use an XY Coordinate Pegboard to graph each line. Make a table of ordered pairs for each line. y = x + 5 x y.
Lesson 1 Functions Name Use an XY Coordinate Pegboard to graph each line. Make a table of ordered pairs for each line. 1. = + = + = 2 3 = 2 3 Using an XY Coordinate Pegboard, graph the line on a coordinate
More informationEquipment Support Structures
Equipment Support Structures Overview Conventions What's New? Getting Started Setting Up Your Session Creating a Simple Structural Frame Creating Non-uniform Columns Creating Plates with Openings Bracing
More informationMatrix Representations
CONDENSED LESSON 6. Matri Representations In this lesson, ou Represent closed sstems with transition diagrams and transition matrices Use matrices to organize information Sandra works at a da-care center.
More informationEquipment Support Structures
Page 1 Equipment Support Structures Preface Using This Guide Where to Find More Information Conventions What's New? Getting Started Setting Up Your Session Creating a Simple Structural Frame Creating Non-uniform
More informationWarping & Blending AP
Warping & Blending AP Operation about AP This AP provides three major functions including Warp, Edge Blending and Black Level. If the AP is already installed, please remove previous version before installing
More informationComputer Graphics. Geometric Transformations
Computer Graphics Geometric Transformations Contents coordinate sstems scalar values, points, vectors, matrices right-handed and left-handed coordinate sstems mathematical foundations transformations mathematical
More information10 Polar Coordinates, Parametric Equations
Polar Coordinates, Parametric Equations ½¼º½ ÈÓÐ Ö ÓÓÖ Ò Ø Coordinate systems are tools that let us use algebraic methods to understand geometry While the rectangular (also called Cartesian) coordinates
More informationCS559: Computer Graphics
CS559: Computer Graphics Lecture 8: 3D Transforms Li Zhang Spring 28 Most Slides from Stephen Chenne Finish Color space Toda 3D Transforms and Coordinate sstem Reading: Shirle ch 6 RGB and HSV Green(,,)
More informationMath 26: Fall (part 1) The Unit Circle: Cosine and Sine (Evaluating Cosine and Sine, and The Pythagorean Identity)
Math : Fall 0 0. (part ) The Unit Circle: Cosine and Sine (Evaluating Cosine and Sine, and The Pthagorean Identit) Cosine and Sine Angle θ standard position, P denotes point where the terminal side of
More information9. f(x) = x f(x) = x g(x) = 2x g(x) = 5 2x. 13. h(x) = 1 3x. 14. h(x) = 2x f(x) = x x. 16.
Section 4.2 Absolute Value 367 4.2 Eercises For each of the functions in Eercises 1-8, as in Eamples 7 and 8 in the narrative, mark the critical value on a number line, then mark the sign of the epression
More information12 Polar Coordinates, Parametric Equations
54 Chapter Polar Coordinates, Parametric Equations Polar Coordinates, Parametric Equations Just as we describe curves in the plane using equations involving x and y, so can we describe curves using equations
More informationDeveloped in Consultation with Tennessee Educators
Developed in Consultation with Tennessee Educators Table of Contents Letter to the Student........................................ Test-Taking Checklist........................................ Tennessee
More information3D Design with 123D Design
3D Design with 123D Design Introduction: 3D Design involves thinking and creating in 3 dimensions. x, y and z axis Working with 123D Design 123D Design is a 3D design software package from Autodesk. A
More informationSTRAND I: Geometry and Trigonometry. UNIT 37 Further Transformations: Student Text Contents. Section Reflections. 37.
MEP Jamaica: STRN I UNIT 7 Further Transformations: Student Tet ontents STRN I: Geometr and Trigonometr Unit 7 Further Transformations Student Tet ontents Section 7. Reflections 7. Rotations 7. Translations
More information7-5 Parametric Equations
3. Sketch the curve given by each pair of parametric equations over the given interval. Make a table of values for 6 t 6. t x y 6 19 28 5 16.5 17 4 14 8 3 11.5 1 2 9 4 1 6.5 7 0 4 8 1 1.5 7 2 1 4 3 3.5
More information3-Dimensional Viewing
CHAPTER 6 3-Dimensional Vieing Vieing and projection Objects in orld coordinates are projected on to the vie plane, hich is defined perpendicular to the vieing direction along the v -ais. The to main tpes
More informationIntroduction to Homogeneous Transformations & Robot Kinematics
Introduction to Homogeneous Transformations & Robot Kinematics Jennifer Ka, Rowan Universit Computer Science Department Januar 25. Drawing Dimensional Frames in 2 Dimensions We will be working in -D coordinates,
More informationGeometric Image Transformations and Related Topics
Geometric Image Transformations and Related Topics 9 th Lesson on Image Processing Martina Mudrová 2004 Topics What will be the topic of the following lesson? Geometric image transformations Interpolation
More informationUsing Characteristics of a Quadratic Function to Describe Its Graph. The graphs of quadratic functions can be described using key characteristics:
Chapter Summar Ke Terms standard form of a quadratic function (.1) factored form of a quadratic function (.1) verte form of a quadratic function (.1) concavit of a parabola (.1) reference points (.) transformation
More informationMEM380 Applied Autonomous Robots Winter Robot Kinematics
MEM38 Applied Autonomous obots Winter obot Kinematics Coordinate Transformations Motivation Ultimatel, we are interested in the motion of the robot with respect to a global or inertial navigation frame
More informationWireframe Editing. DesignShop V9 Quick Reference Guide
Wireframe Editing DesignShop V9 Quick Reference Guide w w w. m e l c o u n i v e r s i t y. c o m DesignShop Wireframe Symbols Icons Straight Point (Non-Selected points display in blue) (Selected Points
More information2D and 3D Transformations AUI Course Denbigh Starkey
2D and 3D Transformations AUI Course Denbigh Starkey. Introduction 2 2. 2D transformations using Cartesian coordinates 3 2. Translation 3 2.2 Rotation 4 2.3 Scaling 6 3. Introduction to homogeneous coordinates
More informationCreating T-Spline Forms
1 / 28 Goals 1. Create a T-Spline Primitive Form 2. Create a T-Spline Revolve Form 3. Create a T-Spline Sweep Form 4. Create a T-Spline Loft Form 2 / 28 Instructions Step 1: Go to the Sculpt workspace
More informationUnit 5 Lesson 2 Investigation 1
Name: Investigation 1 Modeling Rigid Transformations CPMP-Tools Computer graphics enable designers to model two- and three-dimensional figures and to also easil manipulate those figures. For eample, interior
More informationChapter 10 Homework: Parametric Equations and Polar Coordinates
Chapter 1 Homework: Parametric Equations and Polar Coordinates Name Homework 1.2 1. Consider the parametric equations x = t and y = 3 t. a. Construct a table of values for t =, 1, 2, 3, and 4 b. Plot the
More informationCh. 7.4, 7.6, 7.7: Complex Numbers, Polar Coordinates, ParametricFall equations / 17
Ch. 7.4, 7.6, 7.7: Complex Numbers, Polar Coordinates, Parametric equations Johns Hopkins University Fall 2014 Ch. 7.4, 7.6, 7.7: Complex Numbers, Polar Coordinates, ParametricFall equations 2014 1 / 17
More informationEdexcel Core Mathematics 4 Integration
Edecel Core Mathematics 4 Integration Edited by: K V Kumaran kumarmaths.weebly.com Integration It might appear to be a bit obvious but you must remember all of your C work on differentiation if you are
More informationPARAMETRIC 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 information3D Computer Vision II. Reminder Projective Geometry, Transformations. Nassir Navab. October 27, 2009
3D Computer Vision II Reminder Projective Geometr, Transformations Nassir Navab based on a course given at UNC b Marc Pollefes & the book Multiple View Geometr b Hartle & Zisserman October 27, 29 2D Transformations
More informationUser Interface Guide
User Interface Guide 1 Contents Overview... 3 Tabmenu... 4 Design modes... 4 Tool groups... 5 Design function groups... 5 Main menu... 6 Toolbars... 7 Drawing area... 9 Status bar... 11 Coordinate box...
More informationSTRAND G: Relations, Functions and Graphs
UNIT G Using Graphs to Solve Equations: Tet STRAND G: Relations, Functions and Graphs G Using Graphs to Solve Equations Tet Contents * * Section G. Solution of Simultaneous Equations b Graphs G. Graphs
More informationPolar Coordinates. Chapter 10: Parametric Equations and Polar coordinates, Section 10.3: Polar coordinates 27 / 45
: Given any point P = (x, y) on the plane r stands for the distance from the origin (0, 0). θ stands for the angle from positive x-axis to OP. Polar coordinate: (r, θ) Chapter 10: Parametric Equations
More informationInkscape Interface. commands panes snap. tool. menus. controls. controls. toolbox. canvas. page. palette
Inkscape Interface menus box canvas page palette commands panes snap Toolbox Interface Inkscape Selectionmenus Edit Paths by Nodes box Rectangle Align and Distribute pane Fill and Stroke panecommands panes
More informationAnswers 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 informationTransformations. which the book introduces in this chapter. If you shift the graph of y 1 x to the left 2 units and up 3 units, the
CHAPTER 8 Transformations Content Summar In Chapter 8, students continue their work with functions, especiall nonlinear functions, through further stud of function graphs. In particular, the consider three
More information