Two Plot Histogram

Optuma Forums Optuma Scripting Two Plot Histogram

  • This topic has 2 replies, 2 voices, and was last updated 2 weeks ago by Tim.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #72093
    Tim
    • Topics: 48
    • Replies: 46
    • Posts: 94

    I am trying to script a histogram that has one plot on the top and a different plot on the bottom. The script is displaying as valid in the Scrip Manager but is not displaying on the chart correctly. The first script displays completely incorrect while the second script is better but still incorrect. I’m trying to display pos/neg bars on the top and pos/neg bars on the bottom.

    Thanks,

    Tim

    #72095
    Darren
    • Topics: 76
    • Replies: 1,059
    • Posts: 1,135

    Hi Tim,

    The DIFFPCT is giving odd values because the current TopHist value is negative, whereas BottomHist is using positive numbers only with the ABS() function. Make them both consistent and the values should make more sense.

    With two histogram outputs they will overwrite each other, so it’s probably best to use two separate Show Views.

    #72101
    Tim
    • Topics: 48
    • Replies: 46
    • Posts: 94

    Thanks.

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

Pin It on Pinterest