If it displayed ok on screen but otherwise in pdf output, then I
suspect the reason is the built-in font of pdf cannot display that
lambda.  You can search what fonts are used in that pdf document.  I'm
afraid there is no simple workaround if that is the case.

On Tue, Nov 5, 2013 at 2:19 PM, Piet de Jong <[email protected]> wrote:
> λ displays ok if I do the labelling as suggested and then
>
> pd 'show'
>
> But if I write to a pdf file it comes out with two teeny arrows.
>
> Thanks for your help.
>
>
> On Tue, Nov 5, 2013 at 11:22 AM, bill lam <[email protected]> wrote:
>
>> You meant it cannot display in J session or (pdf,isi,jqt,...) plot
>> output?
>>
>> Вт, 05 ноя 2013, Piet de Jong писал(а):
>> > I must be doing something wrong.
>> >
>> > On my Mac Air I get  funny little arrows rather than λ.
>> > This happens with u: or typing the character in directly into the J verb
>> > Any suggestions?
>> >
>> >
>> > On Tue, Nov 5, 2013 at 4:29 AM, bill lam <[email protected]> wrote:
>> >
>> > > ": is harder to read. utf8 (8&u:) is more readable.
>> > >
>> > > Пн, 04 ноя 2013, Christoph von Basum писал(а):
>> > > > ": 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
>> > >
>> > > --
>> > > 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
>> > >
>> >
>> >
>> >
>> > --
>> > Piet de Jong
>> > --------------------------------------------------
>> > View my current research at
>> > http://ssrn.com/author=619154
>> > --------------------------------------------------
>> > ----------------------------------------------------------------------
>> > 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
>>
>
>
>
> --
> Piet de Jong
> --------------------------------------------------
> View my current research at
> http://ssrn.com/author=619154
> --------------------------------------------------
> ----------------------------------------------------------------------
> 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