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
>
>
>