Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/23/26 21:52
WFO Training with parallel cores Zorro64
by Martin_HH. 02/23/26 15:29
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Martin_HH), 6,079 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to plot 2 series in the same NEW window #427608
08/10/13 16:03
08/10/13 16:03
Joined: Jul 2013
Posts: 522
D
dusktrader Offline OP
User
dusktrader  Offline OP
User
D

Joined: Jul 2013
Posts: 522
I'm sorry but I have another n00b question that I can't figure out here. I can't seem to find any examples of this either smirk

I have 2 series I'm plotting with plot() and I want to visualize when they cross each other.

If I use a command like this:
plot("EquityCurve",EquityCurve[0],1,GREEN);
plot("EquityLP",LowPass(EquityLP,66),1,BLUE);

...then it plots those series in separate windows. But I want to see them in the same window crossing over each other.

THANKS

Re: How to plot 2 series in the same NEW window [Re: dusktrader] #427609
08/10/13 16:10
08/10/13 16:10
Joined: Nov 2012
Posts: 126
B
blaub4r Offline
Member
blaub4r  Offline
Member
B

Joined: Nov 2012
Posts: 126
Try this one:

plot("EquityCurve",EquityCurve[0],1,GREEN);
plot("EquityLP",LowPass(EquityLP,66),0,BLUE);

1 means new window, 0 uses the last window

Re: How to plot 2 series in the same NEW window [Re: blaub4r] #427611
08/10/13 16:50
08/10/13 16:50
Joined: Jul 2013
Posts: 522
D
dusktrader Offline OP
User
dusktrader  Offline OP
User
D

Joined: Jul 2013
Posts: 522
Awesome, thank you! I may have mis-read the manual on this. It works now the way I wanted!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1