Load, plotdef, and plot behave as you describe, thanks for familiar behavior.
For plot (;*:) steps 0 3 200 and Chrome web browser, There is no straight line segment running from the last point of the curve to the first -- thanks! 8 in y-axis label looks like 3 . In other plots with two-digit y-axis labels only the second digit shows. y-axis labels are being cut off on the left. Grid lines are very faint. For plotdemos 34 and Chrome web browser Horizontal labels col 1 col 2 col 3 are cut off at bottom so o looks like n . Vertical labels row 1 row 2 row 3 run into y-axis labels so that label row 2 interferes with 1 and 2 of y-axis labels 100 and 200, and label row 3 interferes with 50 of y-axis label 5000 . Numerical y-axis labels are complete: they are not cut off at left as described above for plot (;*:) . The 5 of 5000 y-axis label for column 2 is inside the plot for column 1, and likewise the 5 of 5000 for column 3 is inside the plot for column 2. The columns should be spaced farther apart horizontally. Hope this helps. You have chosen a large task for one person to do! On 12/3/2011 12:14 AM, bill lam wrote: > Thanks. > > Chris updated base library this morning and you may have already got it. In > short > that update enable JHS to load plot using the old familiar load 'plot' so > that you may just type, > > load 'plot numeric' > plotdef 'link';600 300 > plot (;*:) steps _1 2 100 > > Птн, 02 Дек 2011, Kip Murray писал(а): >> At present JAL reports >> >> Local JAL information was last updated: 02 Dec 2011 23:56:32 >> Installed addons are up to date, 47 addons are not yet installed. >> The base library is up to date. >> >> --I will check again in the morning -- it's near midnight here in Texas. >> >> On 12/2/2011 11:16 PM, bill lam wrote: >>> Thanks for report. There was a bug in closepath and now fixed. Please >>> update >>> base libray, jhs and plot. >>> >>> The font should be smaller but broswers seem place a minimum for font >>> size, please try configure the browser or test with other browsers to see >>> if there will be any difference. >>> >>> Please also try plotdemos 34 to see if the orientation of vertical label >>> text is correct or not in Firefox 8. It is wrong in my linux FF8. >>> >>> Птн, 02 Дек 2011, Kip Murray писал(а): >>>> Things work pretty well now but plot joins the last data point to the >>>> first by a straight line segment. For example >>>> >>>> plot (;*:) steps _1 2 100 >>>> >>>> shows the graph of y = x^2 for x going from _1 to 2 together with a >>>> straight line segment from the point 2 4 to the point _1 1. In J602 the >>>> same plot command draws the curve correctly, without that straight line >>>> segment from the last point of the curve to the first point. >>>> >>>> >>>> On 12/2/2011 7:07 PM, bill lam wrote: >>>>> There was a mismatch for suffix htm vs html, please update plot package >>>>> (to 1.0.17) and test again. >>>>> >>>>> Птн, 02 Дек 2011, Kip Murray писал(а): >>>>>> The rough edges include absence of ~addons/ide/jhs/jplotdemos.ijs . I >>>>>> found jplotdemo.ijs and tried it instead. After several iterations of >>>>>> installing addons required by jplotdemo.ijs I was able to do >>>>>> >>>>>> plotdemo >>>>>> NB. requires JAL graphics/plot and graphics/afm installs >>>>>> NB. requires JAL general/misc and math/misc installs >>>>>> NB. plotdemos 0 through jplot 54 create html plot files >>>>>> plot 10?10 >>>>>> plotdemos 1 >>>>>> plotdemos 10 >>>>>> plotdef 'show';600 300 NB. jhsshow width height >>>>>> plotdemos 10 >>>>>> plotdef 'link';400 200 NB. jhslink >>>>>> plotdemos 25 >>>>>> plotdef 'none';600 300 NB. create ~temp/plot.html without show or >>>>>> link >>>>>> plotdef 'show';600 300 NB. jhsshow >>>>>> plotdemos 54 >>>>>> >>>>>> but none of the listed commands would work correctly with Google Chrome. >>>>>> For example, >>>>>> >>>>>> plot 10?10 >>>>>> >>>>>> led to a window with address http://127.0.0.1:65001/~temp/plot.html >>>>>> and Chrome error message >>>>>> >>>>>> No data received >>>>>> Unable to load the webpage because the server sent no data. >>>>>> Here are some suggestions: >>>>>> Reload this webpage later. >>>>>> Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection >>>>>> without sending any data. >>>>>> >>>>>> This was a typical response to the commands I tried. >>>>>> >>>>>> However, when I used Windows Explorer to find file >>>>>> >>>>>> C:\Users\Kip Murray\j701-user\temp\plot.htm >>>>>> >>>>>> and clicked on the file name in Windows Explorer, a J Plot window opened >>>>>> showing a jagged line plot passing through ten random points, on a >>>>>> "graph paper" grid with labels i.10 on the x and y axes. >>>>>> >>>>>> So something is working! >>>>>> >>>>>> It appears to me ~temp/plot.html was incorrect identification of the >>>>>> html file. >>>>>> >>>>>> >>>>>> On 12/2/2011 12:34 PM, Eric Iverson wrote: >>>>>>> Thanks to a significant contribution by Bill Lam we now have much of >>>>>>> the J6 >>>>>>> native J plot facility in J7 JHS! >>>>>>> >>>>>>> This provides plotting in JHS similar to what was available in J6 >>>>>>> without >>>>>>> the requirement for gnuplot and without the limitations of Google >>>>>>> Charts. >>>>>>> >>>>>>> The plot output is an html file that draws on the html5 canvas element. >>>>>>> This is similar to the new gnuplot facility and uses the same jhsshow, >>>>>>> jhslink, and related facilities. >>>>>>> >>>>>>> There are still rough edges that need work, but I strongly encourage >>>>>>> you to >>>>>>> take an initial look. >>>>>>> >>>>>>> Use JAL to update JHS then shutdown and restart JHS server. >>>>>>> >>>>>>> browse to jijx >>>>>>> load'~addons/ide/jhs/jplotdemos.ijs' >>>>>>> plotdemo >>>>>>> >>>>>>> One of the big problems in getting labs to run in JHS was that J6 plot >>>>>>> wasn't supported. With this new support it should be much easier to get >>>>>>> more of the labs running cleanly on JHS. >>>>>>> >>>>>>> This plot facility will work on your iPad! >>>>>>> ---------------------------------------------------------------------- >>>>>>> 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