(************** Content-type: application/mathematica **************
                     CreatedBy='Mathematica 5.0'

                    Mathematica-Compatible Notebook

This notebook can be used with any Mathematica-compatible
application, such as Mathematica, MathReader or Publicon. The data
for the notebook starts with the line containing stars above.

To get the notebook into a Mathematica-compatible application, do
one of the following:

* Save the data starting with the line of stars above into a file
  with a name ending in .nb, then open the file inside the
  application;

* Copy the data starting with the line of stars above to the
  clipboard, then use the Paste menu command inside the application.

Data for notebooks contains only printable 7-bit ASCII and can be
sent directly in email or through ftp in text mode.  Newlines can be
CR, LF or CRLF (Unix, Macintosh or MS-DOS style).

NOTE: If you modify the data for this notebook not in a Mathematica-
compatible application, you must delete the line below containing
the word CacheID, otherwise Mathematica-compatible applications may
try to use invalid cache data.

For more information on notebooks and Mathematica-compatible 
applications, contact Wolfram Research:
  web: http://www.wolfram.com
  email: info@wolfram.com
  phone: +1-217-398-0700 (U.S.)

Notebook reader applications are available free of charge from 
Wolfram Research.
*******************************************************************)

(*CacheID: 232*)


(*NotebookFileLineBreakTest
NotebookFileLineBreakTest*)
(*NotebookOptionsPosition[      9237,        279]*)
(*NotebookOutlinePosition[     11990,        350]*)
(*  CellTagsIndexPosition[     11881,        343]*)
(*WindowFrame->Normal*)



