[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BETTER FONTS



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