From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kK1rAfFn2V4uCAAA0tVLHw (envelope-from ) for ; Thu, 04 Jun 2020 21:30:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4LP2OPBn2V7OfQAAB5/wlQ (envelope-from ) for ; Thu, 04 Jun 2020 21:30:24 +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 5705A9404D7 for ; Thu, 4 Jun 2020 21:30:24 +0000 (UTC) Received: from localhost ([::1]:48168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgxRP-0005Ni-7X for larch@yhetil.org; Thu, 04 Jun 2020 17:30:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgxQq-0005NZ-Ix for emacs-orgmode@gnu.org; Thu, 04 Jun 2020 17:29:48 -0400 Received: from devianza.investici.org ([198.167.222.108]:23815) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgxQo-0003VF-Lc for emacs-orgmode@gnu.org; Thu, 04 Jun 2020 17:29:48 -0400 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 7E954E05BD; Thu, 4 Jun 2020 21:29:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anche.no; s=stigmate; t=1591306176; bh=oBB6LP+CiDoMOUw7DvYKHYnbELhby+rglJ8FCQZ4wgM=; h=Subject:To:References:From:Date:In-Reply-To:From; b=QAk5NRoJhn31c/YQkqP3JSLKLMH8HCSloItA6xJRDxPUHpOkihkv9EvDRhEIavil7 mxQRmZqyUTpMTSE8qHOrLnCcqr6D4XYlbxZebIihtQWrCdWw6F7uSGkRiO0YZ6fXBR ezeQYYG4oGE8mf+sp2yPpqCguqaIRXtCTxGFxxJU= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: mariotomo@inventati.org) by localhost (Postfix) with ESMTPSA id 98115E059A; Thu, 4 Jun 2020 21:29:35 +0000 (UTC) Subject: Re: a couple of items To: emacs-orgmode@gnu.org References: <1b6d4075-e1d1-172e-f150-f5d4e179bf62@anche.no> <87a71jcaih.fsf@ucl.ac.uk> From: Mario Frasca Message-ID: Date: Thu, 4 Jun 2020 16:29:19 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: <87a71jcaih.fsf@ucl.ac.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=198.167.222.108; envelope-from=mario@anche.no; helo=devianza.investici.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/04 17:29:36 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, 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=anche.no header.s=stigmate header.b=QAk5NRoJ; dmarc=none; 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: -1.21 X-TUID: kZkX6fPYcjWd hi.  thank you.  seeing hand written code in the target language is always useful, when writing a translator.  :+1:  :-) On 04/06/2020 06:53, Eric S Fraga wrote: > On Wednesday, 3 Jun 2020 at 16:06, Mario Frasca wrote: >> consider this table, partially from the Wikipedia: > If you are willing to invoke gnuplot directly, using a src block, the > following is a start towards what you might want. Proper nice looking > colours etc. left as an exercise for the reader... ;-) > > #+begin_src org > ,#+name: table > | Region | Area | Production | Productivity | > | | (Mha) | (Mtonnes) | (tonnes/ha) | > |----------------+--------+------------+--------------| > | Western Europe | 2.490 | 5.730 | 2.3012048 | > | North America | 2.960 | 5.756 | 1.9445946 | > | South America | 0.102 | 0.196 | 1.9215686 | > | Middle East | 4.462 | 6.950 | 1.5575975 | > | North Africa | 3.290 | 3.214 | 0.9768997 | > | Others | 3.756 | 3.540 | 0.9424920 | > |----------------+--------+------------+--------------| > | World | 17.060 | 25.360 | 1.4865181 | > ,#+TBLFM: $4=$3/$2 > > ,#+begin_src gnuplot :var data=table[3:8,] :file plot.pdf > reset > set term pdfcairo color > set xtics rotate 90 > set style fill solid border lt 1 > plot data using 2:xticlabels(1) with histogram linecolor "blue" title 'Area', \ > '' using 3 with histogram lt 1 linecolor "red" title 'Production', \ > '' using 4 with points pt 5 linecolor black title 'Productivity' > ,#+end_src > #+end_src >