Eli Zaretskii <eliz <at> gnu.org> writes: > > > From: Lars Ericson <lars.ericson <at> wellsfargo.com> > > Date: Fri, 19 Oct 2012 19:15:12 +0000 (UTC) > > > > I have Gnu Emacs 24.2 and I'm doing run-octave for Octave 3.6.2 Visual Studio > > 2010 build. Octave runs but plot commands do not pop up a window. > > > > Any thoughts? Various people have had similar problems and I tried changing > > graphics toolkit from qt to gnuplot to fxlt but that doesn't help. > > What Emacs command or function do "plot commands" invoke? What window > did you expect them to pop: an Emacs window or an Octave window (or > some other window)? > > IOW, you assume too much Octave-specific knowledge in your questions. > Unless there's someone here who uses Octave, I doubt that you will get > any help, unless you tell more about the commands you invoke, what you > expect from them, how they work outside Emacs, etc. > > FWIW, gnuplot works on MS-Windows when invoked from Calc to plot > functions and data, but for that, the pgnuplot program needs to be > invoked rather than gnuplot. >
In Octave outside of Emacs I run the octave command "plot(1:10)" and it pops up a qt window and plots. Inside Gnu Emacs I run command esc-X run-octave and that runs an inferior mode Octave window which calls the same Octave.exe program. Inside that I do "plot(1:10)" and no Qt window pops up. I have tried the Octave command "graphics_toolkit gnuplot;" followed by "plot(1:10)" inside the Octave window, and that doesn't help. This was suggested in the following stackoverflow thread for Windows 7 (I am on XP): http://stackoverflow.com/questions/9468461/setting-up-octave-with-gnuplot- support-in-emacs So it's a problem! Eventually I will get frustrated enough to try and build Octave and Emacs from scratch and debug it from bottom up, but I'm hoping not to have to do that.