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 wCkAOU+5ql6oawAA0tVLHw (envelope-from ) for ; Thu, 30 Apr 2020 11:41:03 +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 sCGgGli5ql4dFwAAB5/wlQ (envelope-from ) for ; Thu, 30 Apr 2020 11:41:12 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 97FCE940053 for ; Thu, 30 Apr 2020 11:41:11 +0000 (UTC) Received: from localhost ([::1]:35432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU7Z0-0007UV-43 for larch@yhetil.org; Thu, 30 Apr 2020 07:41:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60452) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU7YO-0007PB-8z for emacs-orgmode@gnu.org; Thu, 30 Apr 2020 07:40:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jU7Xx-0007gT-GR for emacs-orgmode@gnu.org; Thu, 30 Apr 2020 07:40:31 -0400 Received: from ciao.gmane.io ([159.69.161.202]:49886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jU7Xx-0007gM-4Z for emacs-orgmode@gnu.org; Thu, 30 Apr 2020 07:40:05 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jU7Xt-000P2W-Tw for emacs-orgmode@gnu.org; Thu, 30 Apr 2020 13:40:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Stephan Fabel Subject: org-plot - changing colors Date: Thu, 30 Apr 2020 04:25:48 -0700 Message-ID: <87mu6tcj0j.fsf@address-here.net> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:j0CGqblq0SvTUKjq9Bq5wB5+g8s= Received-SPF: pass client-ip=159.69.161.202; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/30 07:11:30 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 159.69.161.202 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 X-Spam-Score: -0.41 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 2001:470:142::17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-0.41 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49430977033267]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.17), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; R_DKIM_NA(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[stephanfabel@gmail.com,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed), No valid DKIM,none] X-TUID: f2RW8AgaV98M Hello, apologies if this is the wrong group. I'm trying to plot a table which looks like this: | Team | Bu | R | Bk | G | T | % Bu | % R | % Bk | %G | |-----------+----+---+----+----+----+------+------+------+------| | Team 1 | 4 | 5 | 2 | 24 | 35 | 11.4 | 14.3 | 5.7 | 68.6 | | Team 2 | 3 | 2 | 1 | 35 | 41 | 7.3 | 4.9 | 2.4 | 85.4 | | Team 3 | 5 | 8 | 3 | 6 | 22 | 22.7 | 36.4 | 13.6 | 27.3 | | Team 4 | 6 | 4 | 5 | 15 | 30 | 20.0 | 13.3 | 16.7 | 50.0 | | Team 5 | 5 | 7 | 4 | 22 | 38 | 13.2 | 18.4 | 10.5 | 57.9 | | Team 6 | 8 | 9 | 6 | 27 | 50 | 16.0 | 18.0 | 12.0 | 54.0 | | Team 7 | 1 | 3 | 0 | 19 | 23 | 4.3 | 13.0 | 0.0 | 82.6 | | Team 8 | 10 | 7 | 1 | 4 | 22 | 45.5 | 31.8 | 4.5 | 18.2 | | Team 9 | 3 | 4 | 1 | 15 | 23 | 13.0 | 17.4 | 4.3 | 65.2 | | Team 10 | 2 | 4 | 1 | 18 | 25 | 8.0 | 16.0 | 4.0 | 72.0 | | Team 11 | 1 | 1 | 0 | 21 | 23 | 4.3 | 4.3 | 0.0 | 91.3 | | Team 12 | 8 | 2 | 1 | 45 | 56 | 14.3 | 3.6 | 1.8 | 80.4 | Plotting this with #+PLOT: ind:1 deps:(7 8 9 10) type:2d with:histogram \ set:"ylabel '%'" set:"style fill solid 0.5" works like a charm, except I'd like to change the colors of the histogram bars (as it turns out Bu=Blue, R=Red, Bk=Black and G=Green as per the title row in the table). What's the recommended way to go about this? I'm not super familiar with gnuplot, but before I go deep there, I figured I'd ask if there's a simple 'org-plot'-way of doing this? Thanks, Stephan