Hello,
thanks for the reply.
Starting from the hint, I get what I want by enter:
set pm3d map
splot 'histogram2d.txt' using (($1+$2)/2.0):(($3+$4)/2.0):5
I think that such a hint may be written somewhere in the GSL manual.
Thanks,
Jerome
Daniel J Farrell wrote:
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
--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net
_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl