Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14862] Re: [mg14850] Plotting multiple lines with different color or line style?
  • From: "Kevin J. McCann" <kevinmccann at Home.com>
  • Date: Mon, 23 Nov 1998 10:11:44 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

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