From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Foivos S. Zakkak" Subject: Re: Emacs-orgmode Digest, Vol 115, Issue 21 Date: Fri, 18 Sep 2015 19:27:46 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcyW0-00067J-Kz for emacs-orgmode@gnu.org; Fri, 18 Sep 2015 12:28:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcyVx-0005VO-Fk for emacs-orgmode@gnu.org; Fri, 18 Sep 2015 12:28:00 -0400 Received: from mailgate-4.ics.forth.gr ([139.91.1.7]:38348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcyVx-0005Ur-5F for emacs-orgmode@gnu.org; Fri, 18 Sep 2015 12:27:57 -0400 Received: from av2.ics.forth.gr (av2in.ics.forth.gr [139.91.1.73]) by mailgate-4.ics.forth.gr (8.14.5/ICS-FORTH/V10-1.9-GATE-OUT) with ESMTP id t8IGRr1c007598 for ; Fri, 18 Sep 2015 19:27:55 +0300 (EEST) Received: from transarch (ppp046176006088.access.hol.gr [46.176.6.88]) (authenticated bits=0) by enigma.ics.forth.gr (8.15.1//ICS-FORTH/V10.5.0C-EXTNULL-SSL-SASL) with ESMTPSA id t8IGRqjN022602 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 18 Sep 2015 19:27:53 +0300 In-reply-to: <20150918104707.GT30959@chitra.no-ip.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Fri, Sep 18, 2015 at 12:47:07 +0200, Suvayu Ali wrote: > On Thu, Sep 17, 2015 at 08:05:16PM +0300, Foivos S. Zakkak wrote: >> Hello list, >> >> I am trying to plot some candlesticks through org-plot/gnuplot, but I >> fail. >> >> It seems that org-plot/gnuplot supports a list of numbers in deps, i.e., >> deps:(2 3 4) and then creates a string of the form: >> 'test.dat' using X with lines >> where X is first 2 then 3 and finally 4 for deps:(2 3 4) >> >> To plot candlesticks though, gnuplot expects a line of the form: >> 'test'.dat' using 1:3:2:6:5:xticlabels(7) with candlesticks whiskerbars > > Org plot is there for quick and easy plotting. I see what you mean, but I believe something like --8<---------------cut here---------------start------------->8--- #+PLOT: ind:1 deps:("1:4:3:7:6") with:candlesticks |------------+-----------+------+------+--------+------+------| | # Variable | mean | min | q1 | median | q3 | max | |------------+-----------+------+------+--------+------+------| | 1 | 2166 | 2166 | 2166 | 2166 | 2166 | 2166 | | 15 | 2166.6666 | 2166 | 2166 | 2167 | 2167 | 2168 | | 255 | 2167.1803 | 2166 | 2167 | 2167 | 2168 | 2169 | | 271 | 2247.3874 | 2242 | 2246 | 2247 | 2249 | 2252 | |------------+-----------+------+------+--------+------+------| --8<---------------cut here---------------end--------------->8--- is still pretty simple and yet so powerful. > I would recommend using babel with gnuplot source blocks. You can > easily pass tables as data, and configure your plot as you wish. > Unfortunately I have not done this recently, so I don't have any > simple examples handy, but I'm sure there are plenty on Worg. > > Hope this helps, > It sure does! I'll have a look into it, thanks. Foivos > > -- > Suvayu > > Open source is the future. It sets us free. > -- WWW: foivos.zakkak.net PGP: 7B40 69D9 29BA AE91 C0B3 220A 0846 BFD1 03F0 4EA1