From: Ian Barton <lists@wilkesley.net>
To: emacs-orgmode@gnu.org
Subject: Re: Plotting with gnuplot
Date: Wed, 29 Jul 2015 10:50:02 +0100 [thread overview]
Message-ID: <20150729095002.GB13213@localhost> (raw)
In-Reply-To: <67f68cxgrc.ln2@news.c0t0d0s0.de>
On Thu, Jul 23, 2015 at 08:46:30AM +0200, Michael Welle wrote:
> > With two code blocks, use :session foo for one and :session bar for the
> > other. Does your problem persist?
> yepp, that was the idea. But no success.
>
If I understand the problem correctly, you need to put reset as the
first argument:
#+begin_src gnuplot :var data2015=days_cycling[2:-5] :var data2014=days_cycling[3:-4] :var data2013=days_cycling[4:-4,] :var data2012=days_cycling[5:-4,] :file ../images/number_of_days_cycling.png
reset
set title 'Number of Days Cycling Each Month.'
# set ylabel 'Days' set xlabel 'Speed Mbps' lw2
set style data histogram
set style histogram cluster gap 1
set style fill solid border -1
set boxwidth 0.9
set xlabel 'Month'
set ylabel 'Days'
plot data2015 u 5:xticlabels(1) title "2015", data2014 u 4:xticlabels(1) title "2014", data2014 u 3:xticlabels(1) title "2013", data2014 u 2:xticlabels(1) title "2012"
#+end_src
I have holes in my foor from using that particular gun.
--
Best wishes,
Ian.
next prev parent reply other threads:[~2015-07-29 9:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <6ge28cxntv.ln2@news.c0t0d0s0.de>
2015-07-22 1:02 ` Plotting with gnuplot Thomas S. Dye
[not found] ` <58n38cx51a.ln2@news.c0t0d0s0.de>
2015-07-22 15:36 ` Thomas S. Dye
[not found] ` <67f68cxgrc.ln2@news.c0t0d0s0.de>
2015-07-23 17:29 ` Thomas S. Dye
2015-07-29 9:50 ` Ian Barton [this message]
2015-07-22 10:17 ` Eric S Fraga
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=20150729095002.GB13213@localhost \
--to=lists@wilkesley.net \
--cc=emacs-orgmode@gnu.org \
/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).