MathGroup Archive 1998

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

Search the Archive

Re: Help With PlotLegend, please.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14379] Re: [mg14324] Help With PlotLegend, please.
  • From: Jurgen Tischer <jtischer at col2.telecom.com.co>
  • Date: Thu, 15 Oct 1998 00:29:17 -0400
  • Organization: Universidad del Valle
  • References: <199810130521.BAA08634@smc.vnet.net.>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi AC, for getting it ok on the monitor you can do the following: Open
the file

C:\Program Files\Wolfram
Research\Mathematica\3.0\AddOns\StandardPackages\Graphics\Legend.m,

find the line in the definition of Plot (the second one) which reads

ps = ps/.{Dashing[x_] -> Dashing[2/0.3 x]}; (* scale dashes *)

and change it to something like

ps = ps/.{Dashing[x_] -> Dashing[2/0.3 x],
		Thickness[x_]->Thickness[10 x]}; (* scale dashes *)

Jurgen

Wretch wrote:
> 
> I am plotting three curves on the same 2D plot and wish to plot a legend
> below that indicates which is which.  The problem I'm having is that
> more darkly shaded lines (using the Thickness[] option) do not appear
> any darker or thicker on the legend, which makes distinguishing the
> solid lines in the plot impossible.
> 
> Here's my Mathematica 3.0 input:
> 
> *******************************************************************
> Plot[{f[x],g[x],h[x]},{x,xlow,xhigh},PlotStyle->{{},Dashing[{.02}],
>  Thickness[.008]},PlotLegend->{"f(x)","g(x)","h(x)"},LegendPosition->
>  {-1,-1.2},LegendSize->{1.7,.5}]
> *******************************************************************
> 
> f[x] is a normal solid line
> g[x] is a dashed line
> h[x] is a thick solid line
> 
> The problem is that the legend lines for f(x) and h(x) appear
> indistinguishable, both in the mathematica output and on a printed
> postscript file of the plot.
> 
> What may I do to remedy this?
> 
> Thanks,
> 
> AC



  • Prev by Date: Re: Complex Hadamard Matrix
  • Next by Date: Re: Mathematica 3 speed on a Sun Ultra1/200e ?
  • Previous by thread: Help With PlotLegend, please.
  • Next by thread: Re: Help With PlotLegend, please.