Change line width in legend

Welcome to our Forums Technical Support Support Desk Change line width in legend

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5691
    xinbo wang
    Participant

      Hi

      I’m wondering if I can change the line width in the legend freely. Now the line width in the legend is associated with the plot lines, so if I want to keep the line in the plot thin, but increase the thickness of the line in the legend to be 2, is it possible? I am solving the problem by creating a “fake plot” and its corres[onding lend then hide the plot. But I am thinking if there an actual way to do this?

      Thank you!!!Screen Shot 2021-01-14 at 5.22.08 PM

      #5697
      dgteam
      Moderator

        The Legend entries will be the same as the command.  I suggest rather than creating a second plot, try copying your commands.  (select then command-C to copy and command-V to paste.)

        In the copies, increase the line thickness and check ‘Hide’ so you only see the thinner lines, but the thicker line still shows in the Legend.  Here the copies are 4 times the pen size.

        This will show up as one entry in the Legend since they have the same name, but you will see the command with the thicker line.

        Legend

        #5701
        xinbo wang
        Participant

          Thanks! Great idea! But hopefully, datagraph can provide more freedom in “customize legend”.

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

        Welcome to our Forums Technical Support Support Desk Change line width in legend