Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,232 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Plotting a vector #452923
06/30/15 15:32
06/30/15 15:32
Joined: Apr 2015
Posts: 26
T
trader6363 Offline OP
Newbie
trader6363  Offline OP
Newbie
T

Joined: Apr 2015
Posts: 26
Is it possible to plot a vector connecting 2 points (x1,y1 and x2 and y2) with a line?
My understanding from the manual is that you can only plot a single point on a time series to mark an event. I would like to plot a line through two points which are independent of time series, in another words the x and y axis are not time based.
Thanks

Re: Plotting a vector [Re: trader6363] #452940
07/01/15 03:02
07/01/15 03:02
Joined: Apr 2014
Posts: 482
Sydney, Australia
B
boatman Offline
Senior Member
boatman  Offline
Senior Member
B

Joined: Apr 2014
Posts: 482
Sydney, Australia
Take a look at the profile.c file in the 'Include' folder. Also search for 'profile.c' in the manual. There are several plots that you can call from that file that don't use a time-based x axis. Based on that, it should be possible to plot what you want.

Also, I understand that the graphics package that comes bundled with R and is now accessible by Zorro's R bridge is quite high-powered and would most likely provide a solution. I haven't used the R bridge yet so can't tell you more than that.

Re: Plotting a vector [Re: boatman] #452942
07/01/15 09:01
07/01/15 09:01
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
profile.c uses no line plot functions AFAIK, but the plotGraph command can plot lines between 2 points.

http://manual.zorro-trader.com/plot.htm

Re: Plotting a vector [Re: jcl] #452989
07/03/15 11:22
07/03/15 11:22
Joined: Apr 2015
Posts: 26
T
trader6363 Offline OP
Newbie
trader6363  Offline OP
Newbie
T

Joined: Apr 2015
Posts: 26
Thanks, was hoping to plot lots of separate vectors on one chart. I will try using R bridge instead.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1