help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] histogram2d


From: Daniel J Farrell
Subject: Re: [Help-gsl] histogram2d
Date: Mon, 10 Mar 2008 14:38:39 +0000

Hello,

I use gnuplot to take a surface plot of gsl histogram2d's. I take the average of the x and y bin position and reduced the histogram data to (x,y,z) points.

Example,
(http://www.boyfarrell.com/forums/gsl-histogram-2d-plot.pdf) using the data file, (http://www.boyfarrell.com/forums/histogram2d.txt).

The gnuplot command was,

splot 'histogram2d.txt' using (($1+$2)/2.0):(($3+$4)/2.0):5 with lines


If you want to get the 'density' you could try putting isobars on... type

set contour
replot

gnuplot can now do histogram but I haven't used this feature. It might just plot normal 1D histogram...

Cheers,

Dan.

On 7 Mar 2008, at 13:06, Jerome BENOIT wrote:

Hello List,

I am looking for a way to plot an histogram2d as given by GSL:
something as a density plot.

Thanks in advance,
Jerome

--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]