but both the "what" and the "how" can get quite complicated.

Similar documents
form are graphed in Cartesian coordinates, and are graphed in Cartesian coordinates.

The Calcplot Package for Maple V

Introduction to the workbook and spreadsheet

Parametric Curves and Polar Coordinates

Parametric Curves and Polar Coordinates

Maple: Plotting graphs

HOUR 12. Adding a Chart

Chapter 10 Working with Graphs and Charts

Lesson 1 Parametric Modeling Fundamentals

Chapter 2 Surfer Tutorial

PASS Sample Size Software

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

Maple for Math Majors. 5. Graphs of functions and equations

S206E Lecture 3, 5/15/2017, Rhino 2D drawing an overview

Chapter 10. Creating 3D Objects Delmar, Cengage Learning

AutoCAD 2009 Configuration for MUS

Calculus III. 1 Getting started - the basics

Parametric Modeling. With. Autodesk Inventor. Randy H. Shih. Oregon Institute of Technology SDC PUBLICATIONS

Contour Diagrams. restart:with(plots): setoptions3d(axes=normal,labels=["x","y","z"],orientation=[20,70]);

Excel Spreadsheets and Graphs

Graded Assignment 2 Maple plots

KaleidaGraph Quick Start Guide

Excel Rest of Us! AQuick Reference. for the. Find the facts you need fast. FREE daily etips at dummies.com

An Introduction to Autodesk Inventor 2010 and AutoCAD Randy H. Shih SDC PUBLICATIONS. Schroff Development Corporation

A Brief Introduction to Mathematica

Microsoft Excel. Charts

Cylinders and Quadric Surfaces A cylinder is a three dimensional shape that is determined by

BioFuel Graphing instructions using Microsoft Excel 2003 (Microsoft Excel 2007 instructions start on page mei-7)

An Introduction to Autodesk Inventor 2012 and AutoCAD Randy H. Shih SDC PUBLICATIONS. Schroff Development Corporation

Spiky Sphere. Finding the Sphere tool. Your first sphere

Maple for Math Majors. 6. How Maple draws graphs

Introduction to Mathematica and Graphing in 3-Space

Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives. Partial Derivatives

solidthinking Environment...1 Modeling Views...5 Console...13 Selecting Objects...15 Working Modes...19 World Browser...25 Construction Tree...

Parametric Modeling with. Autodesk Fusion 360. First Edition. Randy H. Shih SDC. Better Textbooks. Lower Prices.

= 3 + (5*4) + (1/2)*(4/2)^2.

Chapter 24. Creating Surfaces for Displaying and Reporting Data

Lab 2B Parametrizing Surfaces Math 2374 University of Minnesota Questions to:

CECOS University Department of Electrical Engineering. Wave Propagation and Antennas LAB # 1

Digital City: Introduction to 3D modeling

Working with the Dope Sheet Editor to speed up animation and reverse time.

1 Maple Introduction. 1.1 Getting Started. 1.2 Maple Commands

VIEWZ 1.3 USER MANUAL

An Introduction to Autodesk Inventor 2013 and AutoCAD

On the Web sun.com/aboutsun/comm_invest STAROFFICE 8 DRAW

Using Excel to produce graphs - a quick introduction:

Quadric Surfaces. Six basic types of quadric surfaces: ellipsoid. cone. elliptic paraboloid. hyperboloid of one sheet. hyperboloid of two sheets

To 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:

Chapter 2 Parametric Modeling Fundamentals

Parametric Modeling. with. Autodesk Inventor Randy H. Shih. Oregon Institute of Technology SDC

Geometric Entities for Pilot3D. Copyright 2001 by New Wave Systems, Inc. All Rights Reserved

LAB # 2 3D Modeling, Properties Commands & Attributes

11.5 Cylinders and cylindrical coordinates

Maple Quick Start. Maplesoft, a division of Waterloo Maple Inc.

ISETL Graphics Guide. Using the Graphics Facility

AutoCAD 2009 Tutorial

Parametric Curves, Polar Plots and 2D Graphics

Derivative Surface White Paper

Learning Autodesk Inventor 2014

Autodesk Inventor 2018

To learn how to use Focus in Pix:

Choose the file menu, and select Open. Input to be typed at the Maple prompt. Output from Maple. An important tip.

Tangent Planes and Linear Approximations

3D Surface Plots with Groups

Here is the data collected.

FUNCTIONS AND MODELS

Section 4.4: Parabolas

Tutorial 4: Texture Mapping Techniques

1. Manipulating Charts

Lagrange Multipliers

