Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*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 1996

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

Search the Archive

Re: ShowLegend syntax: HELP!!

  • Subject: [mg3169] Re: ShowLegend syntax: HELP!!
  • From: welter at .ti.com (Jason Welter)
  • Date: 14 Feb 1996 07:10:34 -0600
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Texas Instruments
  • Sender: daemon at wri.com

In article <4fcd0t$9ea at dragonfly.wolfram.com>, fjl0014 at ucs.usl.edu 
says...

>Jason,
> 
>Thanks a lot for your response to my post. Your code helped me a great
>deal. But, I have one question. I noticed that you were using
>colors to label your plots. Is it possible to use dashing instead?
>I tried replacing your Hue[] command with Dashing[]. I got an error
>back. It seems that you can only use colors to label your legends and
>not different line styles. Anyway, thanks again...
>--

I havn't used Dashing but I was suprised to know it wasn't working.
On page 172 of the GUIDE TO STANDARD MATHEMATICA PACKAGES an example of
what you want to do is found:

Plot[{Sin[x], Cos[x]}, {x,0,2 Pi},
    PlotStyle -> {GreyLevel[0],GreyLevel[0],Dashing[{.03}]}},
PlotLegend -> {"sin", "cos"},
LegendPosition -> {.5,-.7},
LegendTextSpace -> .5,
LegendLabel -> "Trig Funcs",
LegendLabelSpace -> .5,
LegendOrientation -> Horizontal,
LegendBackground -> GreyLevel[.5],
LegendShadow -> {.1,-.2},
Background -> GrayLevel[.8]]

Jason



  • Prev by Date: LogPlot
  • Next by Date: LogPlot
  • Previous by thread: Re: ShowLegend syntax: HELP!!
  • Next by thread: MathLink-problem