RE : basic question about plotting 2 functions in one graph
- To: mathgroup at smc.vnet.net
- Subject: [mg48925] RE : [mg48919] basic question about plotting 2 functions in one graph
- From: "Florian Jaccard" <florian.jaccard at eiaj.ch>
- Date: Thu, 24 Jun 2004 05:35:41 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
<< "Graphics`Colors`"; << "Graphics`Legend`"; Plot[{3*n, 2.6*n}, {n, 0, 100000}, PlotStyle -> {Green, Red}, PlotLegend -> {"3n", "2.6n"}, LegendPosition -> {1, 0}, ImageSize -> 500] Greetings F.Jaccard -----Message d'origine----- De : Ron Haus [mailto:ronhaus at arcor.de] Envoyé : mercredi, 23. juin 2004 08:51 À : mathgroup at smc.vnet.net Objet : [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