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

Home » Public Forums » archive » 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
Embedded formatting: !M single-symbol tag misbehaving? [message #59281] Mon, 17 March 2008 16:30 Go to next message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
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.

My setup is below.

Any ideas?

--Edward H.
------------------------------------------------------------ ------------------
IDL 6.3 on Linux
IDL> help,/device
Current graphics device: PS
File: <none>
Mode: Portrait, Encapsulated, EPSI Preview Disabled, Color
Disabled
Output Color Model: RGB
Offset (X,Y): (0,0) cm., (0,0) in.
Size (X,Y): (27.093,13.546) cm., (10.6665,5.33307) in.
Scale Factor: 1
Preview Size (X,Y): (4.51556,4.51556) cm., (1.77778,1.77778) in.
Preview Depth: 8 bits per pixel
Font Size: 12
Font Encoding: FontSpecific
Font: Symbol TrueType Font: <default>
# bits per image pixel: 4
Font Mapping:
(!3) Helvetica (!4) Helvetica-
Bold
(!5) Helvetica-Narrow (!6) Helvetica-Narrow-
BoldOblique
(!7) Times-Roman (!8) Times-
BoldItalic
(!9) Symbol (!10)
ZapfDingbats
(!11) Courier (!12) Courier-
Oblique
(!13) Palatino-Roman (!14) Palatino-
Italic
(!15) Palatino-Bold (!16) Palatino-
BoldItalic
(!17) AvantGarde-Book (!18) NewCenturySchlbk-
Roman
(!19) NewCenturySchlbk-Bold (!20) <Undefined-User-Font>
Re: Embedded formatting: !M single-symbol tag misbehaving? [message #59420 is a reply to message #59281] Tue, 18 March 2008 05:49 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
Ed Hyer wrote:
> 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.
>
> My setup is below.
>
> Any ideas?
>
> --Edward H.
> ------------------------------------------------------------ ------------------
> IDL 6.3 on Linux
> IDL> help,/device
> Current graphics device: PS
> File: <none>
> Mode: Portrait, Encapsulated, EPSI Preview Disabled, Color
> Disabled
> Output Color Model: RGB
> Offset (X,Y): (0,0) cm., (0,0) in.
> Size (X,Y): (27.093,13.546) cm., (10.6665,5.33307) in.
> Scale Factor: 1
> Preview Size (X,Y): (4.51556,4.51556) cm., (1.77778,1.77778) in.
> Preview Depth: 8 bits per pixel
> Font Size: 12
> Font Encoding: FontSpecific
> Font: Symbol TrueType Font: <default>
> # bits per image pixel: 4
> Font Mapping:
> (!3) Helvetica (!4) Helvetica-
> Bold
> (!5) Helvetica-Narrow (!6) Helvetica-Narrow-
> BoldOblique
> (!7) Times-Roman (!8) Times-
> BoldItalic
> (!9) Symbol (!10)
> ZapfDingbats
> (!11) Courier (!12) Courier-
> Oblique
> (!13) Palatino-Roman (!14) Palatino-
> Italic
> (!15) Palatino-Bold (!16) Palatino-
> BoldItalic
> (!17) AvantGarde-Book (!18) NewCenturySchlbk-
> Roman
> (!19) NewCenturySchlbk-Bold (!20) <Undefined-User-Font>

It's been a long time since I used these codes, but have you tried
putting a !X at the end of the xtitle string?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: HDF5 compound data structure
Next Topic: Re: HDF5 compound data structure

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

Current Time: Wed Oct 08 20:04:02 PDT 2025

Total time taken to generate the page: 0.07876 seconds