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

Home » Public Forums » archive » Font sizes/Screen vs. Postcript/Contour dropping lables
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: font size [message #34675 is a reply to message #26102] Mon, 07 April 2003 21:25 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
tomson (tom2959@21cn.com) writes:

> I have a question on how to set font size exactly. For example, I want
> string to be printed at size=8pt. I only know charsize=..., but that's
> relative size. How to set that? For example,
> plot,x,y,...
> xyouts,0.5,0.5,'string',...

I'm not sure the concept of "point size" has much
relevance in the world of computer graphics, but if
you had a good quality PostScript font and a high-
resolution PostScript printer you might expect
reasonable results. I would try something like this:

Device, Set_Font='Bookman', Font_Size=8
Plot, x, y
xyouts, 0.5, 0.5, Font=0, 'string', ....

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: nonuniform FFT
Next Topic: Re: Setting and unsetting the vector font number

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

Current Time: Thu Oct 09 23:54:09 PDT 2025

Total time taken to generate the page: 0.00279 seconds