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: [mg48935] Re: [mg48919] basic question about plotting 2 functions in one graph
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 24 Jun 2004 05:35:55 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Needs["Graphics`Colors`"];

Plot[{3n,2.6n},{n,0,100000},
    PlotStyle->{Red, 
        {AbsoluteDashing[{5,5}],Green}},
    Epilog->{
        Text["3n", 50000{1,3}, {1,-1}],
        Text["2.6n", 50000{1,2.6}, {-1,1}]}];


Bob Hanlon

> 
> From: "Ron Haus" <ronhaus at arcor.de>
To: mathgroup at smc.vnet.net
> Date: 2004/06/23 Wed AM 02:51:20 EDT
> To: mathgroup at smc.vnet.net
> Subject: [mg48935] [mg48919] basic question about plotting 2 functions in one graph
> 
> 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: Re: Overlay graphs
  • Next by Date: Re: Reassembling Fourier Transforms
  • Previous by thread: Re: basic question about plotting 2 functions in one graph
  • Next by thread: RE: basic question about plotting 2 functions in one graph