Multi Plot with LAST()

Optuma Forums Optuma Scripting Multi Plot with LAST()

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #66525
    Thomas
    • Topics: 109
    • Replies: 139
    • Posts: 248

    Hi,
    I have a simple script with multi plot and the function LAST() but have encountered unexpected results.

    Here is the script:

    This script works as it should, here is the screenshot:
    CAPE Detrended

    Now I have changed the plot output to the last value using the LAST() function:

    Here is the script:

    This script give some strange results, see the screenshot:
    CAPE Detrended with LAST

    What did I made wrong?

    Thanks and best wishes,
    Thomas

    #66527
    Matthew
    • Topics: 5
    • Replies: 481
    • Posts: 486

    Hi,

    Try the following alternate script:

    #66529
    Thomas
    • Topics: 109
    • Replies: 139
    • Posts: 248

    Hi Matthew,

    thanks for the script, it works. A really cool change.

    Thomas

    #66531
    Thomas
    • Topics: 109
    • Replies: 139
    • Posts: 248

    Hi Matthew,

    sorry but I am here again. I have some issues with the formatting of the three lines.

    Here is a loom video link:
    https://www.loom.com/share/40b6312a9603404cbfc7f0b6a05d9f9c

    As you can see I can change the setting of the lines but when I switch to another chart and than switch back to my “CAPE Detrended” chart all settings are gone.

    What can I do so that all settings are permanent WITHOUT scripting the formatting settings? If the formatting can only be done permanently with scripting, what are the scripts.

    Thanks,
    Thomas

    • This reply was modified 2 weeks ago by Thomas.
    #66535
    Matthew
    • Topics: 5
    • Replies: 481
    • Posts: 486

    Hi,

    Yes, you need to setup the lines in the script directly to keep them retained.

    You can see examples here of how to do it:

    https://help.optuma.com/kb/faq.php?id=722

    type plot1. and you’ll see a list of available options you can select.

    Ex1

    1 user thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest