Re: basic question about plotting 2 functions in one graph

*To*: mathgroup at smc.vnet.net*Subject*: [mg48926] Re: basic question about plotting 2 functions in one graph*From*: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>*Date*: Thu, 24 Jun 2004 05:35:42 -0400 (EDT)*Organization*: Universitaet Leipzig*References*: <cbbc79$9ec$1@smc.vnet.net>*Reply-to*: kuska at informatik.uni-leipzig.de*Sender*: owner-wri-mathgroup at wolfram.com

Hi, Plot[{3n, 2.6n}, {n, 0, 100000}, PlotStyle -> {RGBColor[1, 0, 0], RGBColor[0, 1, 0]}, Epilog -> {{RGBColor[1, 0, 0], Text["Some curve", {20000, 250000}, {-1, 0}]}, {RGBColor[0, 1, 0], Text["Some other curve", {20000, 200000}, {-1, 0}]}} ] Regards Jens Ron Haus wrote: > > 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