MathGroup Archive 2002

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

Search the Archive

Problems using Legend whith LogPlot and LogPlotPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36827] Problems using Legend whith LogPlot and LogPlotPlot
  • From: guillerm at usal.es
  • Date: Sat, 28 Sep 2002 04:34:20 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear friends

I have the following problem with Legend and LogPlot and LogPlotPlot:
    
Needs["Graphics`Graphics`"]

Needs["Graphics`Legend`"]

{q1[t_],q2[t_],q3[t_]}={0.1 Exp[-0.02 t], 0.2 Exp[-0.025 t], 
      0.4 Exp[-0.028 t]};

(*With Plot legend works fine*)

Plot[{q1[t],q2[t],q3[t]}, {t, 0, 100},PlotStyle\[Rule]{
      {AbsoluteThickness[0.5], AbsoluteDashing[{4,4}]},
      AbsoluteThickness[1.5], {AbsoluteThickness[2], 
        AbsoluteDashing[{1,8}]}}, AxesLabel\[Rule]{"Y", "X"},
  PlotLabel\[Rule]"Title", PlotLegend\[Rule]{"1","3","5"}, 
  LegendPosition\[Rule] {0.5,0}]


(*However with LogPlot or LogLogPlot the legend desappear*)

LogLogPlot[{q1[t],q2[t],q3[t]}, {t, 0, 100},PlotStyle\[Rule]{
      {AbsoluteThickness[0.5], AbsoluteDashing[{4,4}]},
      AbsoluteThickness[1.5], {AbsoluteThickness[2], 
        AbsoluteDashing[{1,8}]}}, AxesLabel\[Rule]{"Y", "X"},
  PlotLabel\[Rule]"Title", PlotLegend\[Rule]{"1","3","5"}, 
  LegendPosition\[Rule] {0.5,0}]

I have shown a particular case, but I has this problem always with Legend and 
LogPlot and LogPlotPlot. I will appreciate any help.
Thanks 
Guillermo
Sanchez

---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/




  • Prev by Date: Re: Posting Mathematica Input to MathGroup
  • Next by Date: Re: Posting Mathematica Input to MathGroup
  • Previous by thread: Davidon-Fletcher-Powell Algorithm
  • Next by thread: RE: Problems using Legend whith LogPlot and LogPlotPlot