From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CJCcB5CWh2DMZgAAgWs5BA (envelope-from ) for ; Tue, 27 Apr 2021 06:44:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AMIhA5CWh2BqCAAAbx9fmQ (envelope-from ) for ; Tue, 27 Apr 2021 04:44:00 +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 82E4F29A68 for ; Tue, 27 Apr 2021 06:43:59 +0200 (CEST) Received: from localhost ([::1]:58850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbFZm-0004ix-9Y for larch@yhetil.org; Tue, 27 Apr 2021 00:43:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbFZ9-0004id-T2 for emacs-orgmode@gnu.org; Tue, 27 Apr 2021 00:43:19 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:39812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbFZ8-0002zj-BN for emacs-orgmode@gnu.org; Tue, 27 Apr 2021 00:43:19 -0400 Received: by mail-lf1-x12f.google.com with SMTP id x20so61400095lfu.6 for ; Mon, 26 Apr 2021 21:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=EYl2Raedi6/mVgM4EtfgktyDMOn8TLmwnIeWUuD1cf0=; b=V5ZiUOpROWWI5QLLc8G5TFDpz5UJqhiXBhoTwXoiDMZHjAcThG2W4MazO639/wGQ+R /y1X1aoursgSPWhvPoCxDm4zeIyrF/IJOeyFXGEVC2ezsQ2oJyuwqMtDuREBDEU8z86O LLiwIT6PNcEi8hqJeD6mhyOVrXgiy2REdITOlpmOYl7NwUjDM1iAA7w82dTRoICizEqh 73Q6zsy5OeQrdQ3sNcCv4CyBgvj8v9L1+s7dqYWfHaI+qRFc9lUiLZZhB1h11Gg4zv8r GFM6V/vTI6S4Zg2q+LJa3QGC9HoViW009ZxsI5jAZszRA/MV4JsSytM/X4ujqjdItOaE 1xGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=EYl2Raedi6/mVgM4EtfgktyDMOn8TLmwnIeWUuD1cf0=; b=lxJNmb5xhHowzVek9ias82+u1ITgUa8dKgkeryUpM2hEtEqQGQGX+zgd5s1hyCeE61 lE/LZVkSdjXVU4s0lJHjwJp4jBC7yoxmoJE+RX5nlI8DrgRVbZaqWb5ByPXEPTZcJqcH kgLZeSo/MYSXf28A8CzATrw+eLAewwzIcKb2KzfsAB6Fr09eVs64dhLpC5uc2rzW7muc nTJIw1UoqZDSK9v3ut8QaGe7fQiGcofzzbQyRdgGHUA59e4MPzo3PVJU3y/7DchtCSQx ivbyy2eax9mtlb5XZMyQOgc0AMWOTJNooVREpDeQ2YtNBQQWTs1zaZqhyEC1YchrUV8s 3shg== X-Gm-Message-State: AOAM533ew20b8scIZYmbybalyFmnztMVmYIIQBGdJhfPZvuc+9AwLqBO 4JtDV8TbyxakVf+I/Fupxoc= X-Google-Smtp-Source: ABdhPJxx+4jGNM9b11T/t8SkEHcavuyHsHc9NhS13KtiDAbaffnFwUj8jng1YEXAV8g5KY/8DEBdww== X-Received: by 2002:a05:6512:3089:: with SMTP id z9mr1908574lfd.172.1619498596588; Mon, 26 Apr 2021 21:43:16 -0700 (PDT) Received: from localhost ([141.105.67.194]) by smtp.gmail.com with ESMTPSA id s25sm1598035lfc.63.2021.04.26.21.43.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Apr 2021 21:43:15 -0700 (PDT) From: Ihor Radchenko To: Timothy Subject: Re: Bug: org-plot gives Invalid function error In-Reply-To: <87czug5qsp.fsf@gmail.com> References: <87r1ix565x.fsf@gmail.com> <87zgxkmmf4.fsf@localhost> <87czug5qsp.fsf@gmail.com> Date: Tue, 27 Apr 2021 12:47:41 +0800 Message-ID: <87tunsmiz6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=yantar92@gmail.com; helo=mail-lf1-x12f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Cc: emacs-orgmode@gnu.org 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=1619498639; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EYl2Raedi6/mVgM4EtfgktyDMOn8TLmwnIeWUuD1cf0=; b=hShRdh1R9AOmpdSjVrgaUfoe+caj+wA3r3RsdbSS2j4ktriVLkyP5ib1E0X24U5xUhwtKd O7q2HvpygNGJRz/Mezy1VNySMjI9WLsoAEpXxkuHGrxPEqytcIzPquZ0ytyNALX1yeM5wA gC90pwJ70BeZk9dd1mD+Jk3VC1dONk8XWPOw0kVHjToq8XmPomrpXO71DP/7tUn0Cdovim 8r7QusFjhitLhwqzvIccO157aMoG8/iNt+c7c008FiHqCzmlVIPb5Xb0GuGtkl5qDcqBrx 8I4BYaJSupYm4KQdAstmjwicU+mB20gUXNEr8n3T70hifYQwdrcYOcVgfqOUBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619498639; a=rsa-sha256; cv=none; b=TAc65hsO3bAGzLEXWM9prmP6MwODU8kb2FX+NrBg+/xDxjAdjQ1vJHq2S8jdNKmUCQ7PZj TvLBMdvrRJKHOzArx0HO/2wDT4yggY75HW5gkYJNxg+ep651YpJl1nNftBvFN5cX4ULOas ww/xgmp7185dRUiX08WWb2U3naPegnHFhD7wVCNpjT2z9LChV8qAqgI04n82gVVkER6qIm Xn6PFY3gmELzvtd0LqCykj7ykkYNGzy705vSikUrbdf4MgwOb74+jQJCRpURD7MTIBqP9i xxlyt54XXEH505/2xG48QtcdJzr3sYZlHlugKrv/S85cNOqtbICWECCcmMHAEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=V5ZiUOpR; dmarc=fail reason="SPF not aligned (relaxed)" 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: -0.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=V5ZiUOpR; dmarc=fail reason="SPF not aligned (relaxed)" 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: 82E4F29A68 X-Spam-Score: -0.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: WNuthilRu4oL Timothy writes: > That's why the reset command is run: > https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-plot.el#L560 Sorry, I missed that. It should indeed make things much less likely to break. One exception is when plot depends on settings defined in .gnuplot file. reset command clears user customisations in .gnuplot. Of course, the described bug may be related to something else. [after some testing...] Of course, it is: > plot '/tmp/org-plotiPs0To' using 1:3 with histograms title 'H-index' This is not valid gnuplot command to create histograms. One needs to use: plot '/tmp/org-plotiPs0To' using 3:tics(1) with histograms title 'H-index' Best, Ihor