Re: Setting Colours of Plots
- To: mathgroup at smc.vnet.net
- Subject: [mg84608] Re: Setting Colours of Plots
- From: "David Park" <djmpark at comcast.net>
- Date: Sun, 6 Jan 2008 06:01:54 -0500 (EST)
- References: <flnitk$j7o$1@smc.vnet.net>
To make the curves all Black use:
Plot[{Sin[t], Cos[t], t - 1/2 t^2, t Exp[-t]}, {t, 0, 4},
PlotStyle -> Black, Frame -> True]
To use colors of your own choosing for each curve use:
Plot[{Sin[t], Cos[t], t - 1/2 t^2, t Exp[-t]}, {t, 0, 4},
PlotStyle -> {Black, Red, Blue, Orange}, Frame -> True]
--
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/
"Gregory Lypny" <gregory.lypny at videotron.ca> wrote in message
news:flnitk$j7o$1 at smc.vnet.net...
> 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
>