RE: How to do a family of plots?
- To: mathgroup at smc.vnet.net
- Subject: [mg64494] RE: [mg64476] How to do a family of plots?
- From: "David Park" <djmp at earthlink.net>
- Date: Sun, 19 Feb 2006 05:36:03 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
What about...
p[f_, L_] := (1 - f) ArcCos[Exp[-2/L]]
Plot[MapThread[p[#, L] &, {{0.2, 0.4, 0.6, 0.8}}] // Evaluate, {L, 0.1,
10}];
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
From: 1.156 [mailto:rob at piovere.com]
To: mathgroup at smc.vnet.net
Experts, I have used the scheme below with ParametricPlot and it worked.
But with a simple plot it doesn't. It seems clear the plot function is
not seeing the f variable. Plot is not getting machine sized numbers,
etc. Nothing I've tried seems to help.
I'm trying to get plots of p vs L with f as a parameter. Thanks for any
help, Rob
p[f_,L_]:=(1-f) ArcCos[Exp[-2/L]]
{q,r,y,z}=Plot[p[f,L],{L,0.1,10}]
/. f->{0.2,0.4,0.6,0.8}