I'm using gnuplot in a bash script to draw several things. For this special graphic, I need to print the amount of matrices (y axis) with the matrix size as the x-axis. As the distribution can be pretty sparsed, I want to use a logscale for x and y. It works great with y, but gnuplot tells me I can't have a logscale for the x-axis when I'm using histogram style.
Any ideas to debug this? or on how to present the results using a similar way?
set style data histogram
set style histogram cluster gap 1
set style fill solid border -1
set logscale xy
plot '$res/histo-$ld-$lr-$e-$r' using 2:xtic(1) title 'Run'
The error is :
line 0: Log scale on X is incompatible with histogram plots
Thanks in advance.
Edit : btw, I was using gnuplot 4.4 patchlevel 4 and just updated to the newest version (i.e. 4.6 patchlevel 5)



0with the y-value taken from the second column and a manual label taken from the first column, first row. The values of the second row are placed at x=1 etc. You could try using theboxesplotting style, which is used with a 'conventional' x-axis and which might support a logscale in x. - ChristophX Y 1 1000 2 300 5 150 20 10 135 3What you're saying is that by default the histogram x-axis isn't numeric? That would explain why I can't have a logscale. - SOKS