I have mixed feelings about the default. A default output of gtk seems best for general interactive use and visual fidelity with the old plot behavior.
Some jconsole users seem to be using jconsole for its streamlined interface and character based interaction. I would think that a default output of png fits better with that usage. png has the added advantage of providing a reasonable, if indirect, path to printing the plot results. pdf seems best reserved as a non-default option. On 12/19/2011 9:36, bill lam wrote: > I might know why it worked for me but failed for you. Since I tested jconsole > on a debian console without X11, it always choose cario/png output. But for > windows or linux with x11 (Ric's case), it elect gtk output, the problem is > that those required and coinsert have been left out. > > It also worked in JHS because gtk will never run under that environment. > Before fix the bug, I must ask what should be the default plot output for > jconsole - gtk, pdf or png? > > Пнд, 19 Дек 2011, David Mitchell писал(а): >> I got the same failure on Win7_64 with plot in jconsole on J701 with current >> addons. >> >> I was able to get it to work with this workaround: >> >> load'plot' >> load '~addons/graphics/gl2/gl2.ijs' >> dbg 1 >> plot 20?20 >> |value error: glsel >> | glsel PIdLoc >> |gtk_paint[0] >> >> coinsert 'jgl2' >> dbrun'' >> >> (jconsole.exe:5224): Pango-WARNING **: couldn't load font ""Arial" >> Not-Rotated 9 >> ", falling back to "Sans Not-Rotated 9", expect ugly output. >> >> >> On 12/19/2011 1:47, bill lam wrote: >>> That is strange. I tested just plot under linux jconsole before replying >>> your email. It looks like it choose gtk ouput but gl2 has not been loaded. >>> You may try load gl2 manually. >>> >>> Can you email me your jzplot.ijs file by private mail? >>> >>> Пнд, 19 Дек 2011, Ric Tikkanz писал(а): >>>> AFAICS my system has the latest plot (1.0.25) and a bunch of other >>>> things I thought may be related (I appended the jpkg results to my >>>> initial post to try and signal that). >>>> >>>> On Mon, Dec 19, 2011 at 7:21 PM, bill lam<bbill....@gmail.com> wrote: >>>>> I think your plot is out-dated. >>>>> >>>>> The defaut output for jconsole has also been changed. >>>>> >>>>> Пнд, 19 Дек 2011, Ric Tikkanz писал(а): >>>>>> Currently I get an error if I try to plot from jconsole (Windows or >>>>>> Linux). >>>>>> I'm pretty sure (at least under Linux) that I used to get a gtk window. >>>>>> >>>>>> load 'plot' >>>>>> plot 10?10 >>>>>> |value error: glcanvas_jgl2_ >>>>>> | PIdLoc=: glcanvas_jgl2_ PForm;PId;(Cw,Ch);coname'' >>>>>> 'output pdf' plot 10?10 >>>>>> |value error: PIdLoc >>>>>> | _2{.getGtkWidgetAllocation_jgtk_ canvas__PIdLoc >>>>>> 'output pdf' plot 10?10 >>>>>> >>>>>> load 'pacman' >>>>>> 'search' jpkgv 'graphics base library gui' >>>>>> +----------------+------+------+-------------------------------+ >>>>>> |base library |7.1.52|7.1.52|base library scripts | >>>>>> |graphics/afm |1.0.2 |1.0.2 |AFM | >>>>>> |graphics/bmp |1.0.1 |1.0.1 |bitmap utilities | >>>>>> |graphics/color |1.0.1 |1.0.1 |Color tables | >>>>>> |graphics/gl2 |1.0.14|1.0.14|gl2 | >>>>>> |graphics/graph |1.0.3 |1.0.3 |Graph | >>>>>> |graphics/jturtle|1.0.1 |1.0.1 |Turtle graphics | >>>>>> |graphics/opengl |1.0.11|1.0.11|OpenGL graphics | >>>>>> |graphics/plot |1.0.25|1.0.25|Plot | >>>>>> |graphics/viewmat|1.0.2 |1.0.2 |Displays a viewmat | >>>>>> |gui/gtk |1.0.77|1.0.77|GTK API | >>>>>> |gui/jgtkgrid |1.0.7 |1.0.7 |Grid implementation for J7/JGTK| >>>>>> +----------------+------+------+-------------------------------+ >>>>>> JVERSION >>>>>> Engine: j701/2011-01-10/11:25 >>>>>> Library: 7.01.052 >>>>>> Platform: Win 32 >>>>>> Installer: j701a_win.exe >>>>>> InstallPath: c:/program files/j701 >>>>>> ---------------------------------------------------------------------- >>>>>> 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 >>>>> ---------------------------------------------------------------------- >>>>> 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