MathGroup Archive 1996

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

Search the Archive

Re: ShowLegend syntax: HELP!!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3169] Re: ShowLegend syntax: HELP!!
  • From: welter at .ti.com (Jason Welter)
  • Date: Tue, 13 Feb 1996 02:27:42 -0500
  • Organization: Texas Instruments
  • Sender: owner-wri-mathgroup at wolfram.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


==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Mathematica not native on Sun Solaris
  • Next by Date: LogPlot
  • Previous by thread: ShowLegend syntax: HELP!!
  • Next by thread: Re: ShowLegend syntax: HELP!!