I've a histogram plot (script derived from examples),=20
I've the yrange set as follows:
set yrange [0.00000 : 100.]
I'd like the yrange from 0 to 10 to occupy =BD of the y axis and the =
remainder to occupy the other half of the axis.=20
If this is possible, I'd appreciate the help on this.
> I’d like the yrange from 0 to 10 to occupy ½ of the y axis and the
> remainder to occupy the other half of the axis.
That'll take some serious trickery, and if you're using the new version
4.1 'histogram' feature, it may be completely unfeasible.
Gnuplot generally doesn't handle transformed axes --- no breaks, no 1/x
scaling, and no piecewise linear rescaling, nothing but linear and
logrithmic scaling. The main issue is that our tick placement algorithm
isn't up to ticking arbitrarily deformed scales. That means that if you
can come up with your own tick marks, you can do it:
gy(y) = (y < 10) ? y : (y - 10) / 90 * 10 + 10
set ytics (0,2,4,6,8,10, '20' 12, '40' 14, '60' 16, '80' 18, '100' 20)
plot 'data' u 1:(gy($2))
Get latest updates about Open Source Projects, Conferences and News.