From: <HBB...@t-...> - 2007-08-10 14:21:34
|
Rajiv Chavda wrote: > I have installed Gnuplot 4.2 in my Ununtu Machine. Its running fine but > when i am trying to run Histrogram demo its giving me error as following: > > gnuplot> set xtics ("1891-1900" 0.00000, "1901-1910" 1.00000, > "1911-1920" 2.00000, "1921-1930" 3.00000, "1931-1940" 4.00000, > "1941-1950" 5.00000, "1951-1960" 6.00000, "1961-1970" 7.00000) You don't appear to actually running the histogram demo. There's no command like this in any of the demo files. Nor would "running the demo" have interactive "gnuplot> " prompts. > gnuplot> set title "US immigration from Northern Europe\n(same plot with > larger gap between clusters)" > gnuplot> set yrange [ 0.00000 : 300000. ] noreverse nowriteback > gnuplot> plot 'immigration.dat' using 6:xtic(1) ti col, '' u 12 ti col, > '' u 13 ti col, '' u 14 ti col It doesn't make terribly much sense to combine an explicit "set xtics" list with the "xticlabels" option of the "plot" command. > undefined function: xtic This doesn't seem to reproduce with the (Windows) gnuplot 4.2 executable. The most likely reason for this is that whoever built that 4.2 binary you're using explicitly disabled the histograms compile-time option (see "INSTALL"). |