Hi - I got it to work on another machine, so it's undoubtedly something to do with my recently re-installed OS on my other machine.
BTW - I was looking at your code - what's the "<1>" tag in your html? Thanks, Devon On Mon, Nov 9, 2015 at 7:19 AM, Joe Bogner <[email protected]> wrote: > Hi Devon, can you include your plot command to see if I can replicate it? > > In a fresh session, can you try this from both jqt and jhs and let us > know what you see? It should draw a simple line chart from 0 to 10. > In JQT, it will open up a web page with Plot and the chart. In JHS, it > should show the plot directly in the repl. > > 'output canvas' plot i. 10 > > If this fails, it would point to your canvas or plot addon I think > > > > On Sun, Nov 8, 2015 at 11:02 PM, Devon McCormick <[email protected]> > wrote: > > Hi Joe - I'm trying to get your example to work but have had no luck with > > either the JHS or Jqt versions. The former gives me some kind of error: > > *** event handler error > > ev_log_enter 0 > > > > The Jqt version opens a mostly-blank "plot" page in my browser - the only > > thing on it is the word "plot". > > > > I'll play around with them some more as this is a problem I've > encountered > > and dealt with in a more primitive fashion: > > http://code.jsoftware.com/wiki/NYCJUG/2008-01-08#Placing_Text_on_a_Plot > . > > > > Any suggestions you might have about why my attempts are incomplete would > > be welcome. > > > > Thanks, > > > > Devon > > > > On Sat, Oct 31, 2015 at 12:09 AM, Brian Schott <[email protected]> > > wrote: > > > >> Joe, > >> > >> I only just now got a chance to play with your "hack". It is most > >> impressive and I was able to duplicate your examples in both jqt and > jhs in > >> j804. I have not yet, and may never, thoroughly digest your code and > >> comments, but what I have perused, is dauntingly complex and likely very > >> valuable to the j community. I agree that it is nice that the same code > >> apparently works in both jqt and jhs. > >> > >> I was surprised that the jqt code opened my browser page automatically > and > >> displayed the plot there. That made me expect that jhs would also open a > >> new browser page for the plot to display, but as you know, the plot in > jhs > >> appears right in the same browser page as the code: jijx. > >> > >> One minor comment. The jhs code works fine if I enter the pd statements > >> manually, one line at a time at the main frame, but if I enter them as a > >> group into the scratch region and then execute that scratch code, I get > the > >> following error. (I was able to successfully enter the collected code > all > >> at once into the scratch region.) > >> > >> |length error: getgrafmat > >> | ,"2(getgrafx x) ,."1 citemize getgrafy y > >> > >> > >> JVERSION > >> Engine: j803/2014-10-19-11:11:11 > >> Library: 8.04.06 > >> Platform: Darwin 64 > >> Installer: J804 install > >> InstallPath: /users/brian/j64-804 > >> > >> > >> On Thu, Oct 29, 2015 at 10:38 AM, Joe Bogner <[email protected]> > wrote: > >> > >> > Thanks to everyone who supplied ideas on the plot_gs_mbldbl_jwplot_ > hack. > >> > > >> > I ended up implementing a canvas hack which can be seen here: > >> > http://code.jsoftware.com/wiki/User:Joe_Bogner/CanvasDotHoverHack > >> > > >> > > >> > > >> > > >> > >> -- > >> (B=) > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > > > > > > > > -- > > > > Devon McCormick, CFA > > > > Quantitative Consultant > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA Quantitative Consultant ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
