Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: boxxyerrorbars with variable color Followup-To: comp.graphics.apps.gnuplot Date: Thu, 17 May 2012 10:22:56 -0700 Organization: gnuplot development team Lines: 35 Message-ID: References: <1a90425c-5905-47da-a121-ff0905f4e499@w19g2000yqb.googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Thu, 17 May 2012 17:22:58 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="13649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/d0zPEmxM52FYvgMf+JIJx" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:5Lxeult3WrLBltQceTk2OYqBlKs= Xref: csiph.com comp.graphics.apps.gnuplot:1125 Daniel wrote: > I've been trying to plot a boxxyerrorbars with variable color as the > extra column. > > When I used the data file with 5 columns (x, y, x_delta, y_delta, > color) and the command: > > plot "" using 1:2:3:4:5 with boxxyerrorbars linecolor rgbcolor > variable > > I got "warning: Unrecognized 5 column plot style; resetting to > boxerrorbars" and it looks like gnuplot interpret the data as 6 > columns format, with variable color = 0 (black) in all data points. > > I tried to switch to 7 column data file (x, y, x_low, x_high, y_low, > y_high, color). This time, the command: > > plot "" using 1:2:3:4:5:6:7 with boxxyerrorbars linecolor > rgbcolor variable > > does not give me any error. But still the colors were not read from > the data file. All data points are in black (rgb=0?) > > Does anyone know what the problem is? Both your commands (5 or 7 input columns) work fine in gnuplot version 4.6. The first one (5 columns) returns an error for me in earlier versions; I'm not sure why. But the second form (7 columns) works correctly in both version 4.4.4 and 4.6.0 as tested here. If you have a version earlier than 4.4.4 then I think you would need to upgrade in order to use variable color with this plot style. Ethan