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 
Switch to threaded view of this topic Create a new topic Submit Reply
BETTER FONTS [message #24176] Sat, 17 March 2001 20:01 Go to next message
Mark Chan is currently offline  Mark Chan
Messages: 24
Registered: November 2000
Junior Member
plot,x,y,title='Some Text Here'

IDL will use a default font for plotting.

The fonts on the plot looks ok (not the best) on the computer screen. But
when the plot (e.g. saved in some format suitable for display) is projected
using a LCD on to a wall sized screen (e.g. 5' by 7'), the fonts doesn't
look too satisfying. The display from programs like PowerPoint, Words or
Excel looks much better with LCD projection.

Any suggestion on how to make IDL fonts comparable to those from PowerPoint
when using a LCD? Which font will produce better result than the default?


Thanks,

Mark
Re: BETTER FONTS [message #24264 is a reply to message #24176] Mon, 19 March 2001 07:08 Go 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
Re: BETTER FONTS [message #24271 is a reply to message #24176] Sun, 18 March 2001 15:54 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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. :-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: BETTER FONTS [message #24272 is a reply to message #24176] Sun, 18 March 2001 14:49 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
"Mark Chan" <chanm@cadvision.com> wrote in message
news:991fa6$4kk$1@news3.cadvision.com...
> plot,x,y,title='Some Text Here'
>
> IDL will use a default font for plotting.
>
> The fonts on the plot looks ok (not the best) on the computer screen. But
> when the plot (e.g. saved in some format suitable for display) is
projected
> using a LCD on to a wall sized screen (e.g. 5' by 7'), the fonts doesn't
> look too satisfying. The display from programs like PowerPoint, Words or
> Excel looks much better with LCD projection.
>
> Any suggestion on how to make IDL fonts comparable to those from
PowerPoint
> when using a LCD? Which font will produce better result than the default?

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'.

Alas, the METAFILE device appears to be available in IDL 5.4 for Windows
only.

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sat Oct 11 14:29:22 PDT 2025

Total time taken to generate the page: 0.40166 seconds