Embedded formatting: !M single-symbol tag misbehaving? [message #59281] |
Mon, 17 March 2008 16:30  |
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  |
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?
|
|
|