|
From: Thomas S. <t.s...@fz...> - 2007-07-21 08:12:30
|
with xtic() you are defining an explicit list of tics labels, as you can see
with
show tics
you could either
modify this list after the first plot and then plot again without xtic():
plot 'in.dat' using 2:xtic(1)
set xtics ("45" 0.00000, "50" 5.00000, "55" 10.0000, "60" 15.0000,
"65" 20.0000)
plot 'in.dat' using 2
or
do something completely different also resulting in a histogram:
plot 'in.dat' using 1:2 with histeps
Roy Slaven wrote:
>
> I'm trying to plot a simple histogram to a PDF file, using the following
> script:gnuplot - <<$$$set terminal pdfset style data histogramsset style
> fill solidset tics outset output 'out.pdf'plot 'in.dat' using
> 2:xtic(1)$$$'in.dat' contains histogram data in the following format:45
> 046 047 048 149 150 051 152 253 954 1555 656 357 358 159 160 161 062 263
> 064 165 0The resulting output is a lovely histogram, with the x axis
> labelled using column 1.The problem is that _every_ tic is labelled, which
> becomes unreadable when there's a lot of bins.Is there a way to suppress
> some of the labels?I know I'm using the histogram plot in a pretty
> simplistic way - am I using it incorrectly?ThanksRoy
> _________________________________________________________________
> Discover the new Windows Vista
> http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gnuplot-info mailing list
> Gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://www.nabble.com/Tic-labels-in-PDF-histogram-plot-tf4117801.html#a11720396
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|