OK, works now as intended.

R.E. Boss


> -----Original Message-----
> From: [email protected] [mailto:programming-
> [email protected]] On Behalf Of Linda Alvord
> Sent: donderdag 25 december 2014 17:39
> To: [email protected]
> Subject: Re: [Jprogramming] plot cairo output
> 
> This order seems to work from windows 8 once Cairo is loaded.
> 
> run=: 3 : 0
> require 'graphics/cairo'
> require 'plot math/misc/trig'
> 
> Linda
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of R.E.
> Boss
> Sent: Thursday, December 25, 2014 7:00 AM
> To: [email protected]
> Subject: Re: [Jprogramming] plot cairo output
> 
> 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
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to