|
From: Thomas S. <t.s...@fz...> - 2009-09-20 16:35:29
|
set 'gap' to an odd number: set style histogram gap 3 Lars Kerianos wrote: > > Hi, > > sorry, the ASCII art does not depict what I'm trying to achieve, here's an > imageshack link: > > http://img14.imageshack.us/img14/4803/desiredplot.jpg > Thanks > Lars > > 2009/9/20 Lars Kerianos <lar...@go...> > >> Hi all, >> >> currently, I'm trying to plot some simple data using a histogram plot. >> The data file is very simple, too: >> >> # value | occurences1 | occurences2 >> 1 5709 165 >> 2 11663 1688 >> 3 0 7563 >> # ... >> >> I managed to get a basic plot by using: >> >> set style data histogram >> plot 'Data.dat' using 2:xticlabels(1), "" using 3 >> >> This is a frequency distribution plot, showing how often a value was >> measured. >> What I don't like are the xtics placed centered below the data rows: >> >> It is possible to set the labels (first column) centered *between* two >> xtics and also plot the data row centered? >> >> I'll try it in ASCII art: >> >> | >> || || >> |-----|-----|-----| >> 1 2 3 >> >> I'm afraid for this special plot, the xtic placement done by Excel in a >> bar >> chart is much more pleasing. Nevertheless I don't want to enter Excel's >> "export-diagramm-hell". >> >> Thanks >> Lars >> > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/Histogram-plot-with-special-xtics-placement-tp25528640p25530086.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |