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

Home » Public Forums » archive » Re: fontsize
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: fontsize [message #35126 is a reply to message #35125] Tue, 20 May 2003 20:52 Go to previous messageGo to previous message
tomson is currently offline  tomson
Messages: 39
Registered: March 2003
Member
You are right. But not this one:


pro t00
thisDev = !D.Name
Set_Plot, 'PS'
!P.Multi=[0,5,2]
Device, Set_Font='Helvetica', Font_Size=10, /TT_Font, File = 'test_1.ps'
Plot, findgen(11), Font=1, XTitle='This is a long X title', $
YTitle='This is a much longer Y title'
Device, /Close

Device, Set_Font='Helvetica', Font_Size=10, /TT_Font, File = 'test_2.ps'
!P.Multi=[0,2,2]
Plot, findgen(11), Font=1, XTitle='This is a long X title', $
YTitle='This is a much longer Y title'
Plot, findgen(11), Font=1, XTitle='This is a long X title', $
YTitle='This is a much longer Y title'
Plot, findgen(11), Font=1, XTitle='This is a long X title', $
YTitle='This is a much longer Y title'
Plot, findgen(11), Font=1, XTitle='This is a long X title', $
YTitle='This is a much longer Y title'
Device, /Close

end



"David Fanning" <david@dfanning.com> д����Ϣ����
:MPG.1934a04190e0c297989ba8@news.frii.com...
> Tomson (tom2959@21cn.com) writes:
>
>> I want all texts in figure have absolute size, for example,10pt. I know
I
>> can use device,font_size=10. But when I change some setting, such as
>> !p.multi, sometimes the text change their size. What is the matter?
>
> Uh, probably you are not sure what you are doing. :-)
>
> Here is an experiment. First plot:
>
> thisDev = !D.Name
> Set_Plot, 'PS'
> Device, Set_Font='Helvetica', Font_Size=10, /TT_Font, File = 'test_1.ps'
> Plot, findgen(11), Font=1, XTitle='This is a long X title', $
> YTitle='This is a much longer Y title'
> Device, /Close
> Set_Plot, thisDev
>
> Print that out on your PostScript printer. Then, next plot:
>
> thisDev = !D.Name
> Set_Plot, 'PS'
> Device, Set_Font='Helvetica', Font_Size=10, /TT_Font, File = 'test_2.ps'
> !P.Multi=[0,2,2]
> Plot, findgen(11), Font=1, XTitle='This is a long X title', $
> YTitle='This is a much longer Y title'
> Plot, findgen(11), Font=1, XTitle='This is a long X title', $
> YTitle='This is a much longer Y title'
> Plot, findgen(11), Font=1, XTitle='This is a long X title', $
> YTitle='This is a much longer Y title'
> Plot, findgen(11), Font=1, XTitle='This is a long X title', $
> YTitle='This is a much longer Y title'
> Device, /Close
> !P.Multi=0
> Set_Plot, thisDev
>
> Print that plot out.
>
> I'm going to assert that the text on both plots is identical
> and that it is 10 point helvetica font. :-)
>
> 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
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: start external application?
Next Topic: Collecting spectral signatures

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

Current Time: Wed Oct 08 19:32:47 PDT 2025

Total time taken to generate the page: 0.00481 seconds