|
From:
<br...@ph...> - 2006-03-24 15:30:27
|
Kevin.McGrath wrote: > 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)) |