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



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.



Many thanks


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:

V1 = PVAL(PLANET=[Mercury]) ;
V2 = V1 CrossesAbove 180 ;
V3 = IF(V2==1,360,0) ;
plot1 = v1;
plot2 = v3;

The above script produces the following result:


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.


Thanks Matthew,


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

Best regards