Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

Re: multigraphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48960] Re: [mg48932] multigraphics
  • From: DrBob <drbob at bigfoot.com>
  • Date: Fri, 25 Jun 2004 02:58:30 -0400 (EDT)
  • References: <200406240935.FAA27999@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Here's ONE method:

Needs["Graphics`Colors`"]
Clear[x, y]
y[a_] := a x
y[a_List] := y /@ a
Plot[Evaluate[y@Range@5], {x,
  0, 5}, PlotStyle -> {Red, Green, Blue, Yellow, Black}]

Bobby

On Thu, 24 Jun 2004 05:35:50 -0400 (EDT), Mazuego <mazuego at yahoo.com> wrote:

> I want to plot the function y=ax, for different values of the parameter a,
> in the same graphic! Ho can I do this in Mathematica 5.0? thankyou!
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net/index.html


  • Prev by Date: RE : multigraphics
  • Next by Date: Re: multigraphics
  • Previous by thread: Re: multigraphics
  • Next by thread: Re: multigraphics