Re: [Jprogramming] plot from jconsole

2011-12-20 Thread David Mitchell
Well, as far as I know OpenSUSE does not have a single 'default' PDF viewer. I believe one or another PDF viewer gets selected depending on if you choose the KDE or Gnome windowing motif. Here is what I have: Okular /usr/bin/okular okular -v Qt: 4.7.1 KDE Development Platform: 4.6.00 (4.6.0) "

Re: [Jprogramming] plot from jconsole

2011-12-20 Thread bill lam
Plot uses PDFReafer_j_ as the PDF veiwer, it should be set in ~config/base.cfg, where evince is set , may be it was the default in Chris's Ubuntu. What is the defualt PDF viewer in OpenSUSE? In all cases (cairo/canvas/pdf), one may suppress display by setting the "VISIBLE" option in plot' In my

Re: [Jprogramming] plot from jconsole

2011-12-20 Thread David Mitchell
Bill, I tried these tests in jconsole on OpenSUSE 11.4: ~/j64-701/bin> ./jconsole load'plot' plot 20?20 which: no google-chrome in (/usr/local/Argyll_V1.3.5/bin:/home/me/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib64/jvm/jre/bin) which: no

Re: [Jprogramming] plot from jconsole

2011-12-20 Thread David Mitchell
Bill, all these options worked fine for me. Thanks. I noticed that cairo launched the default viewer for the png file, but pdf did not launch the default viewer for the pdf file. That seems reasonable as a default. Is it worth considering having a setting to control the launching of the view

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread bill lam
Yes, you are correct. The default was set during loading. Please test the updated plot 1.0.76 again. the version number jumped because of some typo Втр, 20 Дек 2011, Ric Tikkanz писал(а): > The default cairo output seems to work OK (tested on both linux & windows). > > On Windows I experimente

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread Joey K Tuttle
Thanks Bill! Your changes are fine with me. I have set: CONSOLEOUTPUT_jzplot_ =: 'pdf' in my profile and am a very happy camper. Nice to have my PDF output back. On 2011/12/19 17:04 , bill lam wrote: > CONSOLEOUTPUT_jzplot_ to either 'cairo' or 'gtk' or 'pdf' --

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread Ric Sherlock
The default cairo output seems to work OK (tested on both linux & windows). On Windows I experimented with changing to the other options but could only get it to work if I set CONSOLEOUTPUT_jzplot_ appropriately prior to loading plot for the first time. If I change it after loading plot (even if I

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread bill lam
It seems various output are all sensible. I updated plot to set jconsole plot output default to png, one may override this by setting the noun CONSOLEOUTPUT_jzplot_ to either 'cairo' or 'gtk' or 'pdf' before or after load 'plot'. Actually it tries gtk first and then cairo, and finally falls back

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread Joey K Tuttle
My preference for PDF is for exactly the reason Ric states - PDF scales and I don't have to worry when creating plots about setting a size for later use. On 2011/12/19 11:19 , Ric Sherlock wrote: > I think David has summed up my feelings pretty well. > I like PDFs for good quality output but with

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread Ric Sherlock
I think David has summed up my feelings pretty well. I like PDFs for good quality output but with complex plots they can get really big (all shapes get drawn and stored, not just the visible ones) whereas the size of the png is set by its dimensions. For exploring something interactively I'd like

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread Joey K Tuttle
Using jconsole for 99+% of my j activity, and Mac OS X as workstation (mostly with j on a networked Linux server) I prefer PDF to be the default. Strongly. - joeyiPh On Dec 19, 2011, at 6:55 AM, David Mitchell wrote: > I have mixed feelings about the default. > > A default output of gtk

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread David Mitchell
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 outp

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread bill lam
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

Re: [Jprogramming] plot from jconsole

2011-12-19 Thread 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'

Re: [Jprogramming] plot from jconsole

2011-12-18 Thread bill lam
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 ha

Re: [Jprogramming] plot from jconsole

2011-12-18 Thread Ric Sherlock
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 wrote: > I think your plot is out-dated. > > The defaut output for jconsole has als

Re: [Jprogramming] plot from jconsole

2011-12-18 Thread bill lam
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'

[Jprogramming] plot from jconsole

2011-12-18 Thread Ric Sherlock
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