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

Home » Public Forums » archive » multiple sign in postscript output in direct graphics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: multiple sign in postscript output in direct graphics [message #85733 is a reply to message #85723] Thu, 29 August 2013 10:52 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
Okay, I tracked this down. It looks like if you use hardware/device fonts (!p.font = 0) then IDL automatically replaces any mathematical "x" characters with bullets.

For example:

set_plot,'ps'
!p.font = 0
plot, [0,1], [4.1e-8, 4.2e-8], /ystyle , title='xx!Mx'
device,/close

Why it does this, I have no idea, but it has been that way since at least 1992. If you use Hershey vector or Truetype fonts then you get the correct "x" symbol.

Now, I can go ahead and fix this so that for scientific notation on the axis tick marks it uses the "x" for all fonts. I don't want to fix the other issue with "!Mx" because people might actually be expecting these to be bullet characters.

Is anyone going to freak out if I replace the bullet characters on axis tick labels with "x" characters? Note that this behavior won't affect custom tick labels - only IDL generated labels. If you have custom tick labels that happen to have !Mx characters you will still get bullets, as you (presumably) expect.

-Chris
ExelisVIS
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL Programmer Wanted at Princeton University
Next Topic: Re: IDLWAVE Emacs curio-- focus shifts on error

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

Current Time: Sun Apr 26 18:30:10 PDT 2026

Total time taken to generate the page: 1.44208 seconds