Adept Scientific - English
The world's best software for research, science and engineering.
flag arrow
clearclear
 

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKusdedksvnofi
Home
Products
Training
Consultancy
 Buy Online
Downloads
Education
Support
My Adept
International |  About Us |  Contact Us |  Press Room |  Jobs


The Next Steps

• Ask us a question
• Maple Product Tour
• Buy Maple Now
• View Maple Pricing
• Find out about Online Training
• Download a Brochure
• Request a Brochure
• Download a Demo
• Request a Demo
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 11 Professional
Maple 11 Academic
Maple 11 Student Use
Recorded Online Seminars
FREE Training Resources


MapleNet
Maple T.A.
MapleConnect
BlockImporter for Simulink
BlockBuilder for Simulink
Maple Toolboxes
Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

View Maple 10 in Action
Product Comparison Chart

Latest Information

New Features: Professional
New Features: Academic
The Maple Reporter
The Maple Reporter Online
Numerical Algorithms Group
(NAG)


Service & Support

Maple 10 Training Videos
MaplePrimes, blogs, forums
Elite Maintenance Program
Application Centre
Powertools
Maple User Group (MUG)
Join the Maple User Group
(MUG)

Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] Re: graphing parametric equations in 3d

Search email archive for  

[MUG] Re: graphing parametric equations in 3d
Author: Maple User Group    Posted: Wed, 27 Nov 2002 09:41:37 -0500

>> From: Maple User Group "maple_gr"

| >> From: Han Wesseling "H.Wesseling"
| i'm having a problem graphing the following parametric equations in 3
| d:
| p1:=((1+cos(16*t))*cos(t));
| p2:=((1+cos(16*t))*sin(t));
| p3:=1+cos(16t*t);
|
| i'm probably using the wrong command(usage)
|
| plot3d([p1,p2,p3], t=-Pi..Pi);


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Fri, 22 Nov 2002 16:30:43 -0700 (MST)
From: Matthias Kawski "kawski"
To: "maple-list"
Subject: graphing parametric equations in 3d


Han:

plot3d is for plotting 2-dimensional surfaces, using 2 parameters.
You have only a single parameter, and the image is a 1-dimensional
curve. To plot this use

with(plots):
spacecurve([p1,p2,p3],t=-Pi..Pi);

Matthias
**********************************************************
Matthias Kawski http://math.asu.edu/~kawski
Dept. of Mathematics and Statistics "kawski"
Arizona State University office: (480) 965 3376
Tempe, Arizona 85287-1804 home: (480) 893 0107
**********************************************************




-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Fri, 22 Nov 2002 16:03:17 -0800 (PST)
From: Robert Israel "israel"
To: "maple-list"
Subject: graphing parametric equations in 3d


plot3d is for surfaces. You have a curve. Try spacecurve in
the plots package.

Robert Israel "israel"
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2

-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Fri, 22 Nov 2002 17:41:16 -0800 (PST)
From: John Kurtzke "kurtzke"
To: "maple-list"
Subject: graphing parametric equations in 3d

Han,
Two issues:
1. You have one too many left parentheses at the start of p1 & p2, but
that might just be a transcription error.

2. spacecurve[p1, p2, p3], t=-Pi..Pi); should work. However, if you
really want to use plot3d, you can -- Maple just wants limits on two
parameters. "But I'm only using one" you say. Well, introduce a dummy
prameter. So you can do:
plot3d([p1, p2, p3], t=-Pi..Pi, s=0..1); will work

john kurtzke

--
John F. Kurtzke, C.S.C.
Department of Mathematics
278 Buckley Center
University of Portland
Portland, OR 97203
503-943-7377
"kurtzke"


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Sat, 23 Nov 2002 10:17:25 +0100
To: "maple-list"
From: Jean Garrigues "Jean.Garrigues"
Subject: graphing parametric equations in 3d

use plots[spacecurve] to plot space curves :
plots[spacecurve]([p1,p2,p3], t=-Pi..Pi);



++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Jean GARRIGUES, ESM2, IMT, Technopole de Chateau-Gombert
13451 Marseille Cedex 13 FRANCE
Tel: +33 (0)4 91 05 46 72 Fax: +33 (0)4 91 05 45 98
"mailto:Jean.Garrigues"
http://esm2.imt-mrs.fr/gar/index.html
++++++++++++++++++++++++++++++++++++++++++++++++++++++++


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Sat, 23 Nov 2002 18:12:55 -0500 (EST)
From: Carl Devore "devore"
To: "maple-list"
Subject: graphing parametric equations in 3d

