Is it possible to plot several differnt values in one showme?

Optuma Forums Optuma Scripting Is it possible to plot several differnt values in one showme?

This topic contains 2 replies, has 2 voices, and was last updated by Avatar Mario 1 month, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #52231
    Avatar
    Mario
    • Topics: 8
    • Replies: 12
    • Posts: 20

    Hello,

     

    I was wondering if it is possible to plot several differnt values in a show me, or some scripting tool.  For example I have calculated Value V8 on the Y axis, and would like to plot a verticle line on the date when ever this V8 value equals a pre-assigned value.  

    Capture9

     

    Many thanks

    Mario

    #52235
    Matthew
    Matthew
    • Topics: 4
    • Replies: 137
    • Posts: 141

    Hi Mario,

    With your example, If you are going to have 1 script showing multiple plots, they are going to share a scale. This means one plot showing values between 0 – 360 (in the example of planetary longitude) and others that are true / false (1 or 0).

    On their own this won’t work great, but you can get around it by using IF() to change the True value to 360 so that it works in within the scripts overall scale.

    Here is a quick example:

    The above script produces the following result:

    Ex1

    Another way to do this would be to have the scripts in their own Show View windows, then just merge them into one, the scales can be unlinked so you don’t have to worry about adding an IF() function.

    Ex2

    #52251
    Avatar
    Mario
    • Topics: 8
    • Replies: 12
    • Posts: 20

    Thanks Matthew,

     

    I will have a look and see if I can apply this to my script 🙂

    Best regards

    Mario

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close