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