> From: bill lam > Sent: Monday, 2 August 2010 12:53 > > Пнд, 02 Авг 2010, Sherlock Ric писал(а): > > My impression is that it wouldn't be too difficult to build on the > > current media/platimg addon to provide the cross-platform (non wd) > > support for creating png images for the jhs client. This would > > enable offline use of jhs with plotting and viewmat etc as well as > > improving performance/functionality for servers providing content to > > multiple clients via the web. > > For platimg addon to work on linux, it also need the gtk to be > installed, but in that case, j7gtk with j plot should already work. I > imagine most graphic libraries require a graphical environment such as > x-window.
If JHS is to be a lightweight, simple-to-install, cross-platform front end for J then I think it would be an advantage to use native graphic libraries on each platform (a la platimg) rather than require that gtk be downloaded/installed to produce graphics. > I think working from Chris' j7gtk with latest addons update, and run > jhs using command > ...jconsole ~addons/ide/jhs/core.ijs -js " jhs'' " > > the jplot package should work properly and can serve png to its > clients. (untested) I agree that this should work - however I think it will currently open a separate (non-browser) window to display the plot rather than display the image in line in the session like plotlines does now. For JHS I think having the images displayed inline will potentially be very compelling for some end uses. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
