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: basic question about plotting 2 functions in one graph

  • To: mathgroup at smc.vnet.net
  • Subject: [mg48938] Re: basic question about plotting 2 functions in one graph
  • From: nathan jenkins <nathan.lastname at physics.unige.ch>
  • Date: Thu, 24 Jun 2004 05:36:00 -0400 (EDT)
  • References: <cbbc79$9ec$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Plot[3n, {n, 0, 100000}, PlotStyle -> RGBColor[1, 0, 0], DisplayFunction ->
Identity];
Plot[2.6n, {n, 0, 100000}, PlotStyle -> RGBColor[0, 0, 1],
DisplayFunction -> Identity];
Show[%, %%, DisplayFunction -> $DisplayFunction]

"Ron Haus" <ronhaus at arcor.de> a écrit dans le message de
news:cbbc79$9ec$1 at smc.vnet.net...
> Hi,
> if I write something like this
> Plot[{3n, 2.6n}, {n, 0, 100000}]
>
> how can I distinguish them? How can I plot one of them green and one of
them
> red (for example)? How can I write the function on the graph?
>
> THX
>
>



  • Prev by Date: Named Patterns in Switch
  • Next by Date: RE : basic question about plotting 2 functions in one graph
  • Previous by thread: basic question about plotting 2 functions in one graph
  • Next by thread: Re: basic question about plotting 2 functions in one graph