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

Home » Public Forums » archive » Re: fonts in coyote graphics: how to replicate supermongo?
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: fonts in coyote graphics: how to replicate supermongo? [message #82441] Mon, 10 December 2012 16:02 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
sdjohnson.mail@gmail.com writes:

> Can I do something similar with ps_start and ps_end? I often don't want to send the plot to the screen.
>
> The font in questions is the default latex font: Computer Modern Roman.

Uh, sure.

PS_Start, TT_FONT="Computer Modern Roman", FONT=1
cgPlot, cgDemodata(1), XTitle='Time', YTitle='Signal'
PS_End

The only requirement is that the font be a true-type
(or OpenType) font and be installed on your machine.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: fonts in coyote graphics: how to replicate supermongo? [message #82442 is a reply to message #82441] Mon, 10 December 2012 15:44 Go to previous messageGo to next message
sdjohnson.mail is currently offline  sdjohnson.mail
Messages: 5
Registered: September 2012
Junior Member
Thanks David!

Can I do something similar with ps_start and ps_end? I often don't want to send the plot to the screen.

The font in questions is the default latex font: Computer Modern Roman.

On Monday, December 10, 2012 3:23:29 PM UTC-6, sdjohns...@gmail.com wrote:
> Hi all,
>
>
>
> I was wondering if it is possible to use routines in Coyote graphics to create postscript output with a font other than the default. In particular, I would really like the text in my plots to have the same font as those of supermongo.
>
>
>
> Does anyone know how to do this?
>
>
>
> Thanks!
>
>
>
> Sean
Re: fonts in coyote graphics: how to replicate supermongo? [message #82443 is a reply to message #82442] Mon, 10 December 2012 14:02 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
sdjohnson.mail@gmail.com writes:

> I was wondering if it is possible to use routines in Coyote graphics to create postscript output with a font other than the default. In particular, I would really like the text in my plots to have the same font as those of supermongo.
>
> Does anyone know how to do this?

What font is that? There is no restriction on which
font you use in your PostScript file when you use
Coyote Graphics routines. Here is how you would make
an output file using the FreeStyle Script font, if you
have it installed on your machine:

cgWindow_SetDefs, PS_TT_FONT='FreeStyle Script', PS_FONT=1
cgPlot, cgDemoData(1), XTitle='Time', YTitle='Signal', /Window
cgControl, Output='freesytle_example.ps'

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: fonts in coyote graphics: how to replicate supermongo? [message #82530 is a reply to message #82441] Mon, 17 December 2012 11:08 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
On 12/10/12 19:02, David Fanning wrote:
> sdjohnson.mail@gmail.com writes:
>
>> Can I do something similar with ps_start and ps_end? I often don't want to send the plot to the screen.
>>
>> The font in questions is the default latex font: Computer Modern Roman.
>
> Uh, sure.
>
> PS_Start, TT_FONT="Computer Modern Roman", FONT=1
> cgPlot, cgDemodata(1), XTitle='Time', YTitle='Signal'
> PS_End

<anal_retentive_mode>

Start -> Finish (or Stop, depending on context)
Begin -> End

</anal_retentive_mode>


Merry Holidays! (see what I mean? :o)


cheers,

paulv
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Running IDL daily as an automatic task
Next Topic: fonts in coyote graphics: how to replicate supermongo?

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

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

Total time taken to generate the page: 0.20105 seconds