octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changeset 9395 (3.2.x branch) should be applied not only x11 term bu


From: Tatsuro MATSUOKA
Subject: Re: changeset 9395 (3.2.x branch) should be applied not only x11 term but on windows, wxt, ( and aqua) term
Date: Wed, 9 Sep 2009 17:41:21 +0900 (JST)

Hello

I the previous post it is revealed that mouse zooming disabling issue and 
flickering graphic window
seen with rapid gnuplot updates on the windows and wxt terminal in principle 
are the same of that for
x11 terminal.  The problems are caused by newly implemented code of octave 3.2 
but not gnuplot.

For the case of 'aqua' term, the Ben's modification does not need to be applied.

So I would like to submit a changeset to apply Ben's modification for x11 
terminal also 
to the windows and wxt terminals.

Regards

Tatsuro
  
# User address@hidden
# Date 1252484905 -32400
# Node ID 01c05ed43f1362ce3ba0dacef8ceff6d03dffb74
# Parent  796c26e4af4709c9b35d454ea634573f13cabfaf
 Enter commit message.  Lines beginning with 'HG:' are removed.
 Leave message empty to abort commit.
 --
 user: Tasuro Matsuoka
 branch 'default'
changed scripts/plot/gnuplot_drawnow.m

diff -r 796c26e4af47 -r 01c05ed43f13 scripts/plot/gnuplot_drawnow.m
--- a/scripts/plot/gnuplot_drawnow.m    Mon Sep 07 08:01:41 2009 +0200
+++ b/scripts/plot/gnuplot_drawnow.m    Wed Sep 09 17:28:25 2009 +0900
@@ -286,10 +286,10 @@
       ## the canvas size for terminals cdr/corel.
       term_str = sprintf ("%s %s", term_str, size_str);
     endif
-    ## Work around the gnuplot feature of growing the x11 window when
-    ## the mouse and multiplot are set.
+    ## Work around the gnuplot feature of growing the window of 
+    ## x11, windows, and wxt terminals when the mouse and multiplot are set.
     fputs (plot_stream, "unset multiplot;\n");
-    if (! strcmp (term, "x11")
+    if (! index("x11 windows wxt",term)
         || numel (findall (h, "type", "axes")) > 1
         || numel (findall (h, "type", "image")) > 0)
       fprintf (plot_stream, "%s\n", term_str);
@@ -299,7 +299,7 @@
         endif
       endif
       fputs (plot_stream, "set multiplot;\n");
-    elseif (strcmp (term, "x11"))
+    elseif (index("x11 windows wxt",term))
       fprintf (plot_stream, "%s\n", term_str);
       if (nargin == 5)
         if (! isempty (file))


--------------------------------------
Thanks 10 years!  Yahoo! Shopping and Yahoo! Auctions
http://pr.mail.yahoo.co.jp/ec10years/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]