comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Coyote Tex
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Coyote Tex [message #78223] Wed, 02 November 2011 12:44 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Avian writes:

> Oh, sorry for the confusion. The symbol after values and
> before 1-sigma uncertainties. \pm in tex. And
> inversely, also the "-/+" symbol.

OK, I have added the plus-minus symbol, designated as
"+-" in cgSymbol. But the minus-plus symbol does not
exist in the Symbol true-type font distributed with
IDL. Thus, I can only do this symbol in a Hershey font,
but not in a PostScript font. So, I have not implemented
the minus-plus symbol.

The updated program is here:

http://www.idlcoyote.com/programs/cgsymbol.pro

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Coyote Tex [message #78226 is a reply to message #78223] Wed, 02 November 2011 12:21 Go to previous messageGo to next message
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
On Wed, 02 Nov 2011 12:57:42 -0600, David Fanning wrote:

> Avian writes:
>
>> Thanks again David. I didn't see a plus-minus symbol in there. Is
>> there an easy way of getting one that postscript will like without
>> using octal tables?
>
> I've just always used "+" and "-" from the normal font. A Hershey font
> on the display and a hardware or true-type font in PostScript. Do you
> mean some kind of special plus and minus!? I'm not really sure what you
> are looking for here.

I assume he was looking for the "plus/minus" symbol, not the "plus" and
"minus" symbols :-)

That one would be at octal 261 in the symbol font table on the greek
symbol page that you referenced earlier.

Bruce
Re: Coyote Tex [message #78227 is a reply to message #78226] Wed, 02 November 2011 12:13 Go to previous messageGo to next message
Avian is currently offline  Avian
Messages: 24
Registered: October 2011
Junior Member
Oh, sorry for the confusion. The symbol after values and before 1-sigma uncertainties. \pm in tex. And inversely, also the "-/+" symbol.
Re: Coyote Tex [message #78228 is a reply to message #78227] Wed, 02 November 2011 11:57 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Avian writes:

> Thanks again David. I didn't see a plus-minus symbol in there. Is there an easy way of getting one that postscript will like without using octal tables?

I've just always used "+" and "-" from the normal
font. A Hershey font on the display and a hardware or
true-type font in PostScript. Do you mean some kind
of special plus and minus!? I'm not really sure what
you are looking for here.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Coyote Tex [message #78229 is a reply to message #78228] Wed, 02 November 2011 11:51 Go to previous messageGo to next message
Avian is currently offline  Avian
Messages: 24
Registered: October 2011
Junior Member
Thanks again David. I didn't see a plus-minus symbol in there. Is there an easy way of getting one that postscript will like without using octal tables?
Re: Coyote Tex [message #78233 is a reply to message #78229] Wed, 02 November 2011 10:16 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Avian writes:

>
> Thanks so much for the quick reply. I'm trying to get a full symbol list for cgsymbol, and the docs point me to:
>
> http://www.idlcoyote.com/cg_tips/cgsymbol.html
> which doesn't appear to be alive anymore.

Humm. I wonder where that page went. I'll look into this. :-(

> Is there a reference online for all symbols, including
> non-greek symbols?

You can display all the symbols in cgSymbol by doing this:

IDL> void = cgSymbol(/Example)

Or, you can create a PostScript example page like this:

IDL> PS_Start
IDL> void = cgSymbol(/Example)
IDL> PS_End

The old Greek page also has a list of the symbols:

http://www.idlcoyote.com/ps_tips/greeksym.html

The additional cgSymbol symbols are at the end of the page.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Coyote Tex [message #78234 is a reply to message #78233] Wed, 02 November 2011 10:15 Go to previous messageGo to next message
Avian is currently offline  Avian
Messages: 24
Registered: October 2011
Junior Member
Ha! Never mind, chalk that dumb question up to lack of caffeine. Of course, I could just *scroll down* in the code. Facepalm.
Re: Coyote Tex [message #78236 is a reply to message #78234] Wed, 02 November 2011 10:04 Go to previous messageGo to next message
Avian is currently offline  Avian
Messages: 24
Registered: October 2011
Junior Member
David,

Thanks so much for the quick reply. I'm trying to get a full symbol list for cgsymbol, and the docs point me to:

http://www.idlcoyote.com/cg_tips/cgsymbol.html

which doesn't appear to be alive anymore. Is there a reference online for all symbols, including non-greek symbols?
Re: Coyote Tex [message #78237 is a reply to message #78236] Wed, 02 November 2011 09:51 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Avian writes:

> I am completely spoiled by Coyote's graphics. A great package, David!
>
> However, I noticed that when I try and use textoidl() to display tex, it looks fine in the resizeable graphics window, but saves somewhat scrambled in the postscript file. For instance, Greek letters show up as different letters, /pm shows up as a plus.
>
> Is there any way around this?

Yes, see the end of this article:

http://www.idlcoyote.com/cg_tips/kwexpressions.php

This can be made slightly easier by using cgSymbol instead of
TexToIDL, if you can, since cgSymbol can return the PostScript
value by simply setting the PS keyword.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Coyote Tex [message #78406 is a reply to message #78223] Mon, 14 November 2011 08:36 Go to previous message
Avian is currently offline  Avian
Messages: 24
Registered: October 2011
Junior Member
Thanks David!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Java Export Bridge Wrapper save file restore
Next Topic: Re: Contour Function Pattern Broken?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:13 PDT 2025

Total time taken to generate the page: 0.02406 seconds