[haskell-gnuplot] Please help with xtic on histogram!
Dmitri O.Kondratiev
dokondr at gmail.com
Sun Jun 12 17:48:32 BST 2011
Hello,
I am trying to read xtic labels from data file for histogram chart.
On X axis I need labels, from the last, 5-th column of my data file
(see bellow).
These labels have the form '[x1,x2..xN] such as [1,2,3], etc.
I am trying to use something like:
plot "t1dat.txt" u 2:xtic(5) t "Best Fit", "" u 3 t "In Class", "" u 4
t "Other"
which does not show the labels.
Thanks!
=== My data file:
# Class BestFit InClass Other ClassName
1 34 - - [1,2,3]
2 - 36 - [3,1]
3 - 36 - [3,1,2]
4 - 35 - [3,1,2,3]
5 - 35 - [1,2]
6 - 34 - [2,3]
7 - 31 - [3,1,2,1]
8 - 30 - [3,1,3]
9 - 28 - [1,2,1]
10 - 23 - [1,3]
11 - 22 - [2,1]
12 - - 32 [3,1,2,300]
13 - - 30 [1,2,300]
14 - - 29 [3,1,200]
15 - - 26 [200,300]
16 - - 24 [2,300]
17 - - 24 [100,200]
18 - - 23 [30,40]
19 - - 22 [1,200]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/gnuplot/attachments/20110612/9111ff0c/attachment.htm>
More information about the Gnuplot
mailing list