|
Re: Add a Dot on top of a letter [message #50899 is a reply to message #50856] |
Wed, 25 October 2006 06:13   |
jgc
Messages: 10 Registered: July 2006
|
Junior Member |
|
|
> sym = '!6!sM!r!u!9 %!6!n'
> XYOUTS, 0.5, 0.5, /Normal, CharSize=2.0, 'Symbol: ' + sym
>
This looks a bit more "mathematical"
IDL> xx=0.5 & yy=0.5
IDL> XYOUTS, xx,yy, /norm, 'M'
IDL> XYOUTS, xx+.005,yy+.02, /norm, '!M.!X'
then you can work out an automatic calculation of the displacement of
the dot (+.005, +.02) as a function of the character size.
hope it helps,
Javier
|
|
|
|
Re: Add a Dot on top of a letter [message #50921 is a reply to message #50856] |
Mon, 23 October 2006 07:36   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> I'm not so sure even with additional information we
> are going to be able to be that helpful. My own
> experiments have failed miserably. :-(
Unless, of course, you can live with this:
sym = '!6!sM!r!u!9 %!6!n'
XYOUTS, 0.5, 0.5, /Normal, CharSize=2.0, 'Symbol: ' + sym
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.")
|
|
|
|
|
Re: Add a Dot on top of a letter [message #50965 is a reply to message #50899] |
Thu, 26 October 2006 07:26  |
Cancer
Messages: 4 Registered: October 2006
|
Junior Member |
|
|
I prefer David's but thank you all the same.
jgc wrote:
>> sym = '!6!sM!r!u!9 %!6!n'
>> XYOUTS, 0.5, 0.5, /Normal, CharSize=2.0, 'Symbol: ' + sym
>>
>
> This looks a bit more "mathematical"
>
> IDL> xx=0.5 & yy=0.5
> IDL> XYOUTS, xx,yy, /norm, 'M'
> IDL> XYOUTS, xx+.005,yy+.02, /norm, '!M.!X'
>
> then you can work out an automatic calculation of the displacement of
> the dot (+.005, +.02) as a function of the character size.
>
> hope it helps,
>
> Javier
|
|
|
Re: Add a Dot on top of a letter [message #50966 is a reply to message #50921] |
Thu, 26 October 2006 07:25  |
Cancer
Messages: 4 Registered: October 2006
|
Junior Member |
|
|
I think this is good enough. Thank you, David.
David Fanning wrote:
> David Fanning writes:
>
>> I'm not so sure even with additional information we
>> are going to be able to be that helpful. My own
>> experiments have failed miserably. :-(
>
> Unless, of course, you can live with this:
>
> sym = '!6!sM!r!u!9 %!6!n'
> XYOUTS, 0.5, 0.5, /Normal, CharSize=2.0, 'Symbol: ' + sym
>
> 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.")
|
|
|