Extra error bars in Gnuplot!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Extra error bars in Gnuplot!
# 1  
Old 07-23-2010
Extra error bars in Gnuplot!

When I use gnuplot to plot a set of data I get extra y-axis error bars in some random points. Please try the code below, and note the y error bars in the top left corner that don't have any data corresponding to it. Any idea what might be causing this?

Code:
gnuplot >
 set yrange [6:10]
set xrange [6:10]

plot "File.txt" using 1:4:2:3:5:6 with xyerrorbars pointtype 15 title "data"

Where File.txt is:

Code:
9.30096  9.07913  9.4471  9.03737  8.84504  9.37652
7.4  7.2  7.6  7.54402  6.78529  7.8388
9.3979  9.30096  9.47707  9.21213  8.89757  9.42807
7.5  7.3  7.7  7.95419  7.69015  8.2787
8.95418  8.84504  9.04134  8.88643  8.7708  9.05302
8.95418  8.69891  9.11387  8.83245  8.71595  9.02525
7.69891  6.99996  7.95418  6.90305  6.77811  7.66271
7.23039  7.20407  7.25523  6.80614  6.78529  7.81949
8.60202  8.46235  8.7075  8.63341  8.46234  8.7708
7.68119  7.51846  7.79927  6.81287  7.80613  8.43131
7.57974  7.4471  7.68119  8.11389  7.60201  8.2787
8.09685  7.99996  8.17602  7.93947  7.81949  8.43131
7.51846  7.3979  7.61274  7.69892  8.91376  9.48708
7.7075  7.67207  7.74029  8.07913  6.78529  7.79234
9.27868  9.25523  9.30096  9.07182  7.46235  7.98222
7.20407  7.07913  7.30096  7.46235  6.79235  7.91903
7.60202  7.47707  7.69891  7.76338  7.97767  8.47707
7.47707  7.30096  7.60202  7.65316  6.54403  6.71596
7.90302  7.69891  8.04134  8.2787  7.53143  8.20407
7.23039  7.04134  7.36168  6.6812  6.76338  7.66271
7.95418  7.77812  8.07913  7.87501  8.11389  8.61273
7.7634  7.61274  7.87501  7.34238  8.6434  8.93444
8.69891  8.60202  8.77808  9.21213  6.79235  8.04134
7.90302  7.69891  8.04134  8.4471  8.30098  8.69891
7.51846  7.47707  7.55624  8.78527  6.7993  6.91377
7.85729  7.62321  8.00856  7.69015  7.51847  8.04134
7.6  7.4  7.8  8.53142  7.74031  8.30098
7.74029  7.69891  7.77812  6.8195  7.99995  8.43131
7.84504  7.60202  7.99996  7.80613  8.99117  9.60308
7.81286  7.69891  7.90302  7.99995  6.93445  7.17604
7.60202  7.47707  7.69891  8.2304  6.64341  6.74814
9.3979  9.30096  9.47707  9.22783  6.70753  7.27871
6.90307  6.84504  6.95418  6.99118  6.80614  6.93947
6.84504  6.69891  6.95418  6.70753  6.76338  7.49131
6.86328  6.81951  6.90307  7.04135  6.71596  7.32217
7.2  7  7.4  6.85121  9.00426  9.37285
6.90307  6.84504  6.95418  6.93947  7.86327  8.4471
6.77812  6.69891  6.84504  7.04135  7.76338  8.36167
6.77812  6.69891  6.84504  6.96374  7.84505  8.4471
8.20  8.1  8.3  9.21213  6.65317  6.69015
7.84504  7.69891  7.95418  8.07913  6.77811  7.07914
7.84504  7.69891  7.95418  8.04134  6.69015  7.20407
6.60202  6.30101  6.77812  8.11389  9.01697  9.60308
6.60202  6.30101  6.77812  6.67205  7.87501  8.47707
6.99996  6.90307  7.07913  6.82603  7.97308  8.54401
6.84504  6.69891  6.95418  6.93947  8.99117  9.51713
8.84504  8.69891  8.95418  6.74032  7.99995  8.17604
7.60202  7.47707  7.69891  9.27869  7.81286  8.43131
9.11  8.95  9.27  8.20407  7.70752  8.34237
9.3979  9.27868  9.49131  8.30098  7.99558  8.55625
7.77812  7.47707  7.95418  9.22005  7.91903  8.46234
7.6  7.4  7.8  8.07913  7.6434  8.14608
7.77812  7.47707  7.95418  8.07913  7.68119  8.11389
7.90302  7.69891  8.04134  7.99995  9.04133  9.60308
9.11  8.95  9.27  8.34237  8.81286  9.04133
7.69891  7.30096  7.90302  8.20407  8.84504  9.37652
7.77812  7.60202  7.90302  7.90304  7.55625  8.14608
9.32216  9.23039  9.3979  7.90304  8.79928  9.22266
9.25523  9.14605  9.34235  9.40306  8.69014  8.98221
8.84504  8.77808  8.90302  8.98671  6.79235  7.92423
8.95418  8.69891  9.11387  9.03737  8.04134  8.39789
7.60202  7.47707  7.69891  7.87501  8.74031  9.04526
9.07913  9.04134  9.11387  8.99117  7.78528  8.25522
8.82  8.79  8.85  8.81286  8.59101  8.74031
7.69891  7.60202  7.77812  7.69892  8.30098  8.69891
7.68119  7.4471  7.83245  7.54402  8.38016  8.74031
7.4313  7.25523  7.55624  8.2304  9.03337  9.35977
9.11387  8.99996  9.20407  8.83245  6.74814  7.38016
8.65317  8.47707  8.77808  8.86327  9.02113  9.42969
7.62321  7.4313  7.75584  7.96374  8.99558  9.58427
8.69891  8.60202  8.77808  8.69014  8.99558  9.42969
8.69891  8.60202  8.77808  8.79928  8.83245  9.22266
9.20407  9.07913  9.30096  8.82602  8.79928  9.04133
8.17602  7.99996  8.30096  8.53142  8.51846  8.54401
8.69891  8.60202  8.77808  8.57973  8.56815  8.59101
8.69891  8.60202  8.77808  9.21213  9.20946  9.21478
7.23039  7.20407  7.25523  7.2304  7.20407  7.25523
8.95418  8.84504  9.04134  9.22005  9.21742  9.22266
9.30096  9.17602  9.3979  9.26001  9.25762  9.26239
9.20407  9.04134  9.32216  9.21213  9.20946  9.21478
9.17602  9.07913  9.25523  8.99117  8.98671  8.99558
9.30096  9.20407  9.38014  8.99117  8.98671  8.99558
9.17602  9.07913  9.25523  8.94442  8.93946  8.94933
7.95418  7.84504  8.04134  7.83246  7.82602  7.8388