Notebook[{

Cell[CellGroupData[{
Cell["StrategyLegend", "ObjectName",
  CellTags->"LocalInteractions:39"],

Cell[TextData[{
  "\[FilledSmallSquare] ",
  Cell[BoxData[
      FormBox[
        StyleBox[
          RowBox[{"StrategyLegend", "[", Cell[TextData[{
              Cell[BoxData[
                  FormBox[
                    RowBox[{
                      FormBox[
                        RowBox[{"{", 
                          StyleBox[\(color\_1\),
                            FontSlant->"Italic"]}],
                        "TraditionalForm"], ",", "...", ",", 
                      StyleBox[\(color\_n\),
                        FontSlant->"Italic"]}], TraditionalForm]],
                FontFamily->"Times"],
              StyleBox["}",
                FontFamily->"Times"]
            }]], "]"}],
          FontFamily->"Courier"], TraditionalForm]]],
  " ",
  "prints a legend for the given colors using \"Strategy 1\",\[Ellipsis], \
\"Strategy ",
  StyleBox["n",
    FontSlant->"Italic"],
  "\" as default labels.\n\[FilledSmallSquare] ",
  Cell[BoxData[
      FormBox[
        StyleBox[
          RowBox[{"StrategyLegend", "[", Cell[TextData[{
              Cell[BoxData[
                  FormBox[
                    RowBox[{
                      FormBox[
                        RowBox[{"{", 
                          StyleBox[\(color\_1\),
                            FontSlant->"Italic"]}],
                        "TraditionalForm"], ",", "...", ",", 
                      StyleBox[\(color\_n\),
                        FontSlant->"Italic"]}], TraditionalForm]],
                FontFamily->"Times"],
              StyleBox["}, ",
                FontFamily->"Times"],
              Cell[BoxData[
                  FormBox[
                    StyleBox[\({label\_1, \[Ellipsis], label\_n}\),
                      FontFamily->"Times",
                      FontSlant->"Italic"], TraditionalForm]]]
            }]], "]"}],
          FontFamily->"Courier"], TraditionalForm]]],
  " prints a legend for the given colors using the specified labels."
}], "Usage",
  CellTags->{"b:14", "LocalInteractions:39"}],

Cell["\<\
\[FilledSmallSquare] The labels may include formatted text.\
\>", \
"Notes",
  CellTags->{"b:14", "LocalInteractions:39"}],

Cell["\<\
\[FilledSmallSquare] The legend can be converted to a window by \
selecting the cell and choosing \"Generate Palette from Selection\" from the \
File menu. The legend may then be saved and re-opened at a later time.\
\>", \
"Notes",
  CellTags->{"b:14", "LocalInteractions:39"}],

Cell[CellGroupData[{

Cell["Examples", "ExampleSection",
  CellTags->{"b:14", "LocalInteractions:39"}],

Cell[CellGroupData[{

Cell[BoxData[
    \(StrategyLegend[{Red, Green, Blue}]\)], "Input",
  CellLabel->"In[24]:=",
  CellTags->{"b:14", "LocalInteractions:39"}],

Cell[BoxData[
    TagBox[
      TagBox[GridBox[{
            {
              FrameBox[
                StyleBox[
                  AdjustmentBox["Stra",
                    BoxMargins->{{1, 1}, {1, 1}}],
                  FontColor->RGBColor[1, 0, 0],
                  Background->RGBColor[1, 0, 0]],
                BoxMargins->False], \(Strategy\ 1\)},
            {
              FrameBox[
                StyleBox[
                  AdjustmentBox["Stra",
                    BoxMargins->{{1, 1}, {1, 1}}],
                  FontColor->RGBColor[0, 1, 0],
                  Background->RGBColor[0, 1, 0]],
                BoxMargins->False], \(Strategy\ 2\)},
            {
              FrameBox[
                StyleBox[
                  AdjustmentBox["Stra",
                    BoxMargins->{{1, 1}, {1, 1}}],
                  FontColor->RGBColor[0, 0, 1],
                  Background->RGBColor[0, 0, 1]],
                BoxMargins->False], \(Strategy\ 3\)}
            },
          ColumnAlignments->{Left}],
        DisplayForm],
      DisplayForm]], "Output",
  CellLabel->"Out[24]//DisplayForm=",
  CellTags->{"b:14", "LocalInteractions:39"}]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
    \(StrategyLegend[\[IndentingNewLine]{Red, Green, 
        Blue}, {"\<Rock\>", "\<Scissors\>", \
"\<Paper\>"}\[IndentingNewLine]]\)], "Input",
  CellLabel->"In[25]:=",
  CellTags->{"b:14", "LocalInteractions:39"}],

Cell[BoxData[
    TagBox[GridBox[{
          {
            FrameBox[
              StyleBox[
                AdjustmentBox["Stra",
                  BoxMargins->{{1, 1}, {1, 1}}],
                FontColor->RGBColor[1, 0, 0],
                Background->RGBColor[1, 0, 0]],
              BoxMargins->False], "Rock"},
          {
            FrameBox[
              StyleBox[
                AdjustmentBox["Stra",
                  BoxMargins->{{1, 1}, {1, 1}}],
                FontColor->RGBColor[0, 1, 0],
                Background->RGBColor[0, 1, 0]],
              BoxMargins->False], "Scissors"},
          {
            FrameBox[
              StyleBox[
                AdjustmentBox["Stra",
                  BoxMargins->{{1, 1}, {1, 1}}],
                FontColor->RGBColor[0, 0, 1],
                Background->RGBColor[0, 0, 1]],
              BoxMargins->False], "Paper"}
          },
        ColumnAlignments->{Left}],
      DisplayForm]], "Output",
  CellLabel->"Out[25]//DisplayForm=",
  CellTags->{"b:14", "LocalInteractions:39"}]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
    RowBox[{"StrategyLegend", "[", "\[IndentingNewLine]", 
      RowBox[{\({Red, Green, Blue}\), ",", 
        RowBox[{"{", 
          RowBox[{"\"\<\!\(\*
StyleBox[\"Rock\",\nFontFamily->\"Times\",\nFontWeight->\"Plain\",\n\
FontSlant->\"Italic\"]\)\>\"", ",", "\"\<\!\(\*
StyleBox[\"Scissors\",\nFontFamily->\"Times\",\nFontSize->18,\n\
FontWeight->\"Plain\",\nFontSlant->\"Italic\"]\)\>\"", ",", "\"\<\!\(\*
StyleBox[\"Paper\",\nFontFamily->\"Times\",\nFontWeight->\"Plain\",\n\
FontSlant->\"Italic\"]\)\>\""}], "}"}]}], "\[IndentingNewLine]", 
      "]"}]], "Input",
  CellLabel->"In[28]:=",
  CellTags->{"b:14", "LocalInteractions:39"}],

Cell[BoxData[
    TagBox[GridBox[{
          {
            FrameBox[
              StyleBox[
                AdjustmentBox["Stra",
                  BoxMargins->{{1, 1}, {1, 1}}],
                FontColor->RGBColor[1, 0, 0],
                Background->RGBColor[1, 0, 0]],
              BoxMargins->False], 
            StyleBox["Rock",
              FontFamily->"Times",
              FontWeight->"Plain",
              FontSlant->"Italic"]},
          {
            FrameBox[
              StyleBox[
                AdjustmentBox["Stra",
                  BoxMargins->{{1, 1}, {1, 1}}],
                FontColor->RGBColor[0, 1, 0],
                Background->RGBColor[0, 1, 0]],
              BoxMargins->False], 
            StyleBox["Scissors",
              FontFamily->"Times",
              FontSize->18,
              FontWeight->"Plain",
              FontSlant->"Italic"]},
          {
            FrameBox[
              StyleBox[
                AdjustmentBox["Stra",
                  BoxMargins->{{1, 1}, {1, 1}}],
                FontColor->RGBColor[0, 0, 1],
                Background->RGBColor[0, 0, 1]],
              BoxMargins->False], 
            StyleBox["Paper",
              FontFamily->"Times",
              FontWeight->"Plain",
              FontSlant->"Italic"]}
          },
        ColumnAlignments->{Left}],
      DisplayForm]], "Output",
  CellLabel->"Out[28]//DisplayForm=",
  CellTags->{"b:14", "LocalInteractions:39"}]
}, Open  ]]
}, Closed]]
}, Open  ]]
},
FrontEndVersion->"5.0 for Macintosh",
ScreenRectangle->{{0, 1152}, {0, 701}},
WindowSize->{520, 578},
WindowMargins->{{Automatic, 49}, {45, Automatic}},
StyleDefinitions -> "HelpBrowser.nb"
]

