From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QMECEF2JiWBKkgAAgWs5BA (envelope-from ) for ; Wed, 28 Apr 2021 18:12:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MAWhC12JiWBuPwAAB5/wlQ (envelope-from ) for ; Wed, 28 Apr 2021 16:12:13 +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 8F0FD9427 for ; Wed, 28 Apr 2021 18:12:12 +0200 (CEST) Received: from localhost ([::1]:41432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbmnL-0001mh-JR for larch@yhetil.org; Wed, 28 Apr 2021 12:12:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbm7U-0006KO-7q for emacs-orgmode@gnu.org; Wed, 28 Apr 2021 11:28:56 -0400 Received: from ciao.gmane.io ([116.202.254.214]:46798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbm7S-0006aS-KK for emacs-orgmode@gnu.org; Wed, 28 Apr 2021 11:28:55 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lbm7M-0000Of-H9 for emacs-orgmode@gnu.org; Wed, 28 Apr 2021 17:28:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos Subject: Re: splot and #+PLOT keyword Date: Wed, 28 Apr 2021 11:28:44 -0400 Message-ID: <87eeeul977.fsf@alphaville.usersys.redhat.com> References: <87mtti3ba9.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:K/axA6VPVGyHwnmNbAQVUh0vWd4= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619626332; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=LKWs3V2iDcT3aOtXwO03pmgRdwar6GgwnK3QuV6omM4=; b=TU8JVuQZaQoHynWjjqWnVSHJeersNbXhHma3kQ4mxsT8UifGokmiZ7pdh6INCUBglWm46D El6bYNQCoMoFIWmwrMEPID563zDDDjY7NLdYeXQypzjHtDllD4jPg5T4pfdfLuvN4NT/H5 bl456CrY/PbYfAkXvDfxJk3tjY5j6rafwFkCJBDdjVKj/Nhz31PWy3Np0fciavPQI7mCI5 qwUVBJn5rM9W1o0CMwf3HxymePRovTzwtjIbPUtwlFKdLZbo5s6noib+OuraAogKoIEPr4 w5juu5GijwmM6xa/pDseSnX8fAzgeYiYNyW1/1vZnXjEnMlzOh9X0N5X2IWFaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619626332; a=rsa-sha256; cv=none; b=o7pnF11OaeoNMZy9E8/5ttRL+eMD/ZEwUs2BbwvuArql3U9Akug680XjlZwGD75FSGHJz4 AGW+i+LWX7sZ58EUggHjSFrc3QfptZN/Xvnxd7kTVeCJT4YcRIwGfz4s1erk5aVMkYELhk CkCIrKdcjFjD3Vaol0phbLEqyn8VVWR0713tncl1B8AbujCUVQYW5aLnacEtq58JF/uZ/K bcKVNe2xTblAERP9PMbEMVNONVHxChMWFhQU4OGHrJbbnf+vuGUr/yiSy3UvLYCjq2HD9U 4ofetL7cRQ7tj2r132ONSORlWIJvfCyzK8k2xo99qODSzr+neSVwJ4TXIlf+iQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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-Migadu-Spam-Score: -1.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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-Migadu-Queue-Id: 8F0FD9427 X-Spam-Score: -1.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: LCYsXDhG8Kx3 Eric S Fraga writes: > Hello, > > a question/problem regarding the #+plot: keyword. > > I am trying to plot out some data where the table looks like this: > > #+begin_src org > ,#+plot: ind:(6 7) deps:(1) with:"linespoints pt 7" set:"logscale xy" type:3d > | 1 | 81 | 5 | 0 | 2.27 | 0.9729848950975623 | 0.019370016994566613 | 0.0 | > | 2 | 179 | 12 | 2 | 3.68 | 0.42919355355596267 | 0.098179980500945 | 0.0 | > | 3 | 192 | 6 | 4 | 3.73 | 0.022272788298562045 | 107.57399021086516 | 0.0 | > | 4 | 207 | 7 | 8 | 3.78 | 5.793210638997738 | 0.0012069891001225872 | 0.0 | > | 5 | 194 | 10 | 12 | 3.83 | 0.06356594000544429 | 0.04724965431965522 | 0.0 | > | 6 | 216 | 8 | 14 | 3.89 | 0.06342050747033937 | 0.0030380306687021346 | 0.0 | > | 7 | 193 | 7 | 18 | 3.94 | 0.0021538841210584 | 0.05771587421360767 | 0.0 | > | 8 | 193 | 7 | 19 | 3.99 | 0.0010739216097561438 | 0.10625133051680691 | 0.0 | > | 9 | 182 | 6 | 19 | 4.04 | 0.0014893478573963876 | 0.03593357278451856 | 0.0 | > | 10 | 192 | 6 | 21 | 4.10 | 0.013251328328567616 | 0.0006605631984014402 | 0.0 | > #+end_src > > > I have tried a variety of directives for the #+PLOT: keyword but none > give me what I want. I would like to plot column 1 (dependent variable) > versus columns 6 and 7 (independent variables) in 3d. (don't ask ;-)) > > I have also tried: > > #+plot: ind:6 deps:(7 1) ... > > but in all cases I seem to be getting somewhat random data plotted, > possibly columns 2 versus 3 and 4, which makes no sense except that > maybe the "|" table column separator is being retained in the data file > created. Is there any way to stop the data file from being deleted > after plotting? I can inspect the *gnuplot* buffer but cannot see the > actual data. > > 2d plots work just fine, by the way. > > thank you, > eric Have you tried looking at the produced gnuplot script? It goes in a temp file so it's a bit of a pain, but that's my fallback method when I'm really confused :-) -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler