|
From: Tatsuro M. <tma...@ya...> - 2011-02-09 04:40:43
|
Hello Sorry for misunderstood. I will check initial position of superscript at various windows size like set term win enh size 600, 300 plot [0:2*pi] sin(x) with linespoints set ylabel "something in mm^2" replot set term win enh size 600, 400 plot [0:2*pi] sin(x) with linespoints set ylabel "something in mm^2" replot set term win enh size 600, 500 plot [0:2*pi] sin(x) with linespoints set ylabel "something in mm^2" replot set term win enh size 600, 600 plot [0:2*pi] sin(x) with linespoints set ylabel "something in mm^2" replot Am I right? Regards Tatsuro --- Benjamin Lindner wrote: > >> 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 > -------------------------------------- Get the new Internet Explorer 8 optimized for Yahoo! JAPAN http://pr.mail.yahoo.co.jp/ie8/ |