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

Home » Public Forums » archive » BETTER FONTS
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: BETTER FONTS [message #24264 is a reply to message #24176] Mon, 19 March 2001 07:08 Go to previous messageGo to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
David Fanning wrote:
>
> Liam Gumley (Liam.Gumley@ssec.wisc.edu) writes:
>
>> If you are running IDL 5.4 on a Windows platform, you can use the METAFILE
>> device to create graphical output which looks great in Microsoft
>> applications (such as Word or Powerpoint). For example:
>>
>> entry_device = !d.name
>> set_plot, 'METAFILE'
>> device, filename='test.emf'
>> device, set_font='Helvetica*32'
>> x = findgen(200) * 0.1
>> y = sin(x)
>> plot, x, y, title='Test Plot', xtitle='X-Axis', ytitle='Y-Axis', font=0
>> device, /close_file
>> set_plot, entry_device
>>
>> To import the resulting Windows Enhanced Metafile (test.emf) into Word, use
>> 'Insert/Picture/From File'.
>
> Humm. Using exactly this code, I find the Y axis
> label is not rotated when I import this into
> Microsoft Word. Do you see something else, Liam?
> I'm running on Microsoft products, naturally. :-(

That will teach me a lesson. The example I actually *ran* didn't have a
y-axis label. Note to self: don't post code without testing it.

However if one can live without a y-axis label, the fonts really are
quite nice in METAFILe output.

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: JULDAY 5.4 not same as 5.3?
Next Topic: Re: writeu, printf, readu/f 2 file

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

Current Time: Wed Dec 03 10:51:08 PST 2025

Total time taken to generate the page: 1.03592 seconds