plot cairo output in J7 is reinstated in j803. This requires
the graphics/cairo addon, see its readme. 

test script:

run=: 3 : 0
require 'plot math/misc/trig'

steps=: {. + (1&{ - {.) * (i.@>: % ])@{:

pd 'reset'
pd 'title sin(exp) vs cos(exp)'
pd 'color red,green'
pd 'key sin(exp),cos(exp)'
x=. steps _1 2 100
pd x;sin ^x
pd x;cos ^x
pd 'cairo ',(jpath '~temp/trig.png'),' 400 400'
)

run''

set visible to 0 to suppress display similar to that in pdf
output.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to