all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Daniel Fleischer <danflscr@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Plotting in Emacs?
Date: Wed, 24 May 2023 06:36:45 +0200	[thread overview]
Message-ID: <878rdez6oy.fsf@mbork.pl> (raw)
In-Reply-To: <m2fs7m3os6.fsf@gmail.com>


On 2023-05-23, at 20:07, Daniel Fleischer <danflscr@gmail.com> wrote:

> Marcin Borkowski [2023-05-23 Tue 19:18] wrote:
>
>> Well, as I said in my message, I explicitly want to avoid external
>> dependencies (like gnuplot).  And for a solution using gnuplot, showing
>> the plot in the Emacs buffer is a must.
>>
>> That said, chart.el (recommended elsewhere in this thread) is definitely
>> one interesting possibility.
>
> This library looks experimental, with only ascii bar plot support. If
> you want anything nicer you got to use an external package; even Emacs
> built-in Calculator uses gnuplot to draw functions and data.

Well, I was under the impression that ASCII bar plots are the main
purpose of that package...

> As for showing the plot, the babel code block I showed generates the
> following result section
>
> #+RESULTS:
> [[file:a.png]]
>
> Then you only need to make sure org mode shows images by calling
> `org-toggle-inline-images' and it's part of the buffer, if that wasn't
> clear.

Ah, thanks, I missed that.

Still, I think I will (eventually) write my own.  Gnuplot plots are
anything but good-looking (unless properly configured which I do not how
to do) - for good-looking plots I'd go to pgfplot, and for my use-case
I'd really prefer an ASCII art one.

Best,

-- 
Marcin Borkowski
http://mbork.pl



  reply	other threads:[~2023-05-24  4:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-18  4:16 Plotting in Emacs? Marcin Borkowski
2023-04-18  4:38 ` Jean Louis
2023-05-23 17:14   ` Marcin Borkowski
2023-04-18  7:39 ` Tak Kunihiro
2023-05-20  7:55   ` Marcin Borkowski
2023-05-20  8:26 ` Daniel Fleischer
2023-05-23 17:18   ` Marcin Borkowski
2023-05-23 18:07     ` Daniel Fleischer
2023-05-24  4:36       ` Marcin Borkowski [this message]
2023-05-25  2:32     ` Emanuel Berg

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

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

  git send-email \
    --in-reply-to=878rdez6oy.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=danflscr@gmail.com \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.