Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1125

Re: boxxyerrorbars with variable color

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: boxxyerrorbars with variable color
Followup-To comp.graphics.apps.gnuplot
Date 2012-05-17 10:22 -0700
Organization gnuplot development team
Message-ID <jp3c5i$dah$1@dont-email.me> (permalink)
References <1a90425c-5905-47da-a121-ff0905f4e499@w19g2000yqb.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


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 "<file>"  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 "<file>" 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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

boxxyerrorbars with variable color Daniel <nikkipui@gmail.com> - 2012-05-17 06:09 -0700
  Re: boxxyerrorbars with variable color sfeam <sfeam@users.sourceforge.net> - 2012-05-17 10:22 -0700
    Re: boxxyerrorbars with variable color Daniel <nikkipui@gmail.com> - 2012-05-17 13:20 -0700

csiph-web