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] How to plot with a constraint on the domain

Search email archive for  

[MUG] How to plot with a constraint on the domain
Author: Anders Poulsen    Posted: Wed, 23 Oct 2002 08:34:12 +0200

>> From: Anders Poulsen "Aup"

Dear MUG users,

I have a function, z=f(x1,x2,x3), with a contraint on the domain:
x1+x2+x3=1 and x1,x2,x3 all non-negative (the unit simplex). Thus z is only
a function of two variables, say x1 and x2:
z=g(x1,x2).

How can I instruct Maple to take this constraint into account, so I can
plot the curvature of the function z=g(x1,x2)? I'm only a Maple beginner,
but I haven't been able to find documentation about plotting with
constraints on the domain.

Thanks for your help,


Anders Poulsen
Assistant professor, Ph.D.
Department of Economics
The Aarhus School of Business
Silkeborgvej 2
DK-8000 Aarhus C
Denmark
E-mail: "aup"

----------------------------------------------
Anders Poulsen
Ph.D., Assistant Professor
Department of Economics, The Aarhus School of Business
Silkeborgvej 2, DK-8000 Aarhus C, Denmark
Phone: (0045) 89486400, Fax: (0045) 89486197,
E-mail: "aup"
Personal homepage: http://www.hha.dk/nat/anders/persoweb.htm
----------------------------------------------

[MUG] Re: How to plot with a constraint on the domain
Author: Carl Devore    Posted: Sun, 27 Oct 2002 11:31:10 -0500

>> From: Carl Devore "devore"

On Wed, 23 Oct 2002, Anders Poulsen wrote:
> I have a function, z=f(x1,x2,x3), with a contraint on the domain:
> x1+x2+x3=1 and x1,x2,x3 all non-negative (the unit simplex). Thus z is only
> a function of two variables, say x1 and x2:
> z=g(x1,x2).
>
> How can I instruct Maple to take this constraint into account, so I can
> plot the curvature of the function z=g(x1,x2)?

I am not sure what you mean by "plot the curvature". But you can plot z=
g(x1,z2) like this:

plot3d(f(x1,x2,1-x1-x2), x1= 0..1-x2, x2= 0..1);

It might be useful to have the plotting domain be a perfect equilateral
triangle with vertices (1,0,0), (0,1,0), and (0,0,1). For ideas along
these lines, see my worksheet "Contour plots for three-ingredient mixing
problems" available at the Maple Applications Center
http://www.mapleapps.com in the Statistics category.

Previous by date: [MUG] Serious bug in LinearSolve, Luis Goddyn
Next by date: [MUG] Maple 8 under Debian GNU/Linux, Curtis Vinson
Previous thread: [MUG] problem concerning plots,  Wise Man
Next thread: [MUG] Maple 8 under Debian GNU/Linux, Curtis Vinson



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