RE: Drawing function with 3 variables in a graph
- To: mathgroup at smc.vnet.net
- Subject: [mg71856] RE: [mg71827] Drawing function with 3 variables in a graph
- From: "David Park" <djmp at earthlink.net>
- Date: Fri, 1 Dec 2006 06:22:08 -0500 (EST)
You don't give sufficient information about what you are plotting. What makes a good graphic depends crucially on precisely what it is you are trying to communicate. In general you might make a 3D plot with m and t as variables and a as a parameter. Then you could turn it into an animation with a as the animation variable. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: royend at gmail.com [mailto:royend at gmail.com] I want to draw a fairly complex function several times in one graph. By using different colour I hope to present the development of my function as the three variables changes. Earlier I have managed two variabels by using this: Plot[Evaluate[ { Table[ f[t,m], {m,0,5}] } ], {t,-20,20}, PlotStyle->etc] But this time I have met difficulties because one of my variables are "hidden" inside the function f(t,m), like this: g(a) = a/2 f(t) = m*g(a)^t m,a and t are variables. Therefore I need to control 3 variables and have tried this: With[ {a=5}, Plot[ same as above].... I have read some about lists, graphics and so on but still haven't been able to find any solution. Do you have any tips for solving this?