I have been seeing errors when running programs that use the plot addon; these 
worked before so either something has changed in J or in Windows.


The errors appear in a window and not in the debugger, and they read


error in plot_gs_paint

domain error:cd
rc=.glcmds glcmds_jglc_@,(Poutput=iQTC)but


Any help solving this problem would be appreciated.


I would also like to suggest two enhancements to plot, as follow:


There is a line  "info 'File written: ',file". I comment out this line and the 
preceding "else." line, to prevent pd from opening a dialog box and requiring 
you to respond each time it saves a plot to a .eps file.


The first line in the function makearea should be replaced with

(x ,. y),(({:x),0),:({.x),0


The line in question defines an arbitrary polygon by a sequence of vertices. In 
the original version, if the first tic mark on the x axis preceded the first 
actual x value, the polygon would be extended to the left with a spurious 
rectangular area, and, perhaps more startling, if the last tic mark on the x 
axis followed the last actual x value, the polygon would be extended to the 
right with a spurious triangular area with vertex on the x axis; the change 
prevents this behavior.


Richard Vaughan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to