|
From: Benjamin L. <bj...@gm...> - 2011-02-08 06:39:33
|
>> The offending command happens in WIN_set_text(NULL), which places a >> W_font command in the queue with an empty font name. Removing this one >> solves the problem > > With the patch above, > > set term windows enhanced > plot [0:2*pi] sin(x) with linespoints > set ylabel "something in mm^2" > replot > > The relative position superscript '2' still changed when windows size changed. >> Second proposal: > > The relative position superscript '2' also still changed when windows size changed. No you misunderstood. The problem is that the ylabel is not printed rotated by 90 degrees, but simply horizontally, and *this* should be fixed with either one of these patches. The fact that the relative positioning changes if you change the graph window's size is inherent to the way gnuplot works. To fix this you'd have to change the design of how gnuplot handles text output, and that's not the topic of this patch. The bug about that I reported in a differnet thread is that it at the moment the positioning is wrong even for the initial graph window - and that is fixed with the proposed patch in the respective thread. Changing the graph window size manually will still distort the whole plot (not only the relative positioning of the text). benjamin |