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

Home » Public Forums » archive » Re: Embedded formatting: !M single-symbol tag misbehaving?
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
Re: Embedded formatting: !M single-symbol tag misbehaving? [message #59279] Mon, 17 March 2008 18:52
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ed Hyer writes:

> Test code:
> sz=[800,400]
> set_plot,'ps'
> device,/inches, xsize=sz[0]/75., ysize=sz[1]/75., $
> xoffset=0., yoffset=0., /portrait, /encapsulated, $
> filename='/users/hyer/science/slides/ps_test.ps'
> loadct,39
> plot,[0,1],[0,1],xtitle='This here: !MD : is
> Greek',font=0,charsize=3
> axis,yaxis=1,ytitle='This here: !MD : is Greek',font=0,charsize=2
> device,/close
>
> When I run this code, in a fresh IDL session,
> everything after the !M tag is in Symbol font,
> including the entire Y axis title.

This is pretty weird. It sure puts the PostScript device
into a funny place. You can "get out of it" by doing
something like this:

device, set_font='helvetica'

But I think the !M is causing the havoc. If you
replace !MD with !9D!X all seems to be well.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: iTools hardware rendering
Next Topic: Writing DICOM-Files

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

Current Time: Fri Oct 10 08:21:59 PDT 2025

Total time taken to generate the page: 0.23941 seconds