|
From: Thomas S. <t.s...@fz...> - 2010-08-24 14:35:51
|
plot without logscale into a file ('set table') and use this
file to plot with logscale:
unset logscale y
set table 'tablefilename'
plot 'file.txt' using (bin(($1), .1)):(1.0) smooth frequency
unset table
set logscale y
plot 'tablefilename' with linespoints
till_hm wrote:
>
> Hey,
>
> I tried to create a histogram as suggested here
> (http://gnuplot.sourceforge.net/demo/random.html) by using
>
> bin(x,w)=w*floor(x/w)
> plot 'file.txt' using (bin(($1), .1)):(1.0) smooth frequency
>
> which works nicely. However, if I execute
>
> set logscale y
>
> gnuplot seems to apply the log to (1.0) before adding up the values with
> frequency, such that I get the following error:
>
> Warning: empty y range [1:1], adjusting to [0.99:1.01]
>
> Any help is greatly appreciated!
>
> Cheers,
> Till
>
--
View this message in context: http://old.nabble.com/Smooth-frequency-and-logscale-tp29521617p29522686.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|