I suspect you had loaded plot before install cairo addon, will it
work if you restart J?

Чт, 25 дек 2014, R.E. Boss написал(а):
> After in Jconsole
> 
> load 'graphics/cairo'
> install_jcairo_''
> testcairo_jcairo_''
> 1
> 
> I get
> 
>    run''
> |value error: CAIRO_FORMAT_ARGB32
> |   plotcs=:cairo_image_surface_create<"0     CAIRO_FORMAT_ARGB32,y
> 
> test1.ijs and test2.ijs in addon\graphics\cairo work fine.
> 
> 
> R.E. Boss
> 
> 
> > -----Original Message-----
> > From: [email protected] [mailto:programming-
> > [email protected]] On Behalf Of bill lam
> > Sent: donderdag 25 december 2014 4:15
> > To: jprogramming
> > Subject: [Jprogramming] plot cairo output
> > 
> > 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
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
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