Texas School for the Blind and Visually Impaired. Using The Drawing Tools in Microsoft Word 2007 for Tactile Graphic Production

for the Analysis of Flow Cytometry Listmode Data Files

Introduction to Matlab

BoA Tools Page 1 / 31

AGENDA: Using Gizmos to Modify 3D Models. AutoCAD 3 LECTURE NOTES: CLASS 08. Using Gizmos to Modify 3D Models

Let s Make a Front Panel using FrontCAD

This lesson introduces Blender, covering the tools and concepts necessary to set up a minimal scene in virtual 3D space.

Tools for Design. with VEX Robot Kit: Randy H. Shih Oregon Institute of Technology SDC PUBLICATIONS

To graph the point (r, θ), simply go out r units along the initial ray, then rotate through the angle θ. The point (1, 5π 6

12.6 Cylinders and Quadric Surfaces

Parametric Modeling with UGS NX 4

Planes Intersecting Cones: Static Hypertext Version

Spira Mirabilis. Finding the Spiral tool. Your first spiral

The Wireframe Update Buttons. The Frontface and Backface Buttons. The Project Designer 265

Hopalong Fractals. Linear complex. Quadratic complex

Tools for Design. A practical guide to 2D Drawing, Sketching, 3D Parametric Modeling and Finite Element Analysis

INTRODUCTION TO CHEMDRAW ULTRA 12.0

Draw Guide. Chapter 3 Working with Objects and Object Points

Scientific Graphing in Excel 2007

Spring 2011 Workshop ESSENTIALS OF 3D MODELING IN RHINOCEROS February 10 th 2011 S.R. Crown Hall Lower Core Computer Lab

The Mathcad Workspace 7

TABLE OF CONTENTS INTRODUCTION... 2 OPENING SCREEN BEGIN ANALYSIS... 4 Start a New File or Open a Previously Saved File... 4

Tangents. In this tutorial we are going to take a look at how tangents can affect an animation.

We begin this section with a question. What do the roots of a polynomial have to do with its graph?

Copyright (C) 2001 Roland DG Corporation

Step 1: Create A New Photoshop Document

Advances in MicroStation 3D

Animated Cartoons by Computer Using Ellipsoids

Introduction to Simulink

Chapter 5 Managing Graphic Objects

Transcription:

plot3d Maple's plot3d command is used for drawing graphs of surfaces in three-dimensional space. The syntax and usage of the command is very similar to the plot command (which plots curves in the two-dimensional plane). As with the plot command, the basic syntax is plot3d(what,how); but both the "what" and the "how" can get quite complicated. To plot the graph of z as a function of x and y, you can use the most basic form of the plot3d command. For example, to get a plot of (the elliptic paraboloid) > z:=3*x^+y^; you can use a statement like: z := 3 x + y > plot3d(z, x=-..,y=-..); This is the plot as it is first produced. There are several things to notice. First, in the plot3d statement, the domains of both x and y must be specified. Many other

things can be specified, and we will discuss this below. The next thing to notice is that the plot is produced without axes (and in peculiar colors if you have a color monitor). But there are several things you can do to manipulate the appearance of the plot without typing any statements. You start by clicking on the plot itself -- this makes a square appear around the plot and you can use the handles on the square to resize the plot. There are two ways to manipulate the plot after that: The first way is to use the buttons that appear near the top of the Maple window when you click on the plot -- The theta and phi buttons can be used to change the vantage point from which the plot is viewed, the next seven buttons provide different styles for the plot (these are explained more below), the next four give options for drawing axes, the : button forces the scales of the three axes to be the same (sometimes useful, sometimes not), and finally the "R" button will redraw the plot using whatever options you have changed or selected. The second way is to click the RIGHT mouse button on the plot. This will display a menu from which you can choose "Style", "Axes", "Color", and/or "Projection" for the plot. See below for descriptions of this. Changing the point of view : Viewing surfaces in space is different from viewing curves in the plane -- it depends where you look at the surface from (or how you turn the surface to look at it). If you click and drag with the left mouse button anywhere on the picture of the surface, the surface will disappear and be replaced by a cube. If you hold down the mouse button and move the mouse, you will see the cube rotate in response. Then you can click the right mouse button and select "Redraw" from the menu, or click on the "R" button on the plot command bar, so that the surface will be redrawn from the resulting point of view. It takes some practice to get things just right, but after some experimenting, you will be able to produce nice surface plots. Changing the plot style : There are several ways the plot can look -- you make a

selection among several styles from the options menu or the command bar. The styles that are most useful are:. Wireframe (6th of the seven buttons) -- these don't look the best, but Maple produces them the fastest, because it doesn't have to worry about which points are behind which others. This is useful when you are trying to find just the right angle from which to view the surface. Then you can change to a different style that looks better.. Patch (with gridlines -- the first of the seven buttons) -- Plots with this option look best in color and in black and white. Its drawback is that it takes longer to produce. 3. Hidden line removal (th of the seven) -- Just as good as patch on black and white terminals (and in print), and doesn't take quite as long. This is the default plotting style.. Contour (and patch and contour -- 5th and 3rd of the seven choices respectively) -- shows the level curves of the surface. This can be VERY useful for identifying critical points. Here is that same surface with its contours drawn: Adding axes: With the "axes" option (or the next group of four buttons), you can

add axes to the plot -- three styles, boxed, framed, and "normal" (i.e., the usual way one draws three-dimensional axes on paper) are available. It is interesting that the "normal" style is probably the least useful. Here is that plot again, with boxed axes: 6 8 6 - - y x - - Notice that the axes are labeled (the third axis can also be labeled, we show how to do this below). Using color: The "XYZ" color style that is the default is pretty, but in some ways not so useful. A useful alternative is "Z" coloring, which colors points redder the higher they are (in z) and purpler the lower they are. An interesting way to make colored contour plots is to use Z coloring, patch and contour style, boxed axes, and to view the plot from directly "above" -- this produces a useful contour map of the function under study. Here is such a picture for our elliptic paraboloid (this uses Z-grayscale coloring because it's black and white):

- - y - - x Changing the scale: We'll only discuss one of the options under the "perspective" menu -- the choice between "constrained" and "unconstrained" scaling. Unconstrained scaling is the default - in it, the axes are scaled differently so that the picture fills the plot window. For example, note above that the scale on the z-axis is profoundly different from that on the x and y axes. In "constrained" scaling, the axes are given the same scale. This can be helpful sometimes, although at other times it produces ludicrously tall skinny plots or short fat ones. You can experiment and get the idea. ----- SOME VARIATIONS: As with the two-dimensional plot command, it is possible to draw more than one surface on the same picture by enclosing the list of functions to be plotted in braces, as follows: > plot3d({z, x*y},x=-.., y=-..);

6 86 - - - - y In plot3d the range of the third (z) axis must be specified using the view option as follows: > plot3d(z,x=-..,y=-..,view=-..,axes=boxed); x - - 8 6 - - y x - - Finally (as shown a little bit in the preceding statement), you can specify many of the options available in the menus (as discussed above) in the plot3d statement (the one that can be most useful is the style=wireframe option, to get a fast first plot -- this can be overridden afterward using the menus): > plot3d(z,x=-..,y=-..,style=wireframe,axes=boxed);

6 8 6 - - y x - - To see what other possibilities exist, you can look at the help screen for the plot3d command. Most of the common errors that occur when using plot3d are similar to those for plot, so we will not repeat them here (yes, you can get "empty plot" messages here, too!). ------- COMBINING PLOTS WITH display3d You can exert somewhat more control over how plots are produced using the display3d command. Its use is similar to the display command, so our description here will be fairly brief. As with display, display3d must be loaded into memory as follows: > with(plots,display3d); [ display3d ] To use this command, you need to have one or more "plot structures" around -- these are 3D plots that have been assigned to variables (in statements that end with COLONs rather than semi-colons!). Here is an example where we plot a surface and its tangent plane at a point:

> z:=3*x^+y^-x*y; z := 3 x + y x y We'll calculate the tangent plane at the point where x= and y=. We'll need the values of z, and the partial derivatives of z there: > subs(x=,y=,z); subs(x=,y=,diff(z,x)); subs(x=,y=,diff(z,y)); 3 5 So the equation of the tangent plane is: > tp:=3+5*(x-)+*(y-); tp := 3 + 5 x + y Now, we make the "plot structures" for z and for tp -- we'll use different plot styles so that the tangent plane is "transparent": > zplot:=plot3d(z,x=-..,y=-..,style=patch): > tpplot:=plot3d(tp,x=-..,y=-..,style=wireframe): Now we can use display3d to display the two plots together: > display3d({zplot,tpplot}); 5 5-5 - y.5.5 x -.5 -

Notice that a lot of the vertical (z) range is taken up with an extraneous part of the tangent plane. It is in situations like this when it is useful to exert some control in display3d -- for example, we can restrict the dimensions of the axes using the " view " option (just as in D displays): > display3d({zplot,tpplot},view=[-..,-..,-..]); 8 6 - y.5.5 x -.5 - This is a somewhat more useful view of the same graphs, since the picture is more concentrated around the point of tangency.