Announcement

Collapse
No announcement yet.

Change Color Above and Below Lines

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change Color Above and Below Lines

    Hello,

    In the attached study, I'm trying to change the color of the Xs and DTI to red if they= or are above the top line and to black if they = or are below the bottom line. However, nothing I try works. Please help.

    Thanks,
    Diane
    Attached Files

  • #2
    Re: Change Color Above and Below Lines

    Diane
    Set a condition to check if nDTI is greater than or equal to 17 which then paints the plots of the first and second element of the returned array in red as shown in the following example



    Then write a second similar condition to check if nDTI is less than or equal to -17 and paint the plots in black
    Alex


    Originally posted by Diane P
    Hello,

    In the attached study, I'm trying to change the color of the Xs and DTI to red if they= or are above the top line and to black if they = or are below the bottom line. However, nothing I try works. Please help.

    Thanks,
    Diane

    Comment


    • #3
      Hi Alex,

      Well, that was easy. I was trying to make it more difficult than it was. Thank you so much, again, for all you do for us.

      Diane

      Comment


      • #4
        Diane
        You are most welcome
        Alex


        Originally posted by Diane P
        Hi Alex,

        Well, that was easy. I was trying to make it more difficult than it was. Thank you so much, again, for all you do for us.

        Diane

        Comment

        Working...
        X