From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eOP2IEA+w15BTQAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 02:02:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SA8JHUA+w151MgAA1q6Kng (envelope-from ) for ; Tue, 19 May 2020 02:02:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E141694053D for ; Tue, 19 May 2020 02:02:39 +0000 (UTC) Received: from localhost ([::1]:39494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaraY-0001e1-Tg for larch@yhetil.org; Mon, 18 May 2020 22:02:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaraE-0001cx-9S for emacs-orgmode@gnu.org; Mon, 18 May 2020 22:02:18 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:32938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaraD-0006ER-6T for emacs-orgmode@gnu.org; Mon, 18 May 2020 22:02:18 -0400 Received: by mail-pg1-x52b.google.com with SMTP id s10so3430368pgm.0 for ; Mon, 18 May 2020 19:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version; bh=DD7yfq2hxX7Y/aBFI2GEWvyMVNZFFT1S3eT+u9+NuHs=; b=glpbYCP72VMYZbij6h8IxTjgmB4gJwaFf+fmKxKZdpdgBRQ7FNTfC5FRPSyHoC9omG d8mVYsoGI6qAeEVrZiPe69sZsALEhTHn6/X2COfa12tH+6eAY8F763RgW49FhqqYE2/o MRtUa7uVb54ffkVEU9n1dHloPgrWoUV1DrGR7+9w8xIkbicnWLC3PZ7QNtkJ4ldomorJ Y1tIm0RYKj2uK5/HtOweWx4sQuyKvVNwyKORZG/MTKGJfhCenJPUlUcLJWjcs7BB+4jM vFMvFcUaGpiBmg/ei4a5xMfYq2rVZwHpt47zGzG69NmFe57x4IqDYgo99MVT/bC2lLEG ODIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:subject:mime-version; bh=DD7yfq2hxX7Y/aBFI2GEWvyMVNZFFT1S3eT+u9+NuHs=; b=p/ZtQtEVsor5jWmPWvMdRDHKjgup0ND8VAL7fVUBkz5T9d8K1wvPIS1AJtBCj7FDkc 70jbtAZjySJpj1WKmTvYXq4ZJ/IdoahW0g9ToAmjJygM+lb9VuCADOdUNZhol+hkws+i BWHe8eeXingAavOloneAFzH6Sen7l/Ga7NsYRPufJxpdbX20ukwiTXxXA3/fhH0UJbDt cxBQl4gzg1CsJKYoYyVLuz5s/XmBiUvXm2e1gjG+2CbObsj8mD8TOyZjlZlzciEpPPBG fI0H25AIhkAybLqswO7pOP4MI//uSezePyTHIPdkGfejXQ+TFfqaq9aOqDb+ZbHB/o8c SAeg== X-Gm-Message-State: AOAM530f/RE8wbnp5XZ51HGqid+gPerVvx/ieHpibcjTs4bMJcEOq07O UtAycSkLNtvzcWVYvstWRRcNxEoh X-Google-Smtp-Source: ABdhPJyU81VUBc3fwTRo7KxPgRxRkHTHxr1zRjVqcRaXMDIr/zfW7r3oKOrMcXoTI7WkqWK8ccBddw== X-Received: by 2002:a62:178b:: with SMTP id 133mr17996346pfx.238.1589853735210; Mon, 18 May 2020 19:02:15 -0700 (PDT) Received: from tranquillity (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id 1sm10114220pff.180.2020.05.18.19.02.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2020 19:02:14 -0700 (PDT) Date: Tue, 19 May 2020 10:02:11 +0800 From: Timothy To: "=?utf-8?Q?emacs-orgmode=40gnu.org?=" Message-ID: <5A3532F2-9C92-4ADE-8B64-4EA49301FCD0@getmailspring.com> Subject: (Feature to Potentially Upstream) extending org-plot.el: some work done, more to go X-Mailer: Mailspring MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5ec33e23_3c7851ac_8ce" Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x52b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=glpbYCP7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.50 X-TUID: QuhC74y6DiqP --5ec33e23_3c7851ac_8ce Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Good news=21 This is the last of my =22things I want to contact the maili= ng list about=22 backlog =F0=9F=98=9B So, I recently wanted to be able to create a radar chart in org, using =23= +PLOT without a 500 character =23+PLOT line. I started with advice-override, but quickly realised it would be better j= ust to switch out org-plot.el with a modified version, which can be found= here: https://github.com/tecosaur/emacs-config/blob/master/lisp/org-plot= .el As this currently stands, with the below table and plot line I can produc= e this plot https://media.githubusercontent.com/media/tecosaur/emacs-conf= ig/master/misc/document-format-comparison.png. (https://media.githubuserc= ontent.com/media/tecosaur/emacs-config/master/misc/document-format-compar= ison.png) =23+PLOT: transpose:yes type:radar min:0 max:4 file:=22misc/document-form= at-comparison.png=22 =7C =46ormat =7C =46ine-grained-control =7C Initial Effort =7C Syntax sim= plicity =7C Editor Support =7C Integrations =7C Ease-of-referencing =7C V= ersatility =7C =7C-------------------+----------------------+----------------+----------= ---------+----------------+--------------+---------------------+---------= ----=7C =7C Word =7C 2 =7C 4 =7C 4 =7C 2 =7C 3 =7C 2 =7C 2 =7C =7C LaTeX =7C 4 =7C 1 =7C 1 =7C 3 =7C 2 =7C 4 =7C 3 =7C =7C Org Mode =7C 4 =7C 2 =7C 3.5 =7C 1 =7C 4 =7C 4 =7C 4 =7C =7C Markdown =7C 1 =7C 3 =7C 3 =7C 4 =7C 3 =7C 3 =7C 1 =7C =7C Markdown + Pandoc =7C 2.5 =7C 2.5 =7C 2.5 =7C 3 =7C 3 =7C 3 =7C 2 =7C= The colours are a doom-specific bit, because I draw them from the current= doom theme. I figure this could just be replaced with a general purpose = entry point into the plot generation script where the user can add a 'cus= tom preamble' function. I'm also interested in refactoring the type:XXX bit so that it's more gen= eral, less hardcoded. I don't know what may be involved, but I'm thinking= something similar to org export when you can define a new export functio= n could be nice (hough I imagine that example is far more complicated tha= n this would be). I'm hoping that someone may be interested enough to provide feedback, and= idealy help me extend org-plot in this manner, with the goal of having t= his functionality upstreamed (assuming interest in doing so). Please let me know=21 All the best, Timothy (p.s. as mentioned in my first email, I am going to try getting dragged d= own this rabbit-hole again till late june) --5ec33e23_3c7851ac_8ce Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Good news=21= This is the last of my =22things I want to contact the mailing list abou= t=22 backlog =F0=9F=98=9B

So, I recently wanted to be ab= le to create a radar chart in org, using =23+PLOT witho= ut a 500 character =23+PLOT  line.
<= div>I started wi= th advice-override, but quickly realised it would be better just to switc= h out org-plot.el with a modified version, which can be found here: = https:/= /github.com/tecosaur/emacs-config/blob/master/lisp/org-plot.el=
As this currently stands, with the below table and plot line= I can produce this plot <= a href=3D=22https://media.githubusercontent.com/media/tecosaur/emacs-conf= ig/master/misc/document-format-comparison.png=22 title=3D=22https://media= .githubusercontent.com/media/tecosaur/emacs-config/master/misc/document-f= ormat-comparison.png=22>https://media.githubusercontent.com/media/tecosau= r/emacs-config/master/misc/document-format-comparison.png.
=23+PLOT: transpose:yes type:radar min:0 m= ax:4 file:=22misc/document-format-comparison.png=22
=7C =46ormat          = ;  =7C =46ine-grained-control =7C Initial Effort =7C Syntax simplici= ty =7C Editor Support =7C Integrations =7C Ease-of-referencing =7C Versat= ility =7C
=7C-------------------+-----------------= -----+----------------+-------------------+----------------+-------------= -+---------------------+-------------=7C
=7C Word&= nbsp;           &n= bsp; =7C           = ;         2 =7C   =            4 =7C &= nbsp;           &n= bsp;   4 =7C        &nb= sp;     2 =7C      &nbs= p;     3 =7C       = ;            2 =7C=            2 =7C=
=7C LaTeX        = ;     =7C       &n= bsp;            4 = =7C           &nbs= p;  1 =7C          = ;       1 =7C     =          3 =7C   &= nbsp;        2 =7C   &n= bsp;           &nb= sp;   4 =7C        &nbs= p;  3 =7C
=7C Org Mode    = ;      =7C      &n= bsp;           &nb= sp; 4 =7C          &nbs= p;   2 =7C         = ;      3.5 =7C     &nbs= p;        1 =7C    = ;        4 =7C    =             &= nbsp;  4 =7C         &n= bsp; 4 =7C
=7C Markdown    &nb= sp;     =7C       =              = 1 =7C           &n= bsp;  3 =7C         &nb= sp;       3 =7C    &nbs= p;         4 =7C   = ;         3 =7C   =             &= nbsp;   3 =7C        &n= bsp;  1 =7C
=7C Markdown + Pandoc =7C &n= bsp;           &nb= sp;    2.5 =7C       &n= bsp;    2.5 =7C       &= nbsp;       2.5 =7C    =           3 =7C  &= nbsp;         3 =7C  &n= bsp;           &nb= sp;    3 =7C       &nbs= p;   2 =7C
The colours are a doom-specific bit, b= ecause I draw them from the current doom theme. I figure this could just = be replaced with a general purpose  entry point into the plot genera= tion script where the user can add a 'custom preamble' function.

I'm also interested in refactoring the type:XXX bit so that it's more ge= neral, less hardcoded. I don't know what may be involved, but I'm thinkin= g something similar to org export when you can define a new export functi= on could be nice (hough I imagine that example is far more complicated th= an this would be).

I'm hoping that someone may be interested = enough to provide feedback, and idealy help me extend org-plot in this ma= nner, with the goal of having this functionality upstreamed (assuming int= erest in doing so).
Please let me know=21

=
All the bes= t,

Timothy

(= p.s. as mentioned in my first email, I am going to try getting dragged do= wn this rabbit-hole again till late june)
--5ec33e23_3c7851ac_8ce--