Re: Setting Colours of Plots
- To: mathgroup at smc.vnet.net
- Subject: [mg84592] Re: [mg84573] Setting Colours of Plots
- From: Gregory Lypny <gregory.lypny at videotron.ca>
- Date: Sun, 6 Jan 2008 05:53:27 -0500 (EST)
- References: <20080105120215.3M8J9.196934.root@eastrmwml24.mgt.cox.net>
Thank you Bob and Murray, I imagine that if I want a particular RGB colour, I would have to use Directive with the same RGB triplet for each curve. I'll experiment. Thanks again, Gregory On Sat, Jan 5, 2008, at 12:02 PM, Bob Hanlon wrote: > Different colors : > > Plot[{x, 2 x, 3 x, 4 x, 5 x}, {x, 0, 1}] > > Same colors: > > Plot[Table[n*x, {n, 5}], {x, 0, 1}] > > Plot[{x, 2 x, 3 x, 4 x, 5 x}, {x, 0, 1}, PlotStyle -> Blue] > > > Bob Hanlon > > ---- Gregory Lypny <gregory.lypny at videotron.ca> wrote: >> Hello everyone, >> >> I'm plotting five or six functions on one graph. Is there a way to >> force all of them to have the same colour? >> >> Regards, >> >> Gregory >> >