|
From: Periklis A. <ak...@ic...> - 2004-05-28 10:37:56
|
On Thu, May 27, 2004 at 11:49:02PM +0200, Hans-Bernhard Broeker wrote: > On Thu, 27 May 2004, Periklis Akritidis wrote: > > > Hello, > > > > Even a simple 3d plot such as splot sin(x) + cos(y) results in numbers > > overwriting each other (at the points where the axes meat each other) > > as well as the axes. > > What terminal driver? Which version of gnuplot? Which font did you use, > at which size? Postscript driver and gnuplot 4.0, I tried various fonts, but I need them to have a certain size so that they are readable, which I guess makes things worse (I can prevent them from overwriting each other by changing the xtics increment, the problem with overwriting the axes, x and y, remains). > Note that for the majority of PostScript fonts this task is harder than > you may be aware of: With proportional fonts, gnuplot has no means to know > how wide a given string is actually going to be on output. Even with > fixed-width fonts, it has to guess that width from the font size you gave > it, because it doesn't have access to font metrics. I understand that it may be non-trivial to to it automagically, what I was hoping for was something like the xoff and yoff options to xlabel. Of course ideally you would not have to adjust such things, but with such options I could manually adjust the offsets so that they do not overwrite the axes in 3d plots even if gnuplot did not guess correctly the font height and width. I haven't found such an option but I guess that if it has been implemented for xlabel, it should not be more difficult to implement it for the axes numbers too. Actually, xlabel sometimes has similar problems, but they are always fixable manually using xoff and yoff. So if such an option does not exist, I would like to submit a wishlist item:) What syntax would be appropriate for such an option? Thanks, Pericles -- Periklis Akritidis |