pause mouse on windows-wxt - Re: Windows ginput function
Tatsuro MATSUOKA
tmacchant3 at yahoo.co.jp
Wed Apr 2 03:23:55 CDT 2008
Hello
--- Petr Mikulik <mikulik at physics.muni.cz> wrote:
> > http://www.geocities.jp/tmoctwin/
> > Using gnuplot 4.3 (cvs) on MSVC-octave (First upload Mar. 16, 2008) (modified Mar. 26, 2008)
> >
> > I am a gnuplot lover so that I have been strugling how to realize to mouse
> > zooming on octave for windows which is not cygwin native. On the cygwin,
> > it is very easy to implement by Ethan (merritt at u.washington.edu) of an
> > experimental revise on gnuplot 4.3(cvs) to realize mouse zooming on the
> > volite date from pipe.
>
> The trouble is that pgnuplot cannot pass the binary data. Cannot this be
> fixed easily?
I tried this but failed. The pgnuplot can be accept the binary data with
_setmode(fileno(stdin), _O_BINARY);
The pgnuplot sends data stream to wgnuplot commnad window via Win32 api function.
Wgnuplot does accept the binary data on command line so that my trial failed.
Only possible patch data from pipe line be saved to file and load it by the load command.
But it is very difficult to implement in principle so that I ababdan it.
Those were already discussed between me and Hans.
proporsal of pgnuplot patch
http://www.nabble.com/proporsal-of-pgnuplot-patch-to14109154.html#a14124963
pgnuplot+wgnuplot does not accept binary from pipe
http://www.nabble.com/bug-in-histogram-plot-with-binary-data--to15187930.html#a15258091
Sorry the above list is confused with other posting please see only titled
'pgnuplot+wgnuplot does not accept binary from pipe'.
> > However it is implemeted on the only gnuplot 4.3 (cvs). So that I have decided to show the
> way how to
> > use the the gnuplot 4.3 on cygwin with the least resourses on the MSVC-octave. This is
> introduced on
> > my web.
> >
> > Please wait Michael will come back from the vacation. As I wrote prviously, perhaps he will
> fix the
> > current issue to be solved by upgrading gnuplot to be 4.2.3.
> > As Ethan stated that gnuplot 4.2.3 does not realize mouse zooming.
> > Ethan also stated whether the next official (not cvs) gnuplot will implement the mouse
> zooming the
> > volatile data from pipe depends on how octave people need the implemataion of mouse zooming.
>
> There are two independent things:
> - gnuplot 4.2.x does not allow mousing with volatile data; the new command
> "refresh" was added to 4.3(cvs) that does it
> - pgnuplot in no version of gnuplot can pass binary data (no fix is
> available)
>
> Michael has managed to have working console, thus not GUI, version of
> gnuplot for Octave. He calls it pgnuplot. I think this matter should be
> discussed on the gnuplot mailing list:
>
> - this definitely needed unpublished patches into gnuplot source code
>
> - this kind of gnuplot should be compilable by any supported Windows
> makefile, e.g. mingw or cygwin
>
> - I think this executable could be called gnuplot, as this is the name of
> the console application everywhere.
> Wow, from the console point of view, he managed to get the Windows
> version of gnuplot to be similar to the OS/2 version ages ago, great!
>
> Well, that's great except for strings with accents, because the MS
> stupidity uses different font encodings in console and in GUI programs
> (CP1250 vs CP850/CP852).
>
> - Then, for Windows, there are wgnuplot, pgnuplot, gnuplot-cygwin-CLI-X11
> and gnuplot-win-CLI :-(
> Maybe it would be possible to join both CLI executables into a single one?
> That's what the OS/2 version of gnuplot supports.
The cosole mode gnuplot has been already posted by Michael please see,
http://sourceforge.net/tracker/index.php?func=detail&aid=1627936&group_id=2055&atid=302055
However it is worthwhile to discuss again in the gnuplot ML, I think
Regards
Tatsuro
--------------------------------------
GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
http://pr.mail.yahoo.co.jp/ganbare-nippon/
More information about the Bug-octave
mailing list