Re: mulitple labels on one legend

From: Dennis Shea (shea AT XXXXXX)
Date: Tue Apr 17 2001 - 11:46:07 MDT

  • Next message: Keith Oleson: "Workspace reallocation"

     I'm not sure what u mean. Is it ....

        ------- comment_1.1
                comment_1.2
                comment_1.3
        _______ comment_2.1
                comment_2.2
                comment_2.3

              etc

     If so, then u may be able to add carriage returns in your string
     If ~ is your function code, then ~c~ will add a carriage return

    res@xyExplicitLegendLabels = \
       (/ "comment_1.1" + "~c~" + "comment_1.2" + "~c~" + "comment_1.3" \
        , "comment_2.1" + "~c~" + "comment_2.2" + "~c~" + "comment_2.3" \
                                     [snip]
        , "comment_8.1" + "~c~" + "comment_8.2" + "~c~" + "comment_8.3" /)
        
    This might take up a lot of space on the figure though.
    --------------------------

    If u want

        ------- comment_1.1 comment_1.2 comment_1.3
        _______ comment_2.1 comment_2.2 comment_2.3

    Then change the ~c~ to, say, a space (" ") or a semi-colon (";") or whatever
    --------------------------
    Basically you use string concatenation [ via the + operator]
    Good luck



    This archive was generated by hypermail 2b29 : Tue Apr 17 2001 - 15:54:15 MDT