[Jprogramming] Width of chart window (plot,pd)

bill lam bbill.lam at gmail.com
Fri Sep 9 22:58:57 UTC 2016


use wd ide hide cmd to hide the ide windows.  If the last window is closed,
jqt will exit automatically. Or did you test but it didn't work?

On Sep 10, 2016 12:57 AM, "Moon S" <moon.aka.sun at gmail.com> wrote:

> Yes, I also thought that there may be some general window control command,
> but it could be hard to get proper window handler etc etc etc.
> Thank you very much for this pmove case!
>
> Another question now, even two: how to start jqt without showing the main
> jqt window, that is show only the windows from my program, like pd 'show'
> etc. Maybe some option like "jqt -hidden"? And the second question, how to
> wait till that pd 'show' window is closed and then exit everything. If I
> add exit 0 after pd commands, all disappears right away.
>
> On Fri, Sep 9, 2016 at 6:30 PM, chris burke <cburke at jsoftware.com> wrote:
>
> > pd 'show' does not wait for any later pd command, but note that J is just
> > sending a stream of commands to Qt. By the time Qt gets round to
> displaying
> > the graph, it should have received all the J commands, so (I believe) the
> > initial display from Qt will be the final window.
> >
> > On 9 September 2016 at 08:12, Robert Herman <rpjherman at gmail.com> wrote:
> >
> > > That works, thanks!
> > >
> > > Does the pd 'show' actually put up the first window, or it waits to
> parse
> > > the wd 'pmove' expression? I only noticed the final, resized window.
> > >
> > > Rob
> > >
> > > On 9 September 2016 at 22:00, chris burke <cburke at jsoftware.com>
> wrote:
> > >
> > > > The initial size is hardwired, but you can resize the form, e.g. try:
> > > >
> > > > require 'plot'
> > > >
> > > > pd 'reset'
> > > >
> > > > pd 2 3 5 7 11
> > > >
> > > > pd 'show'
> > > >
> > > > wd 'pmove 100 100 800 600'
> > > >
> > > > On 9 September 2016 at 07:56, bill lam <bbill.lam at gmail.com> wrote:
> > > >
> > > > > I think this is a bug, the size of window is not
> > > > > QT_DEFSIZE but the minwh, and the plot window
> > > > > failed to resize.
> > > > >
> > > > > Пт, 09 сен 2016, Robert Herman написал(а):
> > > > > > Bill
> > > > > >
> > > > > > I just tried
> > > > > >
> > > > > > pd 'qt 1200 600'
> > > > > >
> > > > > > and the window came up, but it ignored the size parameters and
> came
> > > up
> > > > in
> > > > > > the default size.
> > > > > >
> > > > > > Moon S:
> > > > > >
> > > > > > Thanks for the workaround. At least now I can produce the size I
> > > need.
> > > > > >
> > > > > > Rob
> > > > > >
> > > > > > On 9 September 2016 at 21:06, bill lam <bbill.lam at gmail.com>
> > wrote:
> > > > > >
> > > > > > > IIRC qt plot had worked ok on windows, but I cannot test.
> > > > > > > ------------------------------------------------------------
> > > > ----------
> > > > > > > For information about J forums see http://www.jsoftware.com/
> > > > forums.htm
> > > > > > >
> > > > > > ------------------------------------------------------------
> > > ----------
> > > > > > For information about J forums see http://www.jsoftware.com/
> > > forums.htm
> > > > >
> > > > > --
> > > > > regards,
> > > > > ====================================================
> > > > > GPG key 1024D/4434BAB3 2008-08-24
> > > > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> > > > > gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
> > > > > ------------------------------------------------------------
> > ----------
> > > > > For information about J forums see http://www.jsoftware.com/
> > forums.htm
> > > > >
> > > > ------------------------------------------------------------
> ----------
> > > > For information about J forums see http://www.jsoftware.com/
> forums.htm
> > > >
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm


More information about the Programming mailing list