plots[spacecurve]([p1,p2,p3], t= -Pi..Pi);


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

From: "Thomas Richard" "t.richard"
To: "maple-list"
Subject: AW: graphing parametric equations in 3d
Date: Mon, 25 Nov 2002 10:09:06 +0100

I guess the command you're looking for is spacecurve:

plots[spacecurve]([p1,p2,p3], t=-Pi..Pi);

--
Mit freundlichen Gruessen / best regards
Thomas Richard Tel.: +49-241-40008-52, Fax: -13
Maple Support "mailto:maple.support"
Scientific Computers GmbH <http://www.scientific.de>


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

From: "Symancyk, Daniel" "dfsymancyk"
To: "''"
Subject: graphing parametric equations in 3d
Date: Mon, 25 Nov 2002 10:37:59 -0500



You can use the spacecurve command that is part of the plots package.

> plots[spacecurve]([p1,p2,p3,t=-Pi..Pi]);


Dan Symancyk
Department of Mathematics
Anne Arundel Community College
Arnold, MD 21012



-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

From: "Dr Francis J. Wright" "F.J.Wright"
To: "H.Wesseling"
Subject: graphing parametric equations in 3d
Date: Mon, 25 Nov 2002 16:28:44 -0000

plot3d is only for plotting SURFACES. To plot a curve in 3D, as you are
trying to do, you need to use plots[spacecurve] instead of plot3d. You
might need to increase the number of plotting points to get a smooth plot.
Also, there is an error of some kind in the value assigned to p3; either too
many t's or a missing *.

Francis


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Mon, 25 Nov 2002 07:39:08 -0900
To: "maple-list"
From: "Mark Fitch" "afmaf"
Subject: graphing parametric equations in 3d

3D parametric plots require two variables even if you are drawing a curve
instead of a surface. Add in any dummy variable and range.

p1:=((1+cos(16*t))*cos(t));
p2:=((1+cos(16*t))*sin(t));
p3:=1+cos(16*t*t);
plot3d([p1,p2,p3],t=-Pi..Pi,u=0..1);


Mark A. Fitch

"mfitch"
http://www.math.uaa.alaska.edu/~afmaf

University of Alaska Anchorage
3211 Providence Drive, Anchorage, AK 99508


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Mon, 25 Nov 2002 12:12:57 -0500
From: "Douglas B. Meade" "meade"
To: "maple-list" "H.Wesseling"
Subject: graphing parametric equations in 3d

Han and MUG,

Here is (another) answer to your question:

The object you are attempting to plot is a curve (not a surface). The
correct command to use is spacecurve in the plots package. So, here is

p1:=((1+cos(16*t))*cos(t));
p2:=((1+cos(16*t))*sin(t));
p3:=1+cos(16*t); # <--- typo corrected

plots[spacecurve]( [p1,p2,p3], t=-Pi..Pi );

To avoid typing the full name of the command, you can load the plots
package using the command:

with( plots );

Then, you can use the short version:

spacecurve( [p1,p2,p3], t=-Pi..Pi );

I hope this helps,

Doug
-----------------------------------------------------------------------
Prof. Douglas B. Meade Phone: (803) 777-6183 FAX: (803)
777-6527
Department of Mathematics URL: http://www.math.sc.edu/~meade/
USC, Columbia, SC 29208 E-mail: "mailto:meade"

[View Complete Thread]



Previous by date: [MUG] Optimize tryhard,  Moore, Brian
Next by date: [MUG] Re: why the plot is not consistent with evaluated value?, Maple User Group
Previous thread: [MUG] convolution operator,  MTK-Adem Kilicman Dr
Next thread: [MUG] why the plot is not consistent with evaluated value?, Xiaoyan Li



Ready to buy?

Maple - single user licence
Add to shopping basket
$ 1,895.00
Upgrade to Maple 12 from v11
Add to shopping basket
$ 995.00
Upgrade to Maple 12 from v10 & below
Add to shopping basket
$ 1,395.00

Featured Downloads

Maple White Paper: Technical Knowledge - An Asset You Can Afford to Lose?
Maple in Electronics Application Pack
Maple in Robotics & Aerospace Application Pack
Maple in Finance Application Pack

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks
adept

Top of the Page

Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2007, Adept Scientific plc.
Site designed and maintained by Adeptise

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055