emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Re: Generating boxplot (candlestick) diagrams (babel or org-plot)
Date: Sun, 8 Jan 2012 18:30:37 +0100	[thread overview]
Message-ID: <2012-01-08T17-48-55@devnull.Karl-Voit.at> (raw)
In-Reply-To: 87k452176e.fsf@gmx.com

Hi Eric!

* Eric Schulte <eric.schulte@gmx.com> wrote:
>
> In more complex examples like these I would recommend using a gnuplot
> code block rather than using Org-plot.  

Thought so. Thanks for confirmation.

> Gnuplot has an extremely
> comprehensive built in help system, typing "help boxplot" at the gnuplot
> REPL returns the following.

My gnuplot (Version 4.4 patchlevel 2) returns:

,----
| gnuplot> help boxplot
| Sorry, no help for 'boxplot'
| gnuplot>
`----

gnuplot-doc is installed. Do I miss something else? «help
candlestick» works. Is «boxplot» a part of an additional extension
package?

> Also see the help for "candlestick".  Using this information the
> attached Org-mode file generates a candlestick plot using a Gnuplot code
> block.
>
> #+name: sample
>| x | box_min | whisker_min | whisker_high | box_high |
>|---+---------+-------------+--------------+----------|
>
> #+begin_src gnuplot :var data=sample :results silent
>   set xrange [0:7]
>   plot data using 1:2:3:4:5 with candlesticks
> #+end_src

Your example works like charm at my side. 

And now I also understand the problem I had: I thought that gnuplot
is able to derive min/max whisker min/max from the data columns by
itself.

Well - this is bad news to me since I do not see any reasonable way
to use gnuplot for that purpose. I might need to learn R or
Python/matplotlib :-(

Thanks for your help anyway!

-- 
Karl Voit

  reply	other threads:[~2012-01-08 17:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08 15:44 Generating boxplot (candlestick) diagrams (babel or org-plot) Karl Voit
2012-01-08 16:38 ` Eric Schulte
2012-01-08 17:30   ` Karl Voit [this message]
2012-01-08 18:05     ` Eric Schulte
2012-01-09 16:46       ` Karl Voit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2012-01-08T17-48-55@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).