": converts unicode into character. Otherwise you get an "error in graph
definition"
One can actually even copy the characters into a string:
pd 'ycaption λΛ'


On Mon, Nov 4, 2013 at 3:19 PM, Dan Bron <[email protected]> wrote:

> Christoph von Basum wrote:
> >  pd 'ycaption ',":u:955 923
>
> You don't need the ": here, u: already produces characters.
>
> Also, my preference is for using hex notation to specify unicode code
> points, because that's how they're generally documented and referenced
> (and it makes it easier to google).
>
> So, instead of 955 923, I would say 16b3bb 16b39b .  If you know the
> decimal code points but not the hex (or vice versa), you can use the
> utilities in the 'convert' script to switch between bases.  For example:
>
>    load'convert'
>
>    hfd 955 923  NB.  hfd=Hex From Decimal
> 3BB
> 39B
>
>    '16b',"1 tolower hfd 955 923  NB. J requires lowercase alphanum
> 16b3bb
> 16b39b
>
>    }. ,' 16b',"1 tolower hfd 955 923  NB. Make vector
> 16b3bb 16b39b
>
>    u: 16b3bb 16b39b
> ??
>
> -Dan
>
> ----- Original Message ---------------
>
> Subject: Re: [Jprogramming] Greek characters on plots
>    From: Christoph von Basum <[email protected]>
>    Date: Mon, 4 Nov 2013 14:40:36 +0100
>      To: Programming forum <[email protected]>
>
> pd 'ycaption ',":u:955 923
>
> 955 is small, 923 capital lambda.
>
> Cheers---Christoph
>
>
> On Mon, Nov 4, 2013 at 1:42 PM, Dan Bron <[email protected]> wrote:
>
> > I'm not in front of an interpreter now, so I can't test, by have you
> tried
> > using u: (Unicode)? As in
> >
> > pd 'ycaption ', u:16b03bb
> >
> > -Dan
> >
> > Please,  excuse typos; composed on a handheld device.
> >
> > > On Nov 4, 2013, at 6:43 AM, Piet de Jong <[email protected]> wrote:
> > >
> > > Is there a way to label axes with  "Greek" (or non ascii) characters ?
> > >
> > >   pd 'ycaption lambda'    NB. an example
> > >
> > > I want "lambda" to be an actual Greek lambda.   How to achieve this?
> > > ----------------------------------------------------------------------
> > > 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to