From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uJWyHcY51l/5SgAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 15:56:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wMhnGcY51l98LwAAbx9fmQ (envelope-from ) for ; Sun, 13 Dec 2020 15:56:54 +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 A93639402A5 for ; Sun, 13 Dec 2020 15:56:53 +0000 (UTC) Received: from localhost ([::1]:52860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koTjv-00044l-An for larch@yhetil.org; Sun, 13 Dec 2020 10:56:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koTjT-00043d-Cl for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 10:56:23 -0500 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:38607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koTjR-0005NL-ON for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 10:56:23 -0500 Received: by mail-pg1-x531.google.com with SMTP id e2so10782948pgi.5 for ; Sun, 13 Dec 2020 07:56:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=vy5cUzVkhqcVEBSLirBXMBS7h9vZ86idqqLAu4M+3RU=; b=Ck8PQ7zRfneCDQ6jwBQwwqtdVLM4c52RYcUfYcmrl5Bc8i439uS2eB7lx67qUn8/ih 1Xf7ybqsXOVOGDS8/y3iwIKEXerYqytrZr+LVrk/NnCLz9l80w+zvCGoEblFqtJ6zHC7 Gg4A1xiw5pjttJexnxCV/kuPiQoF3REw+IgxuEIL7wdlQean+tmbobqJ1YHcXOm5OMo5 5+VM/6vgnpYjDYaun2x2l4yoppSUEbYgzV7XxnGK+jh27zWnk3Rd9PJEHDr9zIvulzdP IxIq0B5zm6UcVnXdxm0GeppKrjVzsv8zu7M1qI+WlyWlkzsBehCTE+9ZCM+6YV3qpYxM fyGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=vy5cUzVkhqcVEBSLirBXMBS7h9vZ86idqqLAu4M+3RU=; b=cuIs4yJtpduTTOpUfacDbYRUrSAklREJJYwJa8Wqquh//8eVbe09UdhxeklbnNU8cy Ry4toq0Y/gxGmY95lS2H7zj2QpgCkdctq3hjLbFtrNizXnDDJhyztCTFfSI/xjo0Qka9 PgSDm3KZeuOsthPdaEt7m7rw9h6rlf5lRBikMrJtEzo85r69yRvw+dGRR6zmPzFRtnUO I+igYZDl3k47ibPqQqBCwDZASvFSZI9UoV9KkOPJgSZdk1G926EdgvshihWM5B/6LhRA 4C8bKCwaxEhIKbYqpJ7kVaY1kebJawHXR724Id3j2BI8iCAia0lm1tZpi65ueAFU4Cp3 XCPg== X-Gm-Message-State: AOAM532ZreSN8VO78aEDSBE/fMEDKDAg/sC0tJ09A4kP301QernI/acV NPs8UNYAzmMiueAIHzPETE4GA/WfHlc= X-Google-Smtp-Source: ABdhPJw+eWTg5BKdu4AVQfuAa19GaWG41FuFBip/dYIhI4ohjCkdlrdHkOhesiHZv1RlZIIi/5x5JQ== X-Received: by 2002:a63:df4a:: with SMTP id h10mr20404558pgj.25.1607874980018; Sun, 13 Dec 2020 07:56:20 -0800 (PST) Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net. [180.150.91.8]) by smtp.gmail.com with ESMTPSA id e76sm4879244pfh.157.2020.12.13.07.56.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 07:56:19 -0800 (PST) References: User-agent: mu4e 1.4.13; emacs 27.1 From: TEC To: emacs-orgmode@gnu.org Subject: Re: org-plot line colors Date: Sun, 13 Dec 2020 23:45:51 +0800 In-reply-to: Message-ID: <87eejtem3j.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::531; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x531.google.com 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, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Ck8PQ7zR; 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-Migadu-Queue-Id: A93639402A5 X-Spam-Score: -3.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: zLRKXI0BWcju Hi Ian, Sorry for the slow response, I'm marked your email though, so I'm now getting back to you :) ian martins writes: > I wanted to change line colors but didn't find a way. Is there a way? Indeed! Though I do it with lisp, and using my patches. I think I saw a patch about multiline #+plot / set but I forget (ment to send an email about that actually...). In case it helps, here's the sort of thing I have: #+begin_src emacs-lisp (defun org-plot/generate-theme (_type) "Use the current Doom theme colours to generate a GnuPlot preamble." (format "[...] set linetype 1 lw 2 lc rgb '%s' # red set linetype 2 lw 2 lc rgb '%s' # blue [...]") (doom-color 'red) (doom-color 'blue)) (setq org-plot/gnuplot-script-preamble #'org-plot/generate-theme) #+end_src org-plot/gnuplot-script-preamble can be either a function, or a plain string. Regarding the "with lines" bit, I'm not exactly sure what's required to be changed without looking over my patches again =F0=9F=98=85 but I know I = added the capability to adapt the existing plot types quite easily. If a particular modification seems like a good idea, do feel free to share =F0=9F=99=82. Hope that helps a bit, Timothy.