On Wed, May 14, 2008 at 1:29 AM, MYH <[EMAIL PROTECTED]> wrote:
> Hi.
>
>  I found that when print a figure, if one other window  overlaps on the top 
> of the figure window,
>  the print will contain the overlapping window. It looks like this:
>  http://p8.p.pixnet.net/albums/userpics/8/3/553683/1210721149.png
>  This wouldn't occur in MATLAB.
>  This is my command:
>  x = -pi:0.01:pi;
>  plot(x, sin(x));
>  print -dpng test.png
>
>  Can anyone fix it?

You're using JHandles, right?
I noticed this behavior, but couldn't figure out how to fix it
(fixing it for java-1.6 made the problem to appear for
java-1.5 and vice-versa). For printing purpose, I suggest
that you use the gnuplot backend instead. You can switch
from JHandles to gnuplot with the command: pkg unload jhandles.

A big rewrite of the graphics code (and JHandles) is on-going,
this problem will be fixed in the process.

Michael.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to