Readme of cairo addon. On Dec 26, 2014 5:53 PM, "Björn Helgason" <[email protected]> wrote:
> What reame and where? > On 25 Dec 2014 23:41, "Bill" <[email protected]> wrote: > > > did you read the readme? > > > > On 26 Dec, 2014, at 1:42 AM, Björn Helgason <[email protected]> wrote: > > > > > Sorry > > > > > > Did not test the correct lines > > > > > > require 'plot numeric trig graphics/cairo math/misc/trig' > > > plotdef 'none';'plot';400 200;'cairo' > > > plot 10?10 > > > |domain error: cairo_image_surface_create > > > | plotcs=: cairo_image_surface_create<"0 CAIRO_FORMAT_ARGB32,y > > > > > > > > > 2014-12-25 17:04 GMT+00:00 Björn Helgason <[email protected]>: > > > > > >> restarted pc and now works > > >> > > >> thx > > >> > > >> 2014-12-25 16:59 GMT+00:00 Björn Helgason <[email protected]>: > > >> > > >>> require 'plot numeric trig graphics/cairo math/misc/trig' > > >>> plotdef 'none';'plot';400 200;'cairo' > > >>> plot 10?10 > > >>> |domain error: cairo_image_surface_create > > >>> | plotcs=: cairo_image_surface_create<"0 CAIRO_FORMAT_ARGB32,y > > >>> > > >>> > > >>> 2014-12-25 16:38 GMT+00:00 Linda Alvord <[email protected]>: > > >>> > > >>>> 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 > > >>> > > >>> > > >>> > > >>> -- > > >>> Björn Helgason, Verkfræðingur > > >>> Fornustekkum II > > >>> 781 Hornafirði, > > >>> t-póst: [email protected] > > >>> gsm: +3546985532 > > >>> twitter: @flugfiskur > > >>> http://groups.google.com/group/J-Programming > > >>> > > >>> > > >>> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari > > einfaldleikans > > >>> > > >>> góður kennari getur stigið á tær án þess að glansinn fari af skónum > > >>> /|_ .-----------------------------------. > > >>> ,' .\ / | Með léttri lund verður | > > >>> ,--' _,' | Dagurinn í dag | > > >>> / / | Enn betri en gærdagurinn | > > >>> ( -. | `-----------------------------------' > > >>> | ) | (\_ _/) > > >>> (`-. '--.) (='.'=) ♖♘♗♕♔♙ > > >>> `. )----' (")_(") ☃☠ > > >> > > >> > > >> > > >> -- > > >> Björn Helgason, Verkfræðingur > > >> Fornustekkum II > > >> 781 Hornafirði, > > >> t-póst: [email protected] > > >> gsm: +3546985532 > > >> twitter: @flugfiskur > > >> http://groups.google.com/group/J-Programming > > >> > > >> > > >> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari > > einfaldleikans > > >> > > >> góður kennari getur stigið á tær án þess að glansinn fari af skónum > > >> /|_ .-----------------------------------. > > >> ,' .\ / | Með léttri lund verður | > > >> ,--' _,' | Dagurinn í dag | > > >> / / | Enn betri en gærdagurinn | > > >> ( -. | `-----------------------------------' > > >> | ) | (\_ _/) > > >> (`-. '--.) (='.'=) ♖♘♗♕♔♙ > > >> `. )----' (")_(") ☃☠ > > > > > > > > > > > > -- > > > Björn Helgason, Verkfræðingur > > > Fornustekkum II > > > 781 Hornafirði, > > > t-póst: [email protected] > > > gsm: +3546985532 > > > twitter: @flugfiskur > > > http://groups.google.com/group/J-Programming > > > > > > > > > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari > einfaldleikans > > > > > > góður kennari getur stigið á tær án þess að glansinn fari af skónum > > > /|_ .-----------------------------------. > > > ,' .\ / | Með léttri lund verður | > > > ,--' _,' | Dagurinn í dag | > > > / / | Enn betri en gærdagurinn | > > > ( -. | `-----------------------------------' > > > | ) | (\_ _/) > > > (`-. '--.) (='.'=) ♖♘♗♕♔♙ > > > `. )----' (")_(") ☃☠ > > > ---------------------------------------------------------------------- > > > 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
