|
From: Ben A. <bpa...@ma...> - 2008-12-29 22:23:56
|
On Dec 29, 2008, at 4:34 PM, Ethan Merritt wrote: > On Monday 29 December 2008 12:27:59 Ben Abbott wrote: > >>> >>>> Would it be possible for the x11 terminal to behave in the same >>>> manner? >>> >>> Please describe "same manner" more explicitly.' >> >> Ok, try this >> >> set term x11 1 size 500,400 position 100,100 >> plot sin(x) >> set term x11 1 size 500,200 position 300,100 >> close 1 >> plot sin(x) >> >> After the second plot command the window remains the same size and in >> the same position as the first. > > Correct. The window is already open, and the second "set term" does > not change its basic properties. This is pretty much necessary in > order > to allow sequences like: > set term x11 ... > ... plot lots of stuff, perhaps with mouse interaction, > set term post; set output 'plot_v1.ps'; replot; set term x11 > ... some more fiddling, perhaps zoom, change view, etc > set term post; set output 'plot_v2.ps'; replot; set term x11 > ... etc > >> Regarding my expectations, you are correct, I associated gnuplot's >> "close" option with deleting the window and all its options. I tried >> inserting a "set term x11 1 close" after the first "plot sin(x)" and >> prior to the second and I got the effect I desired. > >> The aqua terminal behaves differently. The command below produce a >> change in the window size. >> >> set term aqua 1 size 500 400 >> plot sin(x) >> set term aqua 1 size 500 200 >> plot sin(x) >> >> Unfortunately, there is no "close" option for the aqua terminal. > > I don't know that much about the aqua terminal, and its project page > on > SourceForge appears moribund. The documentation for use with > gnuplot, > for instance, still refers to gnuplot version 3.8. > > I tried to stir up interest over there to at least release the > existing > 2-year-old aquaterm version 1.1 that includes support for > transparency, > but even that hasn't happened. "Close" sounds like it would be a > trivial > change, but it won't help anyone unless/until the aquaterm developers > are willing to release and distribute a version that supports it. > > Perhaps you will be more successful than I was in prodding them to > make > a new release. I was told back in June that "the code is set for a 1.1 > release, but needs testing on Intel Macs and 10.5.x". Maybe if you > volunteer to be a tester, they will make a release candidate for you > to test? It should be simple enough for me to make a local package for my package management system (Fink with descends from Debian). > The project website is here: > https://sourceforge.net/projects/aquaterm/ > > And some people to prod are here: > hba...@us... > ama...@us... > per...@ma... Ok. I'll add that to my list of things to look at. >> In any event, you've revealed another solution to me. I'll use >> "close" >> for the x11 terminal before updating the plot window. >> >>>> (at least wxt >>>> did before I began running 4.3+, not the wxt terminal does not work >>>> for me). >>> >>> Are you saying that you have observed a recent regression in wxt? >>> Please file a separate bug report. I am not aware of any outstanding >>> problems other than the general incompatibility with Mac OSX. >> >> I assume the wxt terminal is working. Thus, I'll invest some effort >> ensuring I have everything set up correctly. Just to be sure, what wx >> version is needed? I have wxmac 2.8.3 installed. > > So far as I know, the wxt terminal has never worked under OSX; > I've been told that the control flow is inherently incompatible with > the > OSX graphics model. Timothée Lecomte has been working on a re- > design that > would allow it, but he doesn't have much time to devote to it. Strange. There are some lunix gui related things that Mac OSX has trouble with. I had occasionally run the wxt terminal with gnuplot 4.2.3 on my Intel powerbook and still can on my PPC based powerbook. I played with closing the wxt terminal. It works as the x11 terminal does. Unfortunately, there is not "size" option for wxt when running gnuplot 4.2.3. Since I began building 4.3 from the cvs (on my intel), the wxt terminal not worked for me. Is there an easy way to determine what has changed ... perhaps the addition of the "size" option is responsible. Ben |