Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 533 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
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