# 2  
Old 07-24-2010
Does my question make sense?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Gnuplot script

Need assistance in getting a script right. It requires little tweaking and I am not getting it right . Using below data and the below script it creates a table with png file but regarding the time it create 6,7,8 and i want each time 6:15 ,6:30 and so on So that i can view the exact graph... (3 Replies)
Discussion started by: ajayram_arya
3 Replies

2. Shell Programming and Scripting

Gnuplot 3d binning

Hello I have a text file with tens of thousands of rows The format is x y where both x and y can be anything between -100 and +100. What I would like to do is have a 3d gnuplot where there are 10,000 squared or bins and each bin will count how many rows have a value that would be... (1 Reply)
Discussion started by: garethsays
1 Replies

3. UNIX and Linux Applications

gnuplot trouble

I am having a bit of trouble plotting a histogram in gnuplot. I am trying to use it to draw bars side by side. The first bar is from column five in my data file. The second bar is actually three bars stacked on top of each other and should be as tall as the first bar. The data is from the 2nd,... (0 Replies)
Discussion started by: kingnothing
0 Replies

4. Shell Programming and Scripting

Some colorful progress bars

Hi Folks, I've been playing around implementing some colorful progress bars using shell scripting. I thought it would nice to share my work :) If you like em, feel free to use em :D Cheers #!/bin/sh # progbar3.sh # Simulate a progress bar with colors # Author: Sofiane Cherchalli... (1 Reply)
Discussion started by: sofianito
1 Replies

5. UNIX and Linux Applications

GNUplot

Hi, I am trying to make a plot of an ASCII file using GNUplot, but I keep getting error msg: for example plot filename.txt It says that (.txt ) is not identified ... I tried to write it without the .txt part, but I also get the error msg. Any idea why? :confused: (1 Reply)
Discussion started by: cosmologist
1 Replies

6. UNIX for Dummies Questions & Answers

Help with gnuplot

Hi, I am a beginner using UNIX, and was wondering how to use gnuplot from UNIX on my pc. I am connected remotely to my work's UNIX server using Secure Shell Client, and gnuplot won't open a new window when I use the plot command. How do I do this? Moreover, is it possible to save things from the... (0 Replies)
Discussion started by: KTTFB64
0 Replies

7. UNIX for Dummies Questions & Answers

scroll bars in Exceed X-windows

I am using this as my command line in Hummingbird Exceed XSession: xterm -ls -geometry 150x60 -display @D -bg white -fg black The problem is that I need scroll bars. Any ideas on what to add? (7 Replies)
Discussion started by: yankee428
7 Replies
Login or Register to Ask a Question