MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plotting multiple lines with different color or line style?


Just include the PlotStyle option, e.g.

load the following package to make colors easier:

<< Graphics`Colors`

Plot[{x,x^2,Exp[x]},{x,0,2},
  PlotStyle->{{Red,AbsoluteThickness[2]},{Black,Dashing[{.02}],
        AbsoluteThickness[2]},{Blue,Dashing[{.03,.02,.08,.02}],
        AbsoluteThickness[2]}}];

Cheers,

Kevin

-----Original Message-----
From: Kyung Suk (Dan) Oh <terryoh at email.msn.com> To:
mathgroup at smc.vnet.net
Subject: [mg14862] [mg14850] Plotting multiple lines with different color or line
style?


>Plotting multiple lines with different color or line style?
>
>Thank in advance.
>
>
>
>



  • Prev by Date: mathlink & MS Visual C++ 6.0
  • Next by Date: RE: PlotLabel question
  • Previous by thread: Plotting multiple lines with different color or line style?
  • Next by thread: Evaluation Control