How to make a point and line legend by “custom legend”?

Welcome to our Forums Technical Support Support Desk How to make a point and line legend by “custom legend”?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7218
    flemir
    Participant

      Dear all,

      Screen Shot 2021-09-14 at 9.27.37 AM

      #7219
      dgteam
      Moderator

        The Custom legend can add color tiles, points, and patterns, but does not have a built-in line/symbol option.

        A way to do this is to create some Plot commands that are hidden from view. You can use a group to hide them all.

        custom-legend2

        Then add each command as an entry in the custom legend, where you Present the ‘Default’ legend (the line and symbol).

        custom-legend

        Then your graph would like like this.

        custom-legend3

        Of course, in this case, you can get the same look with a the standard Legend command.

        Curious as to why you want to use the Custom legend rather than the standard Legend?

         

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.

      Welcome to our Forums Technical Support Support Desk How to make a point and line legend by “custom legend”?