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

Home » Public Forums » archive » Re: Embedded Formatting Commands (looking for an expert)
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: Embedded Formatting Commands (looking for an expert) [message #74034 is a reply to message #74031] Thu, 16 December 2010 09:44 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nata writes:

> I have a problem trying to write the upper part and the lower part of
> the formula together. How can I do it ?
> I know this is embarrassing but any help is appreciated.

I don't have any idea how to something like this. I'd have
to fudge it like this. :-)

SET_PLOT, 'PS'
!P.FONT=0
DEVICE, FILENAME='dummy.ps', XSIZE=10, YSIZE=10
Plots, [0.25, 0.75], [0.5, 0.5], /Normal
str='!9'+STRING("345B)+'!S!A!E!7N-L-1!R!B!IK=0!N ' + $
'(x!Dk!N -!9'+STRING("140B)+$
'!7x)(y!Dk+L!N -!9'+STRING("140B)+'!7y)';+$
XYOUTS, 0.5, 0.5 + (!D.Y_CH_SIZE/0.8)/!D.Y_Size, str, $
/NORMAL, ALIGNMENT=0.5, CHARSIZE=1

str='!9( '+STRING("133B)+STRING("345B)+'!S!A!E' + $
'!7N-1!R!B!IK=0!N(x!Dk!N - !9'+$
STRING("140B)+'!7x)!E2!N!9'+STRING("135B)+STRING("133B)+$
STRING("345B)+$
'!S!A!E!7N-1!R!B!IK=0!N(y!Dk!N - !9'+STRING("140B)+$
'!7y)!E2!N!9'+STRING("135B)+$
' )!E1/2!N'
XYOUTS, 0.5, 0.5 -(!D.Y_CH_SIZE*2.)/!D.Y_Size , str, $
/NORMAL, ALIGNMENT=0.5, CHARSIZE=1
END

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Embedded Formatting Commands (looking for an expert)
Next Topic: LIST performance

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

Current Time: Thu Oct 09 20:35:53 PDT 2025

Total time taken to generate the page: 2.16014 seconds