Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to do a family of plots?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64497] Re: [mg64476] How to do a family of plots?
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 19 Feb 2006 05:36:07 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

p[f_,L_]:=(1-f) ArcCos[Exp[-2/L]];

Plot[Evaluate[p[f,L]/.f->{0.2,0.4,0.6,0.8}],
    {L,0.1,10},PlotStyle->{Red,Purple,Blue,Green}];

Plot[Evaluate[p[{0.2,0.4,0.6,0.8},L]],
    {L,0.1,10},PlotStyle->{Red,Purple,Blue,Green}];


Bob Hanlon

> 
> From: "1.156" <rob at piovere.com>
To: mathgroup at smc.vnet.net
> Subject: [mg64497] [mg64476] How to do a family of plots?
> 
> 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}
> 
> 


  • Prev by Date: Re: Re: Not Using a Text Editor Interface for Mathematica
  • Next by Date: Re: Using a text editor like interface for Mathematica?
  • Previous by thread: RE: How to do a family of plots?
  • Next by thread: multiple plots from a list of parameters?