BETTER FONTS [message #24176] |
Sat, 17 March 2001 20:01  |
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  |
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  |
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  |
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
|
|
|