MathGroup Archive 2003

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

Search the Archive

Display of legend in MultiListPlot

  • To: mathgroup at
  • Subject: [mg39536] Display of legend in MultiListPlot
  • From: Marcus Schulmerich <mschulme at>
  • Date: Sat, 22 Feb 2003 03:37:33 -0500 (EST)
  • Sender: owner-wri-mathgroup at


I have a problem with Mathematica which I could not solve with the online help
or any book so far. I want to display graphs with MultiListPlot. In the files
data1.dat and data2.dat    
I have the appropriate data and the command I use are the following:


help1 = Import["data1.dat", "table"]

help2 = Import["data2.dat", "table"]

MultipleListPlot[help1, help2, 
  PlotJoined -> True, Frame -> True,
  PlotRange -> {{-0.01, 10.01}, {1, 8}}, 
  GridLines -> {{2, 4, 6, 8}, Automatic},
  TextStyle -> {FontSize -> 7, FontFamily -> "Times New Roman"},
  PlotLegend -> {"initial", "3 mos."},
  LegendPosition -> {0.25, -0.35}, 
  LegendSize -> {0.8, 0.4},
  FrameLabel -> {"Maturity  in  years", "Yield  in  %"},
  SymbolShape -> {None, None},             
  PlotStyle -> {{Thickness[0.008], GrayLevel[0]}, {Dashing[{0.01}], 
        Thickness[0.008], GrayLevel[0.2]}}]

The display of the two graphs works fine but the problem is: While the names of the axis are, as
I specified, in FontSize=7 and FontFamily=Times New Roman, the display of the legend is in a
different FontSize and Fontfamily which I cannot specify (at least I don't know how to do that).
I want the legend to be in the same FontSize and Fontfamily as the names on the axix. How can I
do this, i.e., what commands do I need to add above to achieve this??


Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more

  • Prev by Date: Re: series expansions in two variables problem
  • Next by Date: Specifying plain text output
  • Previous by thread: Re: Programing in MATHEMATICA
  • Next by thread: RE: Display of legend in MultiListPlot