From: Egil K. <eg...@kv...> - 2010-02-22 14:38:21
|
Suppose you have a data set in a file "test.dat" like this: 1 10.0 2 9.0 3 9.0 4 11.0 5 12.0 6 12.0 Using the default autoscaling to plot, like this plot "test.dat" with lines gives an ugly result. The plotted line between 2 and 3, and also between 5 and 6 on the X-axis gets hidden by the graph border, and especially for the case between 5 and 6, it is especially misleading since the observer will be led to believe there is no data between 5 and 6. Setting the yrange manually to [8.0:13.0] obviously fixes this, but I really would need to have autoscale to do this for me, but have found no way of achieving that. Have I overlooked something? The logic I am after is that if the autorange reaches an exact tic, it should extend the range to the next one, in either end. It seems like an obvious thing? Sincerely, Egil Kvaleberg |