Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Embedded fo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 5541 of 6251
Post > Topic >>

Re: Embedded formatting: !M single-symbol tag misbehaving?

by David Fanning <news@[EMAIL PROTECTED] > Mar 17, 2008 at 07:52 PM

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., /****trait, /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/
Se****e ma de ni thui. ("Perhaps thou speakest truth.")
 




 3 Posts in Topic:
Embedded formatting: !M single-symbol tag misbehaving?
Ed Hyer <ejhyer@[EMAIL  2008-03-17 16:30:01 
Re: Embedded formatting: !M single-symbol tag misbehaving?
David Fanning <news@[E  2008-03-17 19:52:02 
Re: Embedded formatting: !M single-symbol tag misbehaving?
Vince Hradil <hradilv@  2008-03-18 05:49:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 12:43:57 CDT 2008.