|
From: Ethan M. <merritt@u.washington.edu> - 2009-12-08 19:31:50
|
On Monday 07 December 2009 20:56:28 Tatsuro MATSUOKA wrote:
> Hello
>
> I have tested the following script
>
> set term emf enh
> set ylabel 'y label a^{-1}'
> set out 'ylabel.emf'
> plot sin(x)
> set out
>
> gnuplot> set term emf enh
> Terminal type set to 'emf'
> Options are 'color dashed "Arial" 12 enhanced '
> gnuplot> set ylabel 'y label a^{-1}'
> gnuplot> set out 'ylabel.emf'
> gnuplot> plot sin(x)
> warning: emf_move: (-360,10421) out of range
> gnuplot> set out
>
>
> warning: emf_move: (-360,10421) out of range
I confirm this.
It is a general problem with emf, not specific to windows.
The enhanced text mode is ignoring text rotation when it does
left/right/center justification. The text placement is
always incorrect when the text is both rotated and enhanced.
The attached patch is better than the current code, but it is only
an approximation to the correct placement. I do not know how to
do a more complete treatment of rotation + justification in emf.
Ethan
> result graph is
> http://www.geocities.jp/tmgpltwin/Files/Files.html#0040
> 0040 ylabel_emf_enh.png
>
> The above confirmed 4.5 on MinGW and cygwin (changelog 2009-12-05) and gnuplot 4.4rc1(windows by
> Petr) .
>
>
> If I do not use a^{-1}, ylabel is located in proper position.
>
> Regards
>
> Tatsuro
|