(*******************************************************************
Cached data follows.  If you edit this Notebook file directly, not
using Mathematica, you must remove the line containing CacheID at
the top of  the file.  The cache data will then be recreated when
you save this file from within Mathematica.
*******************************************************************)

(*CellTagsOutline
CellTagsIndex->{
  "LocalInteractions:39"->{
    Cell[1776, 53, 72, 1, 38, "ObjectName",
      CellTags->"LocalInteractions:39"],
    Cell[1851, 56, 2022, 53, 89, "Usage",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[3876, 111, 132, 4, 24, "Notes",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[4011, 117, 288, 6, 56, "Notes",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[4324, 127, 80, 1, 38, "ExampleSection",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[4429, 132, 138, 3, 26, "Input",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[4570, 137, 1157, 32, 103, "Output",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[5764, 174, 230, 5, 58, "Input",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[5997, 181, 1047, 30, 103, "Output",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[7081, 216, 654, 13, 69, "Input",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[7738, 231, 1459, 43, 103, "Output",
      CellTags->{"b:14", "LocalInteractions:39"}]},
  "b:14"->{
    Cell[1851, 56, 2022, 53, 89, "Usage",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[3876, 111, 132, 4, 24, "Notes",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[4011, 117, 288, 6, 56, "Notes",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[4324, 127, 80, 1, 38, "ExampleSection",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[4429, 132, 138, 3, 26, "Input",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[4570, 137, 1157, 32, 103, "Output",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[5764, 174, 230, 5, 58, "Input",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[5997, 181, 1047, 30, 103, "Output",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[7081, 216, 654, 13, 69, "Input",
      CellTags->{"b:14", "LocalInteractions:39"}],
    Cell[7738, 231, 1459, 43, 103, "Output",
      CellTags->{"b:14", "LocalInteractions:39"}]}
  }
*)

(*CellTagsIndex
CellTagsIndex->{
  {"LocalInteractions:39", 9873, 295},
  {"b:14", 10913, 318}
  }
*)

(*NotebookFileOutline
Notebook[{

Cell[CellGroupData[{
Cell[1776, 53, 72, 1, 38, "ObjectName",
  CellTags->"LocalInteractions:39"],
Cell[1851, 56, 2022, 53, 89, "Usage",
  CellTags->{"b:14", "LocalInteractions:39"}],
Cell[3876, 111, 132, 4, 24, "Notes",
  CellTags->{"b:14", "LocalInteractions:39"}],
Cell[4011, 117, 288, 6, 56, "Notes",
  CellTags->{"b:14", "LocalInteractions:39"}],

Cell[CellGroupData[{
Cell[4324, 127, 80, 1, 38, "ExampleSection",
  CellTags->{"b:14", "LocalInteractions:39"}],

Cell[CellGroupData[{
Cell[4429, 132, 138, 3, 26, "Input",
  CellTags->{"b:14", "LocalInteractions:39"}],
Cell[4570, 137, 1157, 32, 103, "Output",
  CellTags->{"b:14", "LocalInteractions:39"}]
}, Open  ]],

Cell[CellGroupData[{
Cell[5764, 174, 230, 5, 58, "Input",
  CellTags->{"b:14", "LocalInteractions:39"}],
Cell[5997, 181, 1047, 30, 103, "Output",
  CellTags->{"b:14", "LocalInteractions:39"}]
}, Open  ]],

Cell[CellGroupData[{
Cell[7081, 216, 654, 13, 69, "Input",
  CellTags->{"b:14", "LocalInteractions:39"}],
Cell[7738, 231, 1459, 43, 103, "Output",
  CellTags->{"b:14", "LocalInteractions:39"}]
}, Open  ]]
}, Closed]]
}, Open  ]]
}
]
*)



(*******************************************************************
End of Mathematica Notebook file.
*******************************************************************)

