Members of the Forum:
I have an intermittent problem saving a plot: I (sometimes) get a value
error for "zjm", thusly:
'surface' plot 2 o. (+/~)/0j1 1*/i:0j99+o.2
pd 'save png c:\amisc\pix\CosCplxPln0.png'
|value error: zjm
| 'mem_to_png + i *c i i i i i i i' zjm(y;addr),(;/1 0
2{($m),1),((>:x);paddr;((#@(p"_))^:*paddr))
However, when I start the debugger (with Ctl-K), the same phrase works
correctly:
pd 'save png c:\amisc\pix\CosCplxPln0.png'
103640
Has anyone else encountered this error? Any idea why it doesn't happen when
I'm ready with the
debugger? I had been getting this before, usually after I'd been working in
a session for a while, but
was having trouble replicating the error. Now, I think the sequence is:
load 'plot'
load 'images'
'surface' plot 2 o. (+/~)/0j1 1*/i:0j99+o.2
pd 'save png c:\amisc\pix\CosCplxPln0.png'
|value error: zjm
| 'mem_to_png + i *c i i i i i i i' zjm(y;addr),(;/1 0
2{($m),1),((>:x);paddr;((#@(p"_))^:*paddr))
Thanks for any ideas on this,
Devon
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm