Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-20-2007, 11:26 AM   #1
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
gnuplot question

i want to create a boxed graph with categorical data and i found this tutorial - i am refering to the 3d graph:

gnuplot> set xtics ("April" 1, "May" 2, "June" 3, "July" 4)
gnuplot> plot "test.dat" using 1:2:3 notitle with boxes,\
              "test.dat" using 1:2   notitle with lines
The problem is probably, because of the example .dat file - there is none. Is it
"1 June value"? Is it "June 1 value", etc...

Anyway, i get boxes, that are attached to each other and i cannot get a proper graph, as the one in the picture. Can anyone please give some guidance?

Last edited by kpachopoulos; 09-20-2007 at 02:25 PM.
Old 09-20-2007, 02:49 PM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 69
As I remember, usual tab-separated columns of numbers will do. "June" will be substituted automatically instead of 3 in footer.
Old 09-20-2007, 02:59 PM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Yup, the format is <xvalue><space><yvalue> for (x,y) graph. And of course dot and not comma in the numbers..for example
1 11.0
2 12.1
3 13.2
4 14.1
5 15.0
6 16.2
got it?
Old 09-20-2007, 03:01 PM   #4
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 69
More like <xvalue> <whitespace> <lower y bound> <whitespace> <upper y bound> if we consider a box diagram..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gnuplot 4.0.0 ines Linux - Software 1 04-28-2005 03:26 PM
Like gnuplot but for statistics Cornholio Linux - Software 2 03-03-2005 03:26 AM
Gnuplot allycavs Linux - Software 5 02-04-2005 08:31 AM
need help for gnuplot eph Linux - Newbie 1 08-23-2004 09:41 AM
about gnuplot Rex_chaos Linux - Software 0 09-25-2003 09:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration