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
|