|
From: <lyn...@fr...> - 2010-10-20 07:31:51
|
On 16/09/10 12:18:17, Thomas Sefzick wrote: > > you need a dummy plot to get the yrange first (unless > you set it by hand). then you set y2range using the internal > variables GPVAL_Y_MAX, GPVAL_DATA_Y_MAX, ... Thanks a lot Thomas! It works great with GPVAL_Y_MAX, GPVAL_DATA_Y_MAX. Though I came to another problem now: When using the kdensity smoothing the automatically chosen y-range is often trice as large as the maximum of the plot. Is there a way to make gnuplot automatically optimize the y-scaling in such a case? Setting it by hand wouldn't be data independent. Thanks for any help or hints. Lynx |