Mathematica 9 is now available
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: [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}



  • Prev by Date: Re: Using subscripts in vectors
  • 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: Re: How to do a family